Rutter Open API Spec

{
  "info": {
    "title": "Rutter",
    "version": "2023-03-14",
    "description": "The Universal API for all major e-commerce platforms, accounting systems, and payment processors."
  },
  "openapi": "3.1.0",
  "paths": {
    "/accounting/:entityType": {
      "post": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccessToken/properties/access_token"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateEntityWithCustomFieldsPage"
              },
              "examples": {
                "CreateEntityWithCustomFieldsPage_Example": {
                  "$ref": "#/components/examples/CreateEntityWithCustomFieldsPage_Example"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateEntityWithCustomFieldsPageResponse"
                },
                "examples": {
                  "CreateEntityWithCustomFieldsPageResponse_Example": {
                    "$ref": "#/components/examples/CreateEntityWithCustomFieldsPageResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "NETSUITE"
        ],
        "x-sandbox-supported-platforms": []
      }
    },
    "/accounting/:entityType/custom_fields": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "entityType",
            "in": "path",
            "required": true,
            "description": "The supported entity types for which we can fetch the custom field schema.",
            "schema": {
              "$ref": "#/components/schemas/CustomFieldsPagePathParams/properties/entityType"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/CustomFieldsGetParams/properties/access_token"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/CustomFieldsGetParams/properties/force_fetch"
            }
          },
          {
            "name": "platform_fields",
            "in": "query",
            "required": false,
            "description": "Include fields that are platform defined (or unlocked through a platform defined process) vs. only those that are user defined.",
            "schema": {
              "$ref": "#/components/schemas/CustomFieldsGetParams/properties/platform_fields"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomFieldsPageGenericEntityResponse"
                },
                "examples": {
                  "CustomFieldsPageGenericEntityResponse_Example": {
                    "$ref": "#/components/examples/CustomFieldsPageGenericEntityResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "NETSUITE"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE"
        ]
      }
    },
    "/accounting/accounts": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccountsParams/properties/access_token"
            }
          },
          {
            "name": "account_type",
            "in": "query",
            "required": false,
            "description": "The Rutter account type that you want to filter accounts by. Supported for the following platforms: QUICKBOOKS, NETSUITE, XERO, ZOHOBOOKS, DYNAMICS365, SAGE_INTACCT.",
            "schema": {
              "$ref": "#/components/schemas/AccountsParams/properties/account_type"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The cursor to use for pagination. Use the value of `next_cursor` provided in a previous response.",
            "schema": {
              "$ref": "#/components/schemas/AccountsParams/properties/cursor"
            }
          },
          {
            "name": "expand",
            "in": "query",
            "required": false,
            "description": "Used to request inclusion of optional objects.",
            "schema": {
              "$ref": "#/components/schemas/AccountsParams/properties/expand"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/AccountsParams/properties/force_fetch"
            }
          },
          {
            "name": "last_synced_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum last_synced_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/AccountsParams/properties/last_synced_at_min"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "The number of entities to return. Defaults to 50. Maximum is 500.",
            "schema": {
              "$ref": "#/components/schemas/AccountsParams/properties/limit"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "description": "The field and direction to sort by (`ASC` or `DESC`), e.g. `last_synced_at ASC`. Currently supports the fields: `updated_at`, `last_synced_at`. If a field is provided but `ASC` or `DESC` is not, defaults to `ASC`. If this field is omitted, defaults, to `updated_at DESC`.",
            "schema": {
              "$ref": "#/components/schemas/AccountsParams/properties/sort"
            }
          },
          {
            "name": "updated_at_max",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/AccountsParams/properties/updated_at_max"
            }
          },
          {
            "name": "updated_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/AccountsParams/properties/updated_at_min"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListAccountResponseWithConnection"
                },
                "examples": {
                  "ListAccountResponseWithConnection_Example": {
                    "$ref": "#/components/examples/ListAccountResponseWithConnection_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "DYNAMICS365",
          "EXACTONLINE",
          "FREEAGENT",
          "FRESHBOOKS",
          "KASHFLOW",
          "MONEYBIRD",
          "NETSUITE",
          "QUICKBOOKS",
          "QUICKBOOKS_DESKTOP",
          "SAGE200CLOUD",
          "SAGE_50",
          "SAGE_BUSINESS_CLOUD",
          "SAGE_INTACCT",
          "TALLY",
          "WAVE",
          "XERO",
          "ZOHOBOOKS"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      },
      "post": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccessToken/properties/access_token"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCreateAccountRequest"
              },
              "examples": {
                "CreateCreateAccountRequest_Example": {
                  "$ref": "#/components/examples/CreateCreateAccountRequest_Example"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateAccountResponse"
                },
                "examples": {
                  "CreateAccountResponse_Example": {
                    "$ref": "#/components/examples/CreateAccountResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "DYNAMICS365",
          "EXACTONLINE",
          "NETSUITE",
          "QUICKBOOKS",
          "QUICKBOOKS_DESKTOP",
          "SAGE_INTACCT",
          "XERO",
          "ZOHOBOOKS"
        ],
        "x-sandbox-supported-platforms": []
      }
    },
    "/accounting/accounts/:id": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The unique ID of the object.",
            "schema": {
              "$ref": "#/components/schemas/IdPathParam/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/CommonAccountingGetParams/properties/access_token"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/CommonAccountingGetParams/properties/force_fetch"
            }
          },
          {
            "name": "id_type",
            "in": "query",
            "required": false,
            "description": "Optionally, search for a connection by Rutter ID or platform ID. Defaults to `rutter`. Not supported on QuickBooks Desktop, Sage Intacct, or Dynamics 365.",
            "schema": {
              "$ref": "#/components/schemas/CommonAccountingGetParams/properties/id_type"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountResponseWithConnection"
                },
                "examples": {
                  "AccountResponseWithConnection_Example": {
                    "$ref": "#/components/examples/AccountResponseWithConnection_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "DYNAMICS365",
          "EXACTONLINE",
          "FREEAGENT",
          "FRESHBOOKS",
          "KASHFLOW",
          "MONEYBIRD",
          "NETSUITE",
          "QUICKBOOKS",
          "QUICKBOOKS_DESKTOP",
          "SAGE200CLOUD",
          "SAGE_50",
          "SAGE_BUSINESS_CLOUD",
          "SAGE_INTACCT",
          "TALLY",
          "WAVE",
          "XERO",
          "ZOHOBOOKS"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      },
      "patch": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The Rutter generated unique ID of the object.",
            "schema": {
              "$ref": "#/components/schemas/RutterIdPathParams/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccessToken/properties/access_token"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateUpdateAccountRequest"
              },
              "examples": {
                "CreateUpdateAccountRequest_Example": {
                  "$ref": "#/components/examples/CreateUpdateAccountRequest_Example"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateAccountResponse"
                },
                "examples": {
                  "CreateAccountResponse_Example": {
                    "$ref": "#/components/examples/CreateAccountResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "NETSUITE"
        ],
        "x-sandbox-supported-platforms": []
      }
    },
    "/accounting/ap_aging_report_summaries": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccountingStatementQuery/properties/access_token"
            }
          },
          {
            "name": "end_date",
            "in": "query",
            "required": false,
            "description": "The last date that you will receive a financial statement for.  If you set a start date of Jan 1 2021 and an end date of Jan 1 2022, you will receive the 13 months between those dates, inclusive.",
            "schema": {
              "$ref": "#/components/schemas/AccountingStatementQuery/properties/end_date"
            }
          },
          {
            "name": "expand",
            "in": "query",
            "required": false,
            "description": "Optionally, include raw external platform data when fetching data.",
            "schema": {
              "$ref": "#/components/schemas/AccountingStatementQuery/properties/expand"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/AccountingStatementQuery/properties/force_fetch"
            }
          },
          {
            "name": "start_date",
            "in": "query",
            "required": false,
            "description": "The first date that you will receive a financial statement for.  This means if you set a start date a year ago, you will receive 13 financial statements, one for each month.",
            "schema": {
              "$ref": "#/components/schemas/AccountingStatementQuery/properties/start_date"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APAgingReportSummaryResponseWithConnection"
                },
                "examples": {
                  "APAgingReportSummaryResponseWithConnection_Example": {
                    "$ref": "#/components/examples/APAgingReportSummaryResponseWithConnection_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "QUICKBOOKS",
          "QUICKBOOKS_DESKTOP"
        ],
        "x-sandbox-supported-platforms": [
          "QUICKBOOKS"
        ]
      }
    },
    "/accounting/ar_aging_report_summaries": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccountingStatementQuery/properties/access_token"
            }
          },
          {
            "name": "end_date",
            "in": "query",
            "required": false,
            "description": "The last date that you will receive a financial statement for.  If you set a start date of Jan 1 2021 and an end date of Jan 1 2022, you will receive the 13 months between those dates, inclusive.",
            "schema": {
              "$ref": "#/components/schemas/AccountingStatementQuery/properties/end_date"
            }
          },
          {
            "name": "expand",
            "in": "query",
            "required": false,
            "description": "Optionally, include raw external platform data when fetching data.",
            "schema": {
              "$ref": "#/components/schemas/AccountingStatementQuery/properties/expand"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/AccountingStatementQuery/properties/force_fetch"
            }
          },
          {
            "name": "start_date",
            "in": "query",
            "required": false,
            "description": "The first date that you will receive a financial statement for.  This means if you set a start date a year ago, you will receive 13 financial statements, one for each month.",
            "schema": {
              "$ref": "#/components/schemas/AccountingStatementQuery/properties/start_date"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ARAgingReportSummaryResponseWithConnection"
                },
                "examples": {
                  "ARAgingReportSummaryResponseWithConnection_Example": {
                    "$ref": "#/components/examples/ARAgingReportSummaryResponseWithConnection_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "QUICKBOOKS",
          "QUICKBOOKS_DESKTOP"
        ],
        "x-sandbox-supported-platforms": [
          "QUICKBOOKS"
        ]
      }
    },
    "/accounting/balance_sheets": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccountingStatementQuery/properties/access_token"
            }
          },
          {
            "name": "end_date",
            "in": "query",
            "required": false,
            "description": "The last date that you will receive a financial statement for.  If you set a start date of Jan 1 2021 and an end date of Jan 1 2022, you will receive the 13 months between those dates, inclusive.",
            "schema": {
              "$ref": "#/components/schemas/AccountingStatementQuery/properties/end_date"
            }
          },
          {
            "name": "expand",
            "in": "query",
            "required": false,
            "description": "Optionally, include raw external platform data when fetching data.",
            "schema": {
              "$ref": "#/components/schemas/AccountingStatementQuery/properties/expand"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/AccountingStatementQuery/properties/force_fetch"
            }
          },
          {
            "name": "start_date",
            "in": "query",
            "required": false,
            "description": "The first date that you will receive a financial statement for.  This means if you set a start date a year ago, you will receive 13 financial statements, one for each month.",
            "schema": {
              "$ref": "#/components/schemas/AccountingStatementQuery/properties/start_date"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BalanceSheetResultWithConnection"
                },
                "examples": {
                  "BalanceSheetResultWithConnection_Example": {
                    "$ref": "#/components/examples/BalanceSheetResultWithConnection_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "DYNAMICS365",
          "EXACTONLINE",
          "FREEAGENT",
          "FRESHBOOKS",
          "KASHFLOW",
          "NETSUITE",
          "QUICKBOOKS",
          "QUICKBOOKS_DESKTOP",
          "SAGE_BUSINESS_CLOUD",
          "SAGE_INTACCT",
          "TALLY",
          "WAVE",
          "XERO",
          "ZOHOBOOKS"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      }
    },
    "/accounting/bank_deposits": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/access_token"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The cursor to use for pagination. Use the value of `next_cursor` provided in a previous response.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/cursor"
            }
          },
          {
            "name": "expand",
            "in": "query",
            "required": false,
            "description": "Used to request inclusion of optional objects.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/expand"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/force_fetch"
            }
          },
          {
            "name": "last_synced_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum last_synced_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/last_synced_at_min"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "The number of entities to return. Defaults to 50. Maximum is 500.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/limit"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "description": "The field and direction to sort by (`ASC` or `DESC`), e.g. `last_synced_at ASC`. Currently supports the fields: `updated_at`, `last_synced_at`. If a field is provided but `ASC` or `DESC` is not, defaults to `ASC`. If this field is omitted, defaults, to `updated_at DESC`.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/sort"
            }
          },
          {
            "name": "updated_at_max",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/updated_at_max"
            }
          },
          {
            "name": "updated_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/updated_at_min"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListBankDepositResponseWithConnection"
                },
                "examples": {
                  "ListBankDepositResponseWithConnection_Example": {
                    "$ref": "#/components/examples/ListBankDepositResponseWithConnection_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS",
          "QUICKBOOKS_DESKTOP",
          "XERO"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      },
      "post": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccessToken/properties/access_token"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCreateBankDepositRequest"
              },
              "examples": {
                "CreateCreateBankDepositRequest_Example": {
                  "$ref": "#/components/examples/CreateCreateBankDepositRequest_Example"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateBankDepositResponse"
                },
                "examples": {
                  "CreateBankDepositResponse_Example": {
                    "$ref": "#/components/examples/CreateBankDepositResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS",
          "QUICKBOOKS_DESKTOP",
          "XERO"
        ],
        "x-sandbox-supported-platforms": []
      }
    },
    "/accounting/bank_deposits/:id": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The unique ID of the object.",
            "schema": {
              "$ref": "#/components/schemas/IdPathParam/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/CommonAccountingGetParams/properties/access_token"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/CommonAccountingGetParams/properties/force_fetch"
            }
          },
          {
            "name": "id_type",
            "in": "query",
            "required": false,
            "description": "Optionally, search for a connection by Rutter ID or platform ID. Defaults to `rutter`. Not supported on QuickBooks Desktop, Sage Intacct, or Dynamics 365.",
            "schema": {
              "$ref": "#/components/schemas/CommonAccountingGetParams/properties/id_type"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BankDepositResponseWithConnection"
                },
                "examples": {
                  "BankDepositResponseWithConnection_Example": {
                    "$ref": "#/components/examples/BankDepositResponseWithConnection_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS",
          "QUICKBOOKS_DESKTOP",
          "XERO"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      },
      "patch": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The Rutter generated unique ID of the object.",
            "schema": {
              "$ref": "#/components/schemas/RutterIdPathParams/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccessToken/properties/access_token"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateUpdateBankDepositRequest"
              },
              "examples": {
                "CreateUpdateBankDepositRequest_Example": {
                  "$ref": "#/components/examples/CreateUpdateBankDepositRequest_Example"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateUpdateBankDepositResponseResponse"
                },
                "examples": {
                  "CreateUpdateBankDepositResponseResponse_Example": {
                    "$ref": "#/components/examples/CreateUpdateBankDepositResponseResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ],
        "x-sandbox-supported-platforms": []
      }
    },
    "/accounting/bank_deposits/:id/attachments": {
      "post": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The Rutter generated unique ID of the underlying entity type.",
            "schema": {
              "$ref": "#/components/schemas/PostAttachmentPathParams/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccessToken/properties/access_token"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAttachmentBody"
              },
              "examples": {
                "CreateAttachmentBody_Example": {
                  "$ref": "#/components/examples/CreateAttachmentBody_Example"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostAttachmentResponse"
                },
                "examples": {
                  "PostAttachmentResponse_Example": {
                    "$ref": "#/components/examples/PostAttachmentResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ],
        "x-sandbox-supported-platforms": []
      },
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The Rutter generated unique ID of the Rutter Entity.",
            "schema": {
              "$ref": "#/components/schemas/GetAttachmentsByEntityPathParams/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/CommonGetParams/properties/access_token"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/CommonGetParams/properties/force_fetch"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InvoiceAttachmentsResponse"
                },
                "examples": {
                  "InvoiceAttachmentsResponse_Example": {
                    "$ref": "#/components/examples/InvoiceAttachmentsResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      }
    },
    "/accounting/bank_deposits/:id/attachments/:attachmentId/file": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "attachmentId",
            "in": "path",
            "required": true,
            "description": "The platform unique ID of the attachment.",
            "schema": {
              "$ref": "#/components/schemas/GetAttachmentFilePathParams/properties/attachmentId"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The Rutter generated unique ID of the object.",
            "schema": {
              "$ref": "#/components/schemas/GetAttachmentFilePathParams/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/CommonGetParams/properties/access_token"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/CommonGetParams/properties/force_fetch"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AttachmentFileResponse"
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      }
    },
    "/accounting/bank_deposits/attachments": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/ListAttachmentsParams/properties/access_token"
            }
          },
          {
            "name": "attached_to_id",
            "in": "query",
            "required": false,
            "description": "The ID of the entity that the attachment is attached to.",
            "schema": {
              "$ref": "#/components/schemas/ListAttachmentsParams/properties/attached_to_id"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The cursor to use for pagination. Use the value of `next_cursor` provided in a previous response.",
            "schema": {
              "$ref": "#/components/schemas/ListAttachmentsParams/properties/cursor"
            }
          },
          {
            "name": "expand",
            "in": "query",
            "required": false,
            "description": "Used to request inclusion of optional objects.",
            "schema": {
              "$ref": "#/components/schemas/ListAttachmentsParams/properties/expand"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/ListAttachmentsParams/properties/force_fetch"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "The number of entities to return. Defaults to 50. Maximum is 500.",
            "schema": {
              "$ref": "#/components/schemas/ListAttachmentsParams/properties/limit"
            }
          },
          {
            "name": "updated_at_max",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListAttachmentsParams/properties/updated_at_max"
            }
          },
          {
            "name": "updated_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListAttachmentsParams/properties/updated_at_min"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListAttachmentsResponse"
                },
                "examples": {
                  "ListAttachmentsResponse_Example": {
                    "$ref": "#/components/examples/ListAttachmentsResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      }
    },
    "/accounting/bank_deposits/attachments/:id": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The Rutter generated unique ID of the attachment.",
            "schema": {
              "$ref": "#/components/schemas/GetAttachmentPathParams/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/CommonGetParams/properties/access_token"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/CommonGetParams/properties/force_fetch"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AttachmentResponse"
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      }
    },
    "/accounting/bank_feeds/accounts": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/access_token"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The cursor to use for pagination. Use the value of `next_cursor` provided in a previous response.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/cursor"
            }
          },
          {
            "name": "expand",
            "in": "query",
            "required": false,
            "description": "Used to request inclusion of optional objects.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/expand"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/force_fetch"
            }
          },
          {
            "name": "last_synced_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum last_synced_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/last_synced_at_min"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "The number of entities to return. Defaults to 50. Maximum is 500.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/limit"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "description": "The field and direction to sort by (`ASC` or `DESC`), e.g. `last_synced_at ASC`. Currently supports the fields: `updated_at`, `last_synced_at`. If a field is provided but `ASC` or `DESC` is not, defaults to `ASC`. If this field is omitted, defaults, to `updated_at DESC`.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/sort"
            }
          },
          {
            "name": "updated_at_max",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/updated_at_max"
            }
          },
          {
            "name": "updated_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/updated_at_min"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListBankFeedAccountResponseWithConnection"
                },
                "examples": {
                  "ListBankFeedAccountResponseWithConnection_Example": {
                    "$ref": "#/components/examples/ListBankFeedAccountResponseWithConnection_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "NETSUITE",
          "SAGE_BUSINESS_CLOUD",
          "SAGE_INTACCT"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE"
        ]
      },
      "post": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccessToken/properties/access_token"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCreateBankFeedAccountRequest"
              },
              "examples": {
                "CreateCreateBankFeedAccountRequest_Example": {
                  "$ref": "#/components/examples/CreateCreateBankFeedAccountRequest_Example"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateBankFeedAccountResponse"
                },
                "examples": {
                  "CreateBankFeedAccountResponse_Example": {
                    "$ref": "#/components/examples/CreateBankFeedAccountResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "NETSUITE",
          "SAGE_BUSINESS_CLOUD",
          "SAGE_INTACCT"
        ],
        "x-sandbox-supported-platforms": []
      }
    },
    "/accounting/bank_feeds/accounts/:id": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The unique ID of the object.",
            "schema": {
              "$ref": "#/components/schemas/IdPathParam/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/CommonGetParams/properties/access_token"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/CommonGetParams/properties/force_fetch"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BankFeedAccountResponseWithConnection"
                },
                "examples": {
                  "BankFeedAccountResponseWithConnection_Example": {
                    "$ref": "#/components/examples/BankFeedAccountResponseWithConnection_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "NETSUITE",
          "SAGE_BUSINESS_CLOUD",
          "SAGE_INTACCT"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE"
        ]
      }
    },
    "/accounting/bank_feeds/otp": {
      "post": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccessToken/properties/access_token"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateBankFeedOTP"
              },
              "examples": {
                "CreateBankFeedOTP_Example": {
                  "$ref": "#/components/examples/CreateBankFeedOTP_Example"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BankFeedOTPResponse"
                },
                "examples": {
                  "BankFeedOTPResponse_Example": {
                    "$ref": "#/components/examples/BankFeedOTPResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "QUICKBOOKS",
          "SAGE_BUSINESS_CLOUD",
          "SAGE_INTACCT"
        ],
        "x-sandbox-supported-platforms": []
      }
    },
    "/accounting/bank_feeds/transactions": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/access_token"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The cursor to use for pagination. Use the value of `next_cursor` provided in a previous response.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/cursor"
            }
          },
          {
            "name": "expand",
            "in": "query",
            "required": false,
            "description": "Used to request inclusion of optional objects.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/expand"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/force_fetch"
            }
          },
          {
            "name": "last_synced_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum last_synced_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/last_synced_at_min"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "The number of entities to return. Defaults to 50. Maximum is 500.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/limit"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "description": "The field and direction to sort by (`ASC` or `DESC`), e.g. `last_synced_at ASC`. Currently supports the fields: `updated_at`, `last_synced_at`. If a field is provided but `ASC` or `DESC` is not, defaults to `ASC`. If this field is omitted, defaults, to `updated_at DESC`.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/sort"
            }
          },
          {
            "name": "updated_at_max",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/updated_at_max"
            }
          },
          {
            "name": "updated_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/updated_at_min"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListBankFeedTransactionResponseWithConnection"
                },
                "examples": {
                  "ListBankFeedTransactionResponseWithConnection_Example": {
                    "$ref": "#/components/examples/ListBankFeedTransactionResponseWithConnection_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "NETSUITE",
          "SAGE_BUSINESS_CLOUD",
          "SAGE_INTACCT"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE"
        ]
      },
      "post": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccessToken/properties/access_token"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCreateBankFeedTransactionsRequest"
              },
              "examples": {
                "CreateCreateBankFeedTransactionsRequest_Example": {
                  "$ref": "#/components/examples/CreateCreateBankFeedTransactionsRequest_Example"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListCreateBankFeedTransactionsResponseResponse"
                },
                "examples": {
                  "ListCreateBankFeedTransactionsResponseResponse_Example": {
                    "$ref": "#/components/examples/ListCreateBankFeedTransactionsResponseResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "NETSUITE",
          "SAGE_BUSINESS_CLOUD",
          "SAGE_INTACCT"
        ],
        "x-sandbox-supported-platforms": []
      }
    },
    "/accounting/bank_feeds/transactions/:id": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The unique ID of the object.",
            "schema": {
              "$ref": "#/components/schemas/IdPathParam/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/CommonGetParams/properties/access_token"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/CommonGetParams/properties/force_fetch"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BankFeedTransactionResponseWithConnection"
                },
                "examples": {
                  "BankFeedTransactionResponseWithConnection_Example": {
                    "$ref": "#/components/examples/BankFeedTransactionResponseWithConnection_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "NETSUITE",
          "SAGE_BUSINESS_CLOUD",
          "SAGE_INTACCT"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE"
        ]
      }
    },
    "/accounting/bank_transfers": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/access_token"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The cursor to use for pagination. Use the value of `next_cursor` provided in a previous response.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/cursor"
            }
          },
          {
            "name": "expand",
            "in": "query",
            "required": false,
            "description": "Used to request inclusion of optional objects.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/expand"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/force_fetch"
            }
          },
          {
            "name": "last_synced_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum last_synced_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/last_synced_at_min"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "The number of entities to return. Defaults to 50. Maximum is 500.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/limit"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "description": "The field and direction to sort by (`ASC` or `DESC`), e.g. `last_synced_at ASC`. Currently supports the fields: `updated_at`, `last_synced_at`. If a field is provided but `ASC` or `DESC` is not, defaults to `ASC`. If this field is omitted, defaults, to `updated_at DESC`.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/sort"
            }
          },
          {
            "name": "updated_at_max",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/updated_at_max"
            }
          },
          {
            "name": "updated_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/updated_at_min"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListBankTransferResponseWithConnection"
                },
                "examples": {
                  "ListBankTransferResponseWithConnection_Example": {
                    "$ref": "#/components/examples/ListBankTransferResponseWithConnection_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS",
          "XERO"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      },
      "post": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccessToken/properties/access_token"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCreateBankTransferRequest"
              },
              "examples": {
                "CreateCreateBankTransferRequest_Example": {
                  "$ref": "#/components/examples/CreateCreateBankTransferRequest_Example"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateBankTransferResponse"
                },
                "examples": {
                  "CreateBankTransferResponse_Example": {
                    "$ref": "#/components/examples/CreateBankTransferResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "QUICKBOOKS",
          "XERO"
        ],
        "x-sandbox-supported-platforms": []
      }
    },
    "/accounting/bank_transfers/:id": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The unique ID of the object.",
            "schema": {
              "$ref": "#/components/schemas/IdPathParam/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/CommonAccountingGetParams/properties/access_token"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/CommonAccountingGetParams/properties/force_fetch"
            }
          },
          {
            "name": "id_type",
            "in": "query",
            "required": false,
            "description": "Optionally, search for a connection by Rutter ID or platform ID. Defaults to `rutter`. Not supported on QuickBooks Desktop, Sage Intacct, or Dynamics 365.",
            "schema": {
              "$ref": "#/components/schemas/CommonAccountingGetParams/properties/id_type"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BankTransferResponseWithConnection"
                },
                "examples": {
                  "BankTransferResponseWithConnection_Example": {
                    "$ref": "#/components/examples/BankTransferResponseWithConnection_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS",
          "XERO"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      },
      "patch": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The Rutter generated unique ID of the object.",
            "schema": {
              "$ref": "#/components/schemas/RutterIdPathParams/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccessToken/properties/access_token"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateUpdateBankTransferRequest"
              },
              "examples": {
                "CreateUpdateBankTransferRequest_Example": {
                  "$ref": "#/components/examples/CreateUpdateBankTransferRequest_Example"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateBankTransferResponse"
                },
                "examples": {
                  "CreateBankTransferResponse_Example": {
                    "$ref": "#/components/examples/CreateBankTransferResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "QUICKBOOKS"
        ],
        "x-sandbox-supported-platforms": []
      }
    },
    "/accounting/bill_credit_applications": {
      "post": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccessToken/properties/access_token"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCreateBillCreditApplicationRequest"
              },
              "examples": {
                "CreateCreateBillCreditApplicationRequest_Example": {
                  "$ref": "#/components/examples/CreateCreateBillCreditApplicationRequest_Example"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateBillCreditApplicationResponse"
                },
                "examples": {
                  "CreateBillCreditApplicationResponse_Example": {
                    "$ref": "#/components/examples/CreateBillCreditApplicationResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "FREEAGENT",
          "NETSUITE",
          "QUICKBOOKS",
          "QUICKBOOKS_DESKTOP",
          "SAGE_BUSINESS_CLOUD",
          "XERO"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      }
    },
    "/accounting/bill_credit_memos": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/access_token"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The cursor to use for pagination. Use the value of `next_cursor` provided in a previous response.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/cursor"
            }
          },
          {
            "name": "expand",
            "in": "query",
            "required": false,
            "description": "Used to request inclusion of optional objects.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/expand"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/force_fetch"
            }
          },
          {
            "name": "last_synced_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum last_synced_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/last_synced_at_min"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "The number of entities to return. Defaults to 50. Maximum is 500.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/limit"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "description": "The field and direction to sort by (`ASC` or `DESC`), e.g. `last_synced_at ASC`. Currently supports the fields: `updated_at`, `last_synced_at`. If a field is provided but `ASC` or `DESC` is not, defaults to `ASC`. If this field is omitted, defaults, to `updated_at DESC`.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/sort"
            }
          },
          {
            "name": "updated_at_max",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/updated_at_max"
            }
          },
          {
            "name": "updated_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/updated_at_min"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListBillCreditMemoResponseWithConnection"
                },
                "examples": {
                  "ListBillCreditMemoResponseWithConnection_Example": {
                    "$ref": "#/components/examples/ListBillCreditMemoResponseWithConnection_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "EXACTONLINE",
          "FREEAGENT",
          "KASHFLOW",
          "NETSUITE",
          "QUICKBOOKS",
          "QUICKBOOKS_DESKTOP",
          "SAGE200CLOUD",
          "SAGE_50",
          "SAGE_BUSINESS_CLOUD",
          "SAGE_INTACCT",
          "XERO"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      },
      "post": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccessToken/properties/access_token"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCreateBillCreditMemoRequest"
              },
              "examples": {
                "CreateCreateBillCreditMemoRequest_Example": {
                  "$ref": "#/components/examples/CreateCreateBillCreditMemoRequest_Example"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateBillCreditMemoResponse"
                },
                "examples": {
                  "CreateBillCreditMemoResponse_Example": {
                    "$ref": "#/components/examples/CreateBillCreditMemoResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "EXACTONLINE",
          "FREEAGENT",
          "KASHFLOW",
          "NETSUITE",
          "QUICKBOOKS",
          "QUICKBOOKS_DESKTOP",
          "SAGE200CLOUD",
          "SAGE_50",
          "SAGE_BUSINESS_CLOUD",
          "SAGE_INTACCT",
          "XERO"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      }
    },
    "/accounting/bill_credit_memos/:id": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The Rutter generated unique ID of the object.",
            "schema": {
              "$ref": "#/components/schemas/RutterIdPathParams/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/CommonGetParams/properties/access_token"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/CommonGetParams/properties/force_fetch"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BillCreditMemoResponseWithConnection"
                },
                "examples": {
                  "BillCreditMemoResponseWithConnection_Example": {
                    "$ref": "#/components/examples/BillCreditMemoResponseWithConnection_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "EXACTONLINE",
          "FREEAGENT",
          "KASHFLOW",
          "NETSUITE",
          "QUICKBOOKS",
          "QUICKBOOKS_DESKTOP",
          "SAGE200CLOUD",
          "SAGE_50",
          "SAGE_BUSINESS_CLOUD",
          "SAGE_INTACCT",
          "XERO"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      }
    },
    "/accounting/bill_payments": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/access_token"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The cursor to use for pagination. Use the value of `next_cursor` provided in a previous response.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/cursor"
            }
          },
          {
            "name": "expand",
            "in": "query",
            "required": false,
            "description": "Used to request inclusion of optional objects.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/expand"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/force_fetch"
            }
          },
          {
            "name": "last_synced_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum last_synced_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/last_synced_at_min"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "The number of entities to return. Defaults to 50. Maximum is 500.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/limit"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "description": "The field and direction to sort by (`ASC` or `DESC`), e.g. `last_synced_at ASC`. Currently supports the fields: `updated_at`, `last_synced_at`. If a field is provided but `ASC` or `DESC` is not, defaults to `ASC`. If this field is omitted, defaults, to `updated_at DESC`.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/sort"
            }
          },
          {
            "name": "updated_at_max",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/updated_at_max"
            }
          },
          {
            "name": "updated_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/updated_at_min"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListBillPaymentResponseWithConnection"
                },
                "examples": {
                  "ListBillPaymentResponseWithConnection_Example": {
                    "$ref": "#/components/examples/ListBillPaymentResponseWithConnection_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "DYNAMICS365",
          "EXACTONLINE",
          "FREEAGENT",
          "FRESHBOOKS",
          "KASHFLOW",
          "MONEYBIRD",
          "NETSUITE",
          "QUICKBOOKS",
          "QUICKBOOKS_DESKTOP",
          "SAGE_BUSINESS_CLOUD",
          "SAGE_INTACCT",
          "XERO",
          "ZOHOBOOKS"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      },
      "post": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccessToken/properties/access_token"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCreateBillPaymentRequest"
              },
              "examples": {
                "CreateCreateBillPaymentRequest_Example": {
                  "$ref": "#/components/examples/CreateCreateBillPaymentRequest_Example"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateBillPaymentResponse"
                },
                "examples": {
                  "CreateBillPaymentResponse_Example": {
                    "$ref": "#/components/examples/CreateBillPaymentResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "DYNAMICS365",
          "EXACTONLINE",
          "FREEAGENT",
          "FRESHBOOKS",
          "KASHFLOW",
          "MONEYBIRD",
          "NETSUITE",
          "QUICKBOOKS",
          "QUICKBOOKS_DESKTOP",
          "SAGE_BUSINESS_CLOUD",
          "SAGE_INTACCT",
          "XERO",
          "ZOHOBOOKS"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      }
    },
    "/accounting/bill_payments/:id": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The Rutter generated unique ID of the object.",
            "schema": {
              "$ref": "#/components/schemas/RutterIdPathParams/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/CommonAccountingGetParams/properties/access_token"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/CommonAccountingGetParams/properties/force_fetch"
            }
          },
          {
            "name": "id_type",
            "in": "query",
            "required": false,
            "description": "Optionally, search for a connection by Rutter ID or platform ID. Defaults to `rutter`. Not supported on QuickBooks Desktop, Sage Intacct, or Dynamics 365.",
            "schema": {
              "$ref": "#/components/schemas/CommonAccountingGetParams/properties/id_type"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BillPaymentResponseWithConnection"
                },
                "examples": {
                  "BillPaymentResponseWithConnection_Example": {
                    "$ref": "#/components/examples/BillPaymentResponseWithConnection_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "DYNAMICS365",
          "EXACTONLINE",
          "FREEAGENT",
          "FRESHBOOKS",
          "KASHFLOW",
          "MONEYBIRD",
          "NETSUITE",
          "QUICKBOOKS",
          "QUICKBOOKS_DESKTOP",
          "SAGE_BUSINESS_CLOUD",
          "SAGE_INTACCT",
          "XERO",
          "ZOHOBOOKS"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      },
      "patch": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The Rutter generated unique ID of the object.",
            "schema": {
              "$ref": "#/components/schemas/RutterIdPathParams/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccessToken/properties/access_token"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateUpdateBillPaymentRequest"
              },
              "examples": {
                "CreateUpdateBillPaymentRequest_Example": {
                  "$ref": "#/components/examples/CreateUpdateBillPaymentRequest_Example"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateUpdateBillPaymentResponseResponse"
                },
                "examples": {
                  "CreateUpdateBillPaymentResponseResponse_Example": {
                    "$ref": "#/components/examples/CreateUpdateBillPaymentResponseResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      }
    },
    "/accounting/bills": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/ListBillsParams/properties/access_token"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The cursor to use for pagination. Use the value of `next_cursor` provided in a previous response.",
            "schema": {
              "$ref": "#/components/schemas/ListBillsParams/properties/cursor"
            }
          },
          {
            "name": "document_number",
            "in": "query",
            "required": false,
            "description": "The document number to filter on. Supported for QuickBooks Desktop.",
            "schema": {
              "$ref": "#/components/schemas/ListBillsParams/properties/document_number"
            }
          },
          {
            "name": "expand",
            "in": "query",
            "required": false,
            "description": "Used to request inclusion of optional objects.",
            "schema": {
              "$ref": "#/components/schemas/ListBillsParams/properties/expand"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/ListBillsParams/properties/force_fetch"
            }
          },
          {
            "name": "last_synced_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum last_synced_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListBillsParams/properties/last_synced_at_min"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "The number of entities to return. Defaults to 50. Maximum is 500.",
            "schema": {
              "$ref": "#/components/schemas/ListBillsParams/properties/limit"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "description": "The field and direction to sort by (`ASC` or `DESC`), e.g. `last_synced_at ASC`. Currently supports the fields: `updated_at`, `last_synced_at`. If a field is provided but `ASC` or `DESC` is not, defaults to `ASC`. If this field is omitted, defaults, to `updated_at DESC`.",
            "schema": {
              "$ref": "#/components/schemas/ListBillsParams/properties/sort"
            }
          },
          {
            "name": "updated_at_max",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListBillsParams/properties/updated_at_max"
            }
          },
          {
            "name": "updated_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListBillsParams/properties/updated_at_min"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListBillResponseWithConnection"
                },
                "examples": {
                  "ListBillResponseWithConnection_Example": {
                    "$ref": "#/components/examples/ListBillResponseWithConnection_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "DYNAMICS365",
          "EXACTONLINE",
          "FREEAGENT",
          "FRESHBOOKS",
          "KASHFLOW",
          "MONEYBIRD",
          "NETSUITE",
          "QUICKBOOKS",
          "QUICKBOOKS_DESKTOP",
          "SAGE200CLOUD",
          "SAGE_50",
          "SAGE_BUSINESS_CLOUD",
          "SAGE_INTACCT",
          "XERO",
          "ZOHOBOOKS"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      },
      "post": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccessToken/properties/access_token"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCreateBillRequest"
              },
              "examples": {
                "CreateCreateBillRequest_Example": {
                  "$ref": "#/components/examples/CreateCreateBillRequest_Example"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateBillResponse"
                },
                "examples": {
                  "CreateBillResponse_Example": {
                    "$ref": "#/components/examples/CreateBillResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "DYNAMICS365",
          "EXACTONLINE",
          "FREEAGENT",
          "FRESHBOOKS",
          "KASHFLOW",
          "MONEYBIRD",
          "NETSUITE",
          "QUICKBOOKS",
          "QUICKBOOKS_DESKTOP",
          "SAGE200CLOUD",
          "SAGE_50",
          "SAGE_BUSINESS_CLOUD",
          "SAGE_INTACCT",
          "XERO",
          "ZOHOBOOKS"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      }
    },
    "/accounting/bills/:id": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The Rutter generated unique ID of the object.",
            "schema": {
              "$ref": "#/components/schemas/RutterIdPathParams/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/CommonAccountingGetParams/properties/access_token"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/CommonAccountingGetParams/properties/force_fetch"
            }
          },
          {
            "name": "id_type",
            "in": "query",
            "required": false,
            "description": "Optionally, search for a connection by Rutter ID or platform ID. Defaults to `rutter`. Not supported on QuickBooks Desktop, Sage Intacct, or Dynamics 365.",
            "schema": {
              "$ref": "#/components/schemas/CommonAccountingGetParams/properties/id_type"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BillResponseWithConnection"
                },
                "examples": {
                  "BillResponseWithConnection_Example": {
                    "$ref": "#/components/examples/BillResponseWithConnection_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "DYNAMICS365",
          "EXACTONLINE",
          "FREEAGENT",
          "FRESHBOOKS",
          "KASHFLOW",
          "MONEYBIRD",
          "NETSUITE",
          "QUICKBOOKS",
          "QUICKBOOKS_DESKTOP",
          "SAGE200CLOUD",
          "SAGE_50",
          "SAGE_BUSINESS_CLOUD",
          "SAGE_INTACCT",
          "XERO",
          "ZOHOBOOKS"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      },
      "patch": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The Rutter generated unique ID of the object.",
            "schema": {
              "$ref": "#/components/schemas/RutterIdPathParams/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccessToken/properties/access_token"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateUpdateBillBodyRequest"
              },
              "examples": {
                "CreateUpdateBillBodyRequest_Example": {
                  "$ref": "#/components/examples/CreateUpdateBillBodyRequest_Example"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateUpdateBillResponseResponse"
                },
                "examples": {
                  "CreateUpdateBillResponseResponse_Example": {
                    "$ref": "#/components/examples/CreateUpdateBillResponseResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "DYNAMICS365",
          "EXACTONLINE",
          "KASHFLOW",
          "NETSUITE",
          "QUICKBOOKS",
          "QUICKBOOKS_DESKTOP",
          "SAGE_BUSINESS_CLOUD",
          "SAGE_INTACCT",
          "XERO"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      },
      "delete": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The Rutter generated unique ID of the object.",
            "schema": {
              "$ref": "#/components/schemas/RutterIdPathParams/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccessToken/properties/access_token"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteBill_2023_02_07Response"
                },
                "examples": {
                  "DeleteBill_2023_02_07Response_Example": {
                    "$ref": "#/components/examples/DeleteBill_2023_02_07Response_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS",
          "XERO"
        ],
        "x-sandbox-supported-platforms": []
      }
    },
    "/accounting/bills/:id/attachments": {
      "post": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The Rutter generated unique ID of the underlying entity type.",
            "schema": {
              "$ref": "#/components/schemas/PostAttachmentPathParams/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccessToken/properties/access_token"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAttachmentBody"
              },
              "examples": {
                "CreateAttachmentBody_Example": {
                  "$ref": "#/components/examples/CreateAttachmentBody_Example"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostAttachmentResponse"
                },
                "examples": {
                  "PostAttachmentResponse_Example": {
                    "$ref": "#/components/examples/PostAttachmentResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "DYNAMICS365",
          "NETSUITE",
          "QUICKBOOKS",
          "SAGE_INTACCT",
          "XERO"
        ],
        "x-sandbox-supported-platforms": []
      },
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The Rutter generated unique ID of the Rutter Entity.",
            "schema": {
              "$ref": "#/components/schemas/GetAttachmentsByEntityPathParams/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/CommonGetParams/properties/access_token"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/CommonGetParams/properties/force_fetch"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BillAttachmentsResponse"
                },
                "examples": {
                  "BillAttachmentsResponse_Example": {
                    "$ref": "#/components/examples/BillAttachmentsResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "DYNAMICS365",
          "NETSUITE",
          "QUICKBOOKS",
          "XERO",
          "ZOHOBOOKS"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      }
    },
    "/accounting/bills/:id/attachments/:attachmentId/file": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "attachmentId",
            "in": "path",
            "required": true,
            "description": "The platform unique ID of the attachment.",
            "schema": {
              "$ref": "#/components/schemas/GetAttachmentFilePathParams/properties/attachmentId"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The Rutter generated unique ID of the object.",
            "schema": {
              "$ref": "#/components/schemas/GetAttachmentFilePathParams/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/CommonGetParams/properties/access_token"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/CommonGetParams/properties/force_fetch"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AttachmentFileResponse"
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "DYNAMICS365",
          "NETSUITE",
          "QUICKBOOKS",
          "XERO",
          "ZOHOBOOKS"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      }
    },
    "/accounting/bills/attachments": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/ListAttachmentsParams/properties/access_token"
            }
          },
          {
            "name": "attached_to_id",
            "in": "query",
            "required": false,
            "description": "The ID of the entity that the attachment is attached to.",
            "schema": {
              "$ref": "#/components/schemas/ListAttachmentsParams/properties/attached_to_id"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The cursor to use for pagination. Use the value of `next_cursor` provided in a previous response.",
            "schema": {
              "$ref": "#/components/schemas/ListAttachmentsParams/properties/cursor"
            }
          },
          {
            "name": "expand",
            "in": "query",
            "required": false,
            "description": "Used to request inclusion of optional objects.",
            "schema": {
              "$ref": "#/components/schemas/ListAttachmentsParams/properties/expand"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/ListAttachmentsParams/properties/force_fetch"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "The number of entities to return. Defaults to 50. Maximum is 500.",
            "schema": {
              "$ref": "#/components/schemas/ListAttachmentsParams/properties/limit"
            }
          },
          {
            "name": "updated_at_max",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListAttachmentsParams/properties/updated_at_max"
            }
          },
          {
            "name": "updated_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListAttachmentsParams/properties/updated_at_min"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListAttachmentsResponse"
                },
                "examples": {
                  "ListAttachmentsResponse_Example": {
                    "$ref": "#/components/examples/ListAttachmentsResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "DYNAMICS365",
          "NETSUITE",
          "QUICKBOOKS",
          "SAGE_INTACCT",
          "XERO"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      }
    },
    "/accounting/bills/attachments/:id": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The Rutter generated unique ID of the attachment.",
            "schema": {
              "$ref": "#/components/schemas/GetAttachmentPathParams/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/CommonGetParams/properties/access_token"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/CommonGetParams/properties/force_fetch"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AttachmentResponse"
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "DYNAMICS365",
          "NETSUITE",
          "QUICKBOOKS",
          "SAGE_INTACCT",
          "XERO"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      }
    },
    "/accounting/cash_flow_statements": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccountingStatementQuery/properties/access_token"
            }
          },
          {
            "name": "end_date",
            "in": "query",
            "required": false,
            "description": "The last date that you will receive a financial statement for.  If you set a start date of Jan 1 2021 and an end date of Jan 1 2022, you will receive the 13 months between those dates, inclusive.",
            "schema": {
              "$ref": "#/components/schemas/AccountingStatementQuery/properties/end_date"
            }
          },
          {
            "name": "expand",
            "in": "query",
            "required": false,
            "description": "Optionally, include raw external platform data when fetching data.",
            "schema": {
              "$ref": "#/components/schemas/AccountingStatementQuery/properties/expand"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/AccountingStatementQuery/properties/force_fetch"
            }
          },
          {
            "name": "start_date",
            "in": "query",
            "required": false,
            "description": "The first date that you will receive a financial statement for.  This means if you set a start date a year ago, you will receive 13 financial statements, one for each month.",
            "schema": {
              "$ref": "#/components/schemas/AccountingStatementQuery/properties/start_date"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListCashFlowStatementResponseWithConnection"
                },
                "examples": {
                  "ListCashFlowStatementResponseWithConnection_Example": {
                    "$ref": "#/components/examples/ListCashFlowStatementResponseWithConnection_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "EXACTONLINE",
          "FREEAGENT",
          "FRESHBOOKS",
          "KASHFLOW",
          "NETSUITE",
          "QUICKBOOKS",
          "SAGE_BUSINESS_CLOUD",
          "SAGE_INTACCT",
          "TALLY",
          "WAVE",
          "XERO",
          "ZOHOBOOKS"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      }
    },
    "/accounting/classes": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/access_token"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The cursor to use for pagination. Use the value of `next_cursor` provided in a previous response.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/cursor"
            }
          },
          {
            "name": "expand",
            "in": "query",
            "required": false,
            "description": "Used to request inclusion of optional objects.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/expand"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/force_fetch"
            }
          },
          {
            "name": "last_synced_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum last_synced_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/last_synced_at_min"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "The number of entities to return. Defaults to 50. Maximum is 500.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/limit"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "description": "The field and direction to sort by (`ASC` or `DESC`), e.g. `last_synced_at ASC`. Currently supports the fields: `updated_at`, `last_synced_at`. If a field is provided but `ASC` or `DESC` is not, defaults to `ASC`. If this field is omitted, defaults, to `updated_at DESC`.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/sort"
            }
          },
          {
            "name": "updated_at_max",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/updated_at_max"
            }
          },
          {
            "name": "updated_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/updated_at_min"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListClassResponseWithConnection"
                },
                "examples": {
                  "ListClassResponseWithConnection_Example": {
                    "$ref": "#/components/examples/ListClassResponseWithConnection_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS",
          "QUICKBOOKS_DESKTOP",
          "SAGE_INTACCT",
          "XERO"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      }
    },
    "/accounting/company_info": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/CommonGetParams/properties/access_token"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/CommonGetParams/properties/force_fetch"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CompanyInfo_2023_03_14ResponseWithConnection"
                },
                "examples": {
                  "CompanyInfo_2023_03_14ResponseWithConnection_Example": {
                    "$ref": "#/components/examples/CompanyInfo_2023_03_14ResponseWithConnection_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "DYNAMICS365",
          "FRESHBOOKS",
          "NETSUITE",
          "QUICKBOOKS",
          "QUICKBOOKS_DESKTOP",
          "SAGE_BUSINESS_CLOUD",
          "SAGE_INTACCT",
          "WAVE",
          "XERO",
          "ZOHOBOOKS"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      }
    },
    "/accounting/currencies": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/access_token"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The cursor to use for pagination. Use the value of `next_cursor` provided in a previous response.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/cursor"
            }
          },
          {
            "name": "expand",
            "in": "query",
            "required": false,
            "description": "Used to request inclusion of optional objects.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/expand"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/force_fetch"
            }
          },
          {
            "name": "last_synced_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum last_synced_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/last_synced_at_min"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "The number of entities to return. Defaults to 50. Maximum is 500.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/limit"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "description": "The field and direction to sort by (`ASC` or `DESC`), e.g. `last_synced_at ASC`. Currently supports the fields: `updated_at`, `last_synced_at`. If a field is provided but `ASC` or `DESC` is not, defaults to `ASC`. If this field is omitted, defaults, to `updated_at DESC`.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/sort"
            }
          },
          {
            "name": "updated_at_max",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/updated_at_max"
            }
          },
          {
            "name": "updated_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/updated_at_min"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListCurrencyResponseWithConnection"
                },
                "examples": {
                  "ListCurrencyResponseWithConnection_Example": {
                    "$ref": "#/components/examples/ListCurrencyResponseWithConnection_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "KASHFLOW",
          "NETSUITE",
          "QUICKBOOKS",
          "XERO",
          "ZOHOBOOKS"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      }
    },
    "/accounting/customers": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/CustomersParams/properties/access_token"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The cursor to use for pagination. Use the value of `next_cursor` provided in a previous response.",
            "schema": {
              "$ref": "#/components/schemas/CustomersParams/properties/cursor"
            }
          },
          {
            "name": "customer_name",
            "in": "query",
            "required": false,
            "description": "The exact customer name to filter on. Supported for QuickBooks Desktop.",
            "schema": {
              "$ref": "#/components/schemas/CustomersParams/properties/customer_name"
            }
          },
          {
            "name": "expand",
            "in": "query",
            "required": false,
            "description": "Used to request inclusion of optional objects.",
            "schema": {
              "$ref": "#/components/schemas/CustomersParams/properties/expand"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/CustomersParams/properties/force_fetch"
            }
          },
          {
            "name": "last_synced_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum last_synced_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/CustomersParams/properties/last_synced_at_min"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "The number of entities to return. Defaults to 50. Maximum is 500.",
            "schema": {
              "$ref": "#/components/schemas/CustomersParams/properties/limit"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "description": "The field and direction to sort by (`ASC` or `DESC`), e.g. `last_synced_at ASC`. Currently supports the fields: `updated_at`, `last_synced_at`. If a field is provided but `ASC` or `DESC` is not, defaults to `ASC`. If this field is omitted, defaults, to `updated_at DESC`.",
            "schema": {
              "$ref": "#/components/schemas/CustomersParams/properties/sort"
            }
          },
          {
            "name": "updated_at_max",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/CustomersParams/properties/updated_at_max"
            }
          },
          {
            "name": "updated_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/CustomersParams/properties/updated_at_min"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListAccountingCustomer_2023_02_07ResponseWithConnection"
                },
                "examples": {
                  "ListAccountingCustomer_2023_02_07ResponseWithConnection_Example": {
                    "$ref": "#/components/examples/ListAccountingCustomer_2023_02_07ResponseWithConnection_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "DYNAMICS365",
          "EXACTONLINE",
          "FREEAGENT",
          "FRESHBOOKS",
          "KASHFLOW",
          "MONEYBIRD",
          "NETSUITE",
          "QUICKBOOKS",
          "QUICKBOOKS_DESKTOP",
          "SAGE200CLOUD",
          "SAGE_50",
          "SAGE_BUSINESS_CLOUD",
          "SAGE_INTACCT",
          "WAVE",
          "XERO",
          "ZOHOBOOKS"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      },
      "post": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccessToken/properties/access_token"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCreateAccountingCustomerRequest"
              },
              "examples": {
                "CreateCreateAccountingCustomerRequest_Example": {
                  "$ref": "#/components/examples/CreateCreateAccountingCustomerRequest_Example"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateAccountingCustomer_2023_02_07Response"
                },
                "examples": {
                  "CreateAccountingCustomer_2023_02_07Response_Example": {
                    "$ref": "#/components/examples/CreateAccountingCustomer_2023_02_07Response_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "DYNAMICS365",
          "EXACTONLINE",
          "FREEAGENT",
          "FRESHBOOKS",
          "KASHFLOW",
          "MONEYBIRD",
          "NETSUITE",
          "QUICKBOOKS",
          "QUICKBOOKS_DESKTOP",
          "SAGE200CLOUD",
          "SAGE_50",
          "SAGE_BUSINESS_CLOUD",
          "SAGE_INTACCT",
          "WAVE",
          "XERO",
          "ZOHOBOOKS"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      }
    },
    "/accounting/customers/:id": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The unique ID of the object.",
            "schema": {
              "$ref": "#/components/schemas/IdPathParam/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/CommonAccountingGetParams/properties/access_token"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/CommonAccountingGetParams/properties/force_fetch"
            }
          },
          {
            "name": "id_type",
            "in": "query",
            "required": false,
            "description": "Optionally, search for a connection by Rutter ID or platform ID. Defaults to `rutter`. Not supported on QuickBooks Desktop, Sage Intacct, or Dynamics 365.",
            "schema": {
              "$ref": "#/components/schemas/CommonAccountingGetParams/properties/id_type"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountingCustomer_2023_02_07ResponseWithConnection"
                },
                "examples": {
                  "AccountingCustomer_2023_02_07ResponseWithConnection_Example": {
                    "$ref": "#/components/examples/AccountingCustomer_2023_02_07ResponseWithConnection_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "DYNAMICS365",
          "EXACTONLINE",
          "FREEAGENT",
          "FRESHBOOKS",
          "KASHFLOW",
          "MONEYBIRD",
          "NETSUITE",
          "QUICKBOOKS",
          "QUICKBOOKS_DESKTOP",
          "SAGE200CLOUD",
          "SAGE_50",
          "SAGE_BUSINESS_CLOUD",
          "SAGE_INTACCT",
          "WAVE",
          "XERO",
          "ZOHOBOOKS"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      },
      "patch": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The Rutter generated unique ID of the object.",
            "schema": {
              "$ref": "#/components/schemas/RutterIdPathParams/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccessToken/properties/access_token"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateUpdateAccountingCustomerRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateAccountingCustomer_2023_02_07Response"
                },
                "examples": {
                  "CreateAccountingCustomer_2023_02_07Response_Example": {
                    "$ref": "#/components/examples/CreateAccountingCustomer_2023_02_07Response_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "FRESHBOOKS",
          "QUICKBOOKS",
          "QUICKBOOKS_DESKTOP",
          "SAGE_BUSINESS_CLOUD",
          "XERO"
        ],
        "x-sandbox-supported-platforms": [
          "QUICKBOOKS"
        ]
      }
    },
    "/accounting/departments": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/access_token"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The cursor to use for pagination. Use the value of `next_cursor` provided in a previous response.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/cursor"
            }
          },
          {
            "name": "expand",
            "in": "query",
            "required": false,
            "description": "Used to request inclusion of optional objects.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/expand"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/force_fetch"
            }
          },
          {
            "name": "last_synced_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum last_synced_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/last_synced_at_min"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "The number of entities to return. Defaults to 50. Maximum is 500.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/limit"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "description": "The field and direction to sort by (`ASC` or `DESC`), e.g. `last_synced_at ASC`. Currently supports the fields: `updated_at`, `last_synced_at`. If a field is provided but `ASC` or `DESC` is not, defaults to `ASC`. If this field is omitted, defaults, to `updated_at DESC`.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/sort"
            }
          },
          {
            "name": "updated_at_max",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/updated_at_max"
            }
          },
          {
            "name": "updated_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/updated_at_min"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListDepartmentResponse"
                },
                "examples": {
                  "ListDepartmentResponse_Example": {
                    "$ref": "#/components/examples/ListDepartmentResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS",
          "SAGE_INTACCT"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      }
    },
    "/accounting/expenses": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/ListExpensesPaginationParams/properties/access_token"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The cursor to use for pagination. Use the value of `next_cursor` provided in a previous response.",
            "schema": {
              "$ref": "#/components/schemas/ListExpensesPaginationParams/properties/cursor"
            }
          },
          {
            "name": "expand",
            "in": "query",
            "required": false,
            "description": "Used to request inclusion of optional objects.",
            "schema": {
              "$ref": "#/components/schemas/ListExpensesPaginationParams/properties/expand"
            }
          },
          {
            "name": "expense_type",
            "in": "query",
            "required": false,
            "description": "Filter results on the supplied expense type. Returns only expenses if not provided.",
            "schema": {
              "$ref": "#/components/schemas/ListExpensesPaginationParams/properties/expense_type"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/ListExpensesPaginationParams/properties/force_fetch"
            }
          },
          {
            "name": "last_synced_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum last_synced_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListExpensesPaginationParams/properties/last_synced_at_min"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "The number of entities to return. Defaults to 50. Maximum is 500.",
            "schema": {
              "$ref": "#/components/schemas/ListExpensesPaginationParams/properties/limit"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "description": "The field and direction to sort by (`ASC` or `DESC`), e.g. `last_synced_at ASC`. Currently supports the fields: `updated_at`, `last_synced_at`. If a field is provided but `ASC` or `DESC` is not, defaults to `ASC`. If this field is omitted, defaults, to `updated_at DESC`.",
            "schema": {
              "$ref": "#/components/schemas/ListExpensesPaginationParams/properties/sort"
            }
          },
          {
            "name": "transaction_date_max",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum transaction_date datetime to fetch entities from. Supported for the following platforms: NETSUITE, QUICKBOOKS, XERO, ZOHOBOOKS.",
            "schema": {
              "$ref": "#/components/schemas/ListExpensesPaginationParams/properties/transaction_date_max"
            }
          },
          {
            "name": "transaction_date_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum transaction_date datetime to fetch entities from. Supported for the following platforms: NETSUITE, QUICKBOOKS, XERO, ZOHOBOOKS.",
            "schema": {
              "$ref": "#/components/schemas/ListExpensesPaginationParams/properties/transaction_date_min"
            }
          },
          {
            "name": "updated_at_max",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListExpensesPaginationParams/properties/updated_at_max"
            }
          },
          {
            "name": "updated_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListExpensesPaginationParams/properties/updated_at_min"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListExpenseResponseWithConnection"
                },
                "examples": {
                  "ListExpenseResponseWithConnection_Example": {
                    "$ref": "#/components/examples/ListExpenseResponseWithConnection_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "DYNAMICS365",
          "EXACTONLINE",
          "FREEAGENT",
          "NETSUITE",
          "QUICKBOOKS",
          "QUICKBOOKS_DESKTOP",
          "SAGE_INTACCT",
          "XERO",
          "ZOHOBOOKS"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      },
      "post": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccessToken/properties/access_token"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCreateExpenseRequest"
              },
              "examples": {
                "CreateCreateExpenseRequest_Example": {
                  "$ref": "#/components/examples/CreateCreateExpenseRequest_Example"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateExpenseResponse"
                },
                "examples": {
                  "CreateExpenseResponse_Example": {
                    "$ref": "#/components/examples/CreateExpenseResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "DYNAMICS365",
          "EXACTONLINE",
          "FREEAGENT",
          "NETSUITE",
          "QUICKBOOKS",
          "QUICKBOOKS_DESKTOP",
          "SAGE_INTACCT",
          "XERO",
          "ZOHOBOOKS"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      }
    },
    "/accounting/expenses/:id": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The Rutter generated unique ID of the object.",
            "schema": {
              "$ref": "#/components/schemas/RutterIdPathParams/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/CommonAccountingGetParams/properties/access_token"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/CommonAccountingGetParams/properties/force_fetch"
            }
          },
          {
            "name": "id_type",
            "in": "query",
            "required": false,
            "description": "Optionally, search for a connection by Rutter ID or platform ID. Defaults to `rutter`. Not supported on QuickBooks Desktop, Sage Intacct, or Dynamics 365.",
            "schema": {
              "$ref": "#/components/schemas/CommonAccountingGetParams/properties/id_type"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExpenseResponseWithConnection"
                },
                "examples": {
                  "ExpenseResponseWithConnection_Example": {
                    "$ref": "#/components/examples/ExpenseResponseWithConnection_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "DYNAMICS365",
          "EXACTONLINE",
          "FREEAGENT",
          "NETSUITE",
          "QUICKBOOKS",
          "QUICKBOOKS_DESKTOP",
          "SAGE_INTACCT",
          "XERO",
          "ZOHOBOOKS"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      },
      "patch": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The Rutter generated unique ID of the object.",
            "schema": {
              "$ref": "#/components/schemas/RutterIdPathParams/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccessToken/properties/access_token"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateUpdateExpenseBodyRequest"
              },
              "examples": {
                "CreateUpdateExpenseBodyRequest_Example": {
                  "$ref": "#/components/examples/CreateUpdateExpenseBodyRequest_Example"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateUpdateExpenseResponseResponse"
                },
                "examples": {
                  "CreateUpdateExpenseResponseResponse_Example": {
                    "$ref": "#/components/examples/CreateUpdateExpenseResponseResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      },
      "delete": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The Rutter generated unique ID of the object.",
            "schema": {
              "$ref": "#/components/schemas/RutterIdPathParams/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccessToken/properties/access_token"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteExpense_2023_02_07Response"
                },
                "examples": {
                  "DeleteExpense_2023_02_07Response_Example": {
                    "$ref": "#/components/examples/DeleteExpense_2023_02_07Response_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "QUICKBOOKS",
          "ZOHOBOOKS"
        ],
        "x-sandbox-supported-platforms": []
      }
    },
    "/accounting/expenses/:id/attachments": {
      "post": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The Rutter generated unique ID of the underlying entity type.",
            "schema": {
              "$ref": "#/components/schemas/PostAttachmentPathParams/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccessToken/properties/access_token"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAttachmentBody"
              },
              "examples": {
                "CreateAttachmentBody_Example": {
                  "$ref": "#/components/examples/CreateAttachmentBody_Example"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostAttachmentResponse"
                },
                "examples": {
                  "PostAttachmentResponse_Example": {
                    "$ref": "#/components/examples/PostAttachmentResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "DYNAMICS365",
          "NETSUITE",
          "QUICKBOOKS",
          "SAGE_INTACCT",
          "XERO",
          "ZOHOBOOKS"
        ],
        "x-sandbox-supported-platforms": []
      },
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The Rutter generated unique ID of the Rutter Entity.",
            "schema": {
              "$ref": "#/components/schemas/GetAttachmentsByEntityPathParams/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/CommonGetParams/properties/access_token"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/CommonGetParams/properties/force_fetch"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExpenseAttachmentsResponse"
                },
                "examples": {
                  "ExpenseAttachmentsResponse_Example": {
                    "$ref": "#/components/examples/ExpenseAttachmentsResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS",
          "ZOHOBOOKS"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      }
    },
    "/accounting/expenses/:id/attachments/:attachmentId/file": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "attachmentId",
            "in": "path",
            "required": true,
            "description": "The platform unique ID of the attachment.",
            "schema": {
              "$ref": "#/components/schemas/GetAttachmentFilePathParams/properties/attachmentId"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The Rutter generated unique ID of the object.",
            "schema": {
              "$ref": "#/components/schemas/GetAttachmentFilePathParams/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/CommonGetParams/properties/access_token"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/CommonGetParams/properties/force_fetch"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AttachmentFileResponse"
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS",
          "ZOHOBOOKS"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      }
    },
    "/accounting/expenses/attachments": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/ListAttachmentsParams/properties/access_token"
            }
          },
          {
            "name": "attached_to_id",
            "in": "query",
            "required": false,
            "description": "The ID of the entity that the attachment is attached to.",
            "schema": {
              "$ref": "#/components/schemas/ListAttachmentsParams/properties/attached_to_id"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The cursor to use for pagination. Use the value of `next_cursor` provided in a previous response.",
            "schema": {
              "$ref": "#/components/schemas/ListAttachmentsParams/properties/cursor"
            }
          },
          {
            "name": "expand",
            "in": "query",
            "required": false,
            "description": "Used to request inclusion of optional objects.",
            "schema": {
              "$ref": "#/components/schemas/ListAttachmentsParams/properties/expand"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/ListAttachmentsParams/properties/force_fetch"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "The number of entities to return. Defaults to 50. Maximum is 500.",
            "schema": {
              "$ref": "#/components/schemas/ListAttachmentsParams/properties/limit"
            }
          },
          {
            "name": "updated_at_max",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListAttachmentsParams/properties/updated_at_max"
            }
          },
          {
            "name": "updated_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListAttachmentsParams/properties/updated_at_min"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListAttachmentsResponse"
                },
                "examples": {
                  "ListAttachmentsResponse_Example": {
                    "$ref": "#/components/examples/ListAttachmentsResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "DYNAMICS365",
          "NETSUITE",
          "QUICKBOOKS",
          "SAGE_INTACCT",
          "XERO",
          "ZOHOBOOKS"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      }
    },
    "/accounting/expenses/attachments/:id": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The Rutter generated unique ID of the attachment.",
            "schema": {
              "$ref": "#/components/schemas/GetAttachmentPathParams/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/CommonGetParams/properties/access_token"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/CommonGetParams/properties/force_fetch"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AttachmentResponse"
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "DYNAMICS365",
          "NETSUITE",
          "QUICKBOOKS",
          "SAGE_INTACCT",
          "XERO",
          "ZOHOBOOKS"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      }
    },
    "/accounting/income_statements": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccountingStatementQuery/properties/access_token"
            }
          },
          {
            "name": "end_date",
            "in": "query",
            "required": false,
            "description": "The last date that you will receive a financial statement for.  If you set a start date of Jan 1 2021 and an end date of Jan 1 2022, you will receive the 13 months between those dates, inclusive.",
            "schema": {
              "$ref": "#/components/schemas/AccountingStatementQuery/properties/end_date"
            }
          },
          {
            "name": "expand",
            "in": "query",
            "required": false,
            "description": "Optionally, include raw external platform data when fetching data.",
            "schema": {
              "$ref": "#/components/schemas/AccountingStatementQuery/properties/expand"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/AccountingStatementQuery/properties/force_fetch"
            }
          },
          {
            "name": "start_date",
            "in": "query",
            "required": false,
            "description": "The first date that you will receive a financial statement for.  This means if you set a start date a year ago, you will receive 13 financial statements, one for each month.",
            "schema": {
              "$ref": "#/components/schemas/AccountingStatementQuery/properties/start_date"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListIncomeStatementResponseWithConnection"
                },
                "examples": {
                  "ListIncomeStatementResponseWithConnection_Example": {
                    "$ref": "#/components/examples/ListIncomeStatementResponseWithConnection_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "DYNAMICS365",
          "EXACTONLINE",
          "FREEAGENT",
          "FRESHBOOKS",
          "KASHFLOW",
          "NETSUITE",
          "QUICKBOOKS",
          "QUICKBOOKS_DESKTOP",
          "SAGE_BUSINESS_CLOUD",
          "SAGE_INTACCT",
          "TALLY",
          "WAVE",
          "XERO",
          "ZOHOBOOKS"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      }
    },
    "/accounting/invoice_credit_applications": {
      "post": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccessToken/properties/access_token"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCreateInvoiceCreditApplicationRequest"
              },
              "examples": {
                "CreateCreateInvoiceCreditApplicationRequest_Example": {
                  "$ref": "#/components/examples/CreateCreateInvoiceCreditApplicationRequest_Example"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateInvoiceCreditApplicationResponse"
                },
                "examples": {
                  "CreateInvoiceCreditApplicationResponse_Example": {
                    "$ref": "#/components/examples/CreateInvoiceCreditApplicationResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS",
          "QUICKBOOKS_DESKTOP",
          "SAGE_INTACCT",
          "XERO"
        ],
        "x-sandbox-supported-platforms": []
      }
    },
    "/accounting/invoice_credit_memos": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/access_token"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The cursor to use for pagination. Use the value of `next_cursor` provided in a previous response.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/cursor"
            }
          },
          {
            "name": "expand",
            "in": "query",
            "required": false,
            "description": "Used to request inclusion of optional objects.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/expand"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/force_fetch"
            }
          },
          {
            "name": "last_synced_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum last_synced_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/last_synced_at_min"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "The number of entities to return. Defaults to 50. Maximum is 500.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/limit"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "description": "The field and direction to sort by (`ASC` or `DESC`), e.g. `last_synced_at ASC`. Currently supports the fields: `updated_at`, `last_synced_at`. If a field is provided but `ASC` or `DESC` is not, defaults to `ASC`. If this field is omitted, defaults, to `updated_at DESC`.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/sort"
            }
          },
          {
            "name": "updated_at_max",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/updated_at_max"
            }
          },
          {
            "name": "updated_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/updated_at_min"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListInvoiceCreditMemo_2023_02_07ResponseWithConnection"
                },
                "examples": {
                  "ListInvoiceCreditMemo_2023_02_07ResponseWithConnection_Example": {
                    "$ref": "#/components/examples/ListInvoiceCreditMemo_2023_02_07ResponseWithConnection_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "EXACTONLINE",
          "FREEAGENT",
          "FRESHBOOKS",
          "KASHFLOW",
          "MONEYBIRD",
          "NETSUITE",
          "QUICKBOOKS",
          "QUICKBOOKS_DESKTOP",
          "SAGE_BUSINESS_CLOUD",
          "SAGE_INTACCT",
          "XERO",
          "ZOHOBOOKS"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      },
      "post": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccessToken/properties/access_token"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCreateInvoiceCreditMemoRequest"
              },
              "examples": {
                "CreateCreateInvoiceCreditMemoRequest_Example": {
                  "$ref": "#/components/examples/CreateCreateInvoiceCreditMemoRequest_Example"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateInvoiceCreditMemo_2023_02_07Response"
                },
                "examples": {
                  "CreateInvoiceCreditMemo_2023_02_07Response_Example": {
                    "$ref": "#/components/examples/CreateInvoiceCreditMemo_2023_02_07Response_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "EXACTONLINE",
          "FREEAGENT",
          "FRESHBOOKS",
          "KASHFLOW",
          "MONEYBIRD",
          "NETSUITE",
          "QUICKBOOKS",
          "QUICKBOOKS_DESKTOP",
          "SAGE_BUSINESS_CLOUD",
          "SAGE_INTACCT",
          "XERO",
          "ZOHOBOOKS"
        ],
        "x-sandbox-supported-platforms": []
      }
    },
    "/accounting/invoice_credit_memos/:id": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The unique ID of the object.",
            "schema": {
              "$ref": "#/components/schemas/IdPathParam/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/CommonAccountingGetParams/properties/access_token"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/CommonAccountingGetParams/properties/force_fetch"
            }
          },
          {
            "name": "id_type",
            "in": "query",
            "required": false,
            "description": "Optionally, search for a connection by Rutter ID or platform ID. Defaults to `rutter`. Not supported on QuickBooks Desktop, Sage Intacct, or Dynamics 365.",
            "schema": {
              "$ref": "#/components/schemas/CommonAccountingGetParams/properties/id_type"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InvoiceCreditMemo_2023_02_07ResponseWithConnection"
                },
                "examples": {
                  "InvoiceCreditMemo_2023_02_07ResponseWithConnection_Example": {
                    "$ref": "#/components/examples/InvoiceCreditMemo_2023_02_07ResponseWithConnection_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "EXACTONLINE",
          "FREEAGENT",
          "FRESHBOOKS",
          "KASHFLOW",
          "MONEYBIRD",
          "NETSUITE",
          "QUICKBOOKS",
          "QUICKBOOKS_DESKTOP",
          "SAGE_BUSINESS_CLOUD",
          "SAGE_INTACCT",
          "XERO",
          "ZOHOBOOKS"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      },
      "delete": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The Rutter generated unique ID of the object.",
            "schema": {
              "$ref": "#/components/schemas/RutterIdPathParams/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccessToken/properties/access_token"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateDeleteInvoiceCreditMemo_2023_02_07Response"
                },
                "examples": {
                  "CreateDeleteInvoiceCreditMemo_2023_02_07Response_Example": {
                    "$ref": "#/components/examples/CreateDeleteInvoiceCreditMemo_2023_02_07Response_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "NETSUITE"
        ],
        "x-sandbox-supported-platforms": []
      }
    },
    "/accounting/invoice_payments": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/access_token"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The cursor to use for pagination. Use the value of `next_cursor` provided in a previous response.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/cursor"
            }
          },
          {
            "name": "expand",
            "in": "query",
            "required": false,
            "description": "Used to request inclusion of optional objects.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/expand"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/force_fetch"
            }
          },
          {
            "name": "last_synced_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum last_synced_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/last_synced_at_min"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "The number of entities to return. Defaults to 50. Maximum is 500.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/limit"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "description": "The field and direction to sort by (`ASC` or `DESC`), e.g. `last_synced_at ASC`. Currently supports the fields: `updated_at`, `last_synced_at`. If a field is provided but `ASC` or `DESC` is not, defaults to `ASC`. If this field is omitted, defaults, to `updated_at DESC`.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/sort"
            }
          },
          {
            "name": "updated_at_max",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/updated_at_max"
            }
          },
          {
            "name": "updated_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/updated_at_min"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListInvoicePayment_2023_02_07ResponseWithConnection"
                },
                "examples": {
                  "ListInvoicePayment_2023_02_07ResponseWithConnection_Example": {
                    "$ref": "#/components/examples/ListInvoicePayment_2023_02_07ResponseWithConnection_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "DYNAMICS365",
          "EXACTONLINE",
          "FREEAGENT",
          "FRESHBOOKS",
          "KASHFLOW",
          "MONEYBIRD",
          "NETSUITE",
          "QUICKBOOKS",
          "QUICKBOOKS_DESKTOP",
          "SAGE_BUSINESS_CLOUD",
          "SAGE_INTACCT",
          "WAVE",
          "XERO",
          "ZOHOBOOKS"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      },
      "post": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccessToken/properties/access_token"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCreateInvoicePaymentRequest"
              },
              "examples": {
                "CreateCreateInvoicePaymentRequest_Example": {
                  "$ref": "#/components/examples/CreateCreateInvoicePaymentRequest_Example"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateInvoicePayment_2023_02_07Response"
                },
                "examples": {
                  "CreateInvoicePayment_2023_02_07Response_Example": {
                    "$ref": "#/components/examples/CreateInvoicePayment_2023_02_07Response_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "DYNAMICS365",
          "EXACTONLINE",
          "FREEAGENT",
          "FRESHBOOKS",
          "KASHFLOW",
          "MONEYBIRD",
          "NETSUITE",
          "QUICKBOOKS",
          "QUICKBOOKS_DESKTOP",
          "SAGE_BUSINESS_CLOUD",
          "SAGE_INTACCT",
          "WAVE",
          "XERO",
          "ZOHOBOOKS"
        ],
        "x-sandbox-supported-platforms": []
      }
    },
    "/accounting/invoice_payments/:id": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The unique ID of the object.",
            "schema": {
              "$ref": "#/components/schemas/IdPathParam/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/CommonAccountingGetParams/properties/access_token"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/CommonAccountingGetParams/properties/force_fetch"
            }
          },
          {
            "name": "id_type",
            "in": "query",
            "required": false,
            "description": "Optionally, search for a connection by Rutter ID or platform ID. Defaults to `rutter`. Not supported on QuickBooks Desktop, Sage Intacct, or Dynamics 365.",
            "schema": {
              "$ref": "#/components/schemas/CommonAccountingGetParams/properties/id_type"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InvoicePayment_2023_02_07ResponseWithConnection"
                },
                "examples": {
                  "InvoicePayment_2023_02_07ResponseWithConnection_Example": {
                    "$ref": "#/components/examples/InvoicePayment_2023_02_07ResponseWithConnection_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "DYNAMICS365",
          "EXACTONLINE",
          "FREEAGENT",
          "FRESHBOOKS",
          "KASHFLOW",
          "MONEYBIRD",
          "NETSUITE",
          "QUICKBOOKS",
          "QUICKBOOKS_DESKTOP",
          "SAGE_BUSINESS_CLOUD",
          "SAGE_INTACCT",
          "WAVE",
          "XERO",
          "ZOHOBOOKS"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      },
      "patch": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The Rutter generated unique ID of the object.",
            "schema": {
              "$ref": "#/components/schemas/RutterIdPathParams/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccessToken/properties/access_token"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateUpdateInvoicePaymentRequest"
              },
              "examples": {
                "CreateUpdateInvoicePaymentRequest_Example": {
                  "$ref": "#/components/examples/CreateUpdateInvoicePaymentRequest_Example"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateInvoicePayment_2023_02_07Response"
                },
                "examples": {
                  "CreateInvoicePayment_2023_02_07Response_Example": {
                    "$ref": "#/components/examples/CreateInvoicePayment_2023_02_07Response_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS",
          "QUICKBOOKS_DESKTOP",
          "XERO"
        ],
        "x-sandbox-supported-platforms": []
      },
      "delete": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The Rutter generated unique ID of the object.",
            "schema": {
              "$ref": "#/components/schemas/RutterIdPathParams/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccessToken/properties/access_token"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateDeleteInvoicePayment_2023_02_07Response"
                },
                "examples": {
                  "CreateDeleteInvoicePayment_2023_02_07Response_Example": {
                    "$ref": "#/components/examples/CreateDeleteInvoicePayment_2023_02_07Response_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "QUICKBOOKS_DESKTOP"
        ],
        "x-sandbox-supported-platforms": []
      }
    },
    "/accounting/invoices": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/InvoicesParams/properties/access_token"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The cursor to use for pagination. Use the value of `next_cursor` provided in a previous response.",
            "schema": {
              "$ref": "#/components/schemas/InvoicesParams/properties/cursor"
            }
          },
          {
            "name": "document_number",
            "in": "query",
            "required": false,
            "description": "The document_number to filter on. Supported for QuickBooks Desktop.",
            "schema": {
              "$ref": "#/components/schemas/InvoicesParams/properties/document_number"
            }
          },
          {
            "name": "expand",
            "in": "query",
            "required": false,
            "description": "Used to request inclusion of optional objects.",
            "schema": {
              "$ref": "#/components/schemas/InvoicesParams/properties/expand"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/InvoicesParams/properties/force_fetch"
            }
          },
          {
            "name": "last_synced_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum last_synced_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/InvoicesParams/properties/last_synced_at_min"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "The number of entities to return. Defaults to 50. Maximum is 500.",
            "schema": {
              "$ref": "#/components/schemas/InvoicesParams/properties/limit"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "description": "The field and direction to sort by (`ASC` or `DESC`), e.g. `last_synced_at ASC`. Currently supports the fields: `updated_at`, `last_synced_at`. If a field is provided but `ASC` or `DESC` is not, defaults to `ASC`. If this field is omitted, defaults, to `updated_at DESC`.",
            "schema": {
              "$ref": "#/components/schemas/InvoicesParams/properties/sort"
            }
          },
          {
            "name": "updated_at_max",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/InvoicesParams/properties/updated_at_max"
            }
          },
          {
            "name": "updated_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/InvoicesParams/properties/updated_at_min"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListInvoiceResponseWithConnection"
                },
                "examples": {
                  "ListInvoiceResponseWithConnection_Example": {
                    "$ref": "#/components/examples/ListInvoiceResponseWithConnection_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "DYNAMICS365",
          "EXACTONLINE",
          "FREEAGENT",
          "FRESHBOOKS",
          "KASHFLOW",
          "MONEYBIRD",
          "NETSUITE",
          "QUICKBOOKS",
          "QUICKBOOKS_DESKTOP",
          "SAGE200CLOUD",
          "SAGE_50",
          "SAGE_BUSINESS_CLOUD",
          "SAGE_INTACCT",
          "WAVE",
          "XERO",
          "ZOHOBOOKS"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      },
      "post": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccessToken/properties/access_token"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCreateInvoiceRequest"
              },
              "examples": {
                "CreateCreateInvoiceRequest_Example": {
                  "$ref": "#/components/examples/CreateCreateInvoiceRequest_Example"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateInvoiceResponse"
                },
                "examples": {
                  "CreateInvoiceResponse_Example": {
                    "$ref": "#/components/examples/CreateInvoiceResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "DYNAMICS365",
          "EXACTONLINE",
          "FREEAGENT",
          "FRESHBOOKS",
          "KASHFLOW",
          "MONEYBIRD",
          "NETSUITE",
          "QUICKBOOKS",
          "QUICKBOOKS_DESKTOP",
          "SAGE200CLOUD",
          "SAGE_50",
          "SAGE_BUSINESS_CLOUD",
          "SAGE_INTACCT",
          "WAVE",
          "XERO",
          "ZOHOBOOKS"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      }
    },
    "/accounting/invoices/:id": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The unique ID of the object.",
            "schema": {
              "$ref": "#/components/schemas/IdPathParam/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/CommonAccountingGetParams/properties/access_token"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/CommonAccountingGetParams/properties/force_fetch"
            }
          },
          {
            "name": "id_type",
            "in": "query",
            "required": false,
            "description": "Optionally, search for a connection by Rutter ID or platform ID. Defaults to `rutter`. Not supported on QuickBooks Desktop, Sage Intacct, or Dynamics 365.",
            "schema": {
              "$ref": "#/components/schemas/CommonAccountingGetParams/properties/id_type"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InvoiceResponseWithConnection"
                },
                "examples": {
                  "InvoiceResponseWithConnection_Example": {
                    "$ref": "#/components/examples/InvoiceResponseWithConnection_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "DYNAMICS365",
          "EXACTONLINE",
          "FREEAGENT",
          "FRESHBOOKS",
          "KASHFLOW",
          "MONEYBIRD",
          "NETSUITE",
          "QUICKBOOKS",
          "QUICKBOOKS_DESKTOP",
          "SAGE200CLOUD",
          "SAGE_50",
          "SAGE_BUSINESS_CLOUD",
          "SAGE_INTACCT",
          "WAVE",
          "XERO",
          "ZOHOBOOKS"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      },
      "patch": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The Rutter generated unique ID of the object.",
            "schema": {
              "$ref": "#/components/schemas/RutterIdPathParams/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccessToken/properties/access_token"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateUpdateInvoiceRequest"
              },
              "examples": {
                "CreateUpdateInvoiceRequest_Example": {
                  "$ref": "#/components/examples/CreateUpdateInvoiceRequest_Example"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateInvoiceResponse"
                },
                "examples": {
                  "CreateInvoiceResponse_Example": {
                    "$ref": "#/components/examples/CreateInvoiceResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "FRESHBOOKS",
          "NETSUITE",
          "QUICKBOOKS",
          "QUICKBOOKS_DESKTOP",
          "SAGE_BUSINESS_CLOUD",
          "XERO"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      },
      "delete": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The Rutter generated unique ID of the object.",
            "schema": {
              "$ref": "#/components/schemas/RutterIdPathParams/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccessToken/properties/access_token"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateDeleteInvoice_2023_02_07Response"
                },
                "examples": {
                  "CreateDeleteInvoice_2023_02_07Response_Example": {
                    "$ref": "#/components/examples/CreateDeleteInvoice_2023_02_07Response_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "QUICKBOOKS"
        ],
        "x-sandbox-supported-platforms": []
      }
    },
    "/accounting/invoices/:id/attachments": {
      "post": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The Rutter generated unique ID of the underlying entity type.",
            "schema": {
              "$ref": "#/components/schemas/PostAttachmentPathParams/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccessToken/properties/access_token"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAttachmentBody"
              },
              "examples": {
                "CreateAttachmentBody_Example": {
                  "$ref": "#/components/examples/CreateAttachmentBody_Example"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostAttachmentResponse"
                },
                "examples": {
                  "PostAttachmentResponse_Example": {
                    "$ref": "#/components/examples/PostAttachmentResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS",
          "XERO"
        ],
        "x-sandbox-supported-platforms": []
      },
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The Rutter generated unique ID of the Rutter Entity.",
            "schema": {
              "$ref": "#/components/schemas/GetAttachmentsByEntityPathParams/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/CommonGetParams/properties/access_token"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/CommonGetParams/properties/force_fetch"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InvoiceAttachmentsResponse"
                },
                "examples": {
                  "InvoiceAttachmentsResponse_Example": {
                    "$ref": "#/components/examples/InvoiceAttachmentsResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS",
          "XERO"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      }
    },
    "/accounting/invoices/:id/attachments/:attachmentId/file": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "attachmentId",
            "in": "path",
            "required": true,
            "description": "The platform unique ID of the attachment.",
            "schema": {
              "$ref": "#/components/schemas/GetAttachmentFilePathParams/properties/attachmentId"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The Rutter generated unique ID of the object.",
            "schema": {
              "$ref": "#/components/schemas/GetAttachmentFilePathParams/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/CommonGetParams/properties/access_token"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/CommonGetParams/properties/force_fetch"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AttachmentFileResponse"
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS",
          "XERO"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      }
    },
    "/accounting/invoices/attachments": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/ListAttachmentsParams/properties/access_token"
            }
          },
          {
            "name": "attached_to_id",
            "in": "query",
            "required": false,
            "description": "The ID of the entity that the attachment is attached to.",
            "schema": {
              "$ref": "#/components/schemas/ListAttachmentsParams/properties/attached_to_id"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The cursor to use for pagination. Use the value of `next_cursor` provided in a previous response.",
            "schema": {
              "$ref": "#/components/schemas/ListAttachmentsParams/properties/cursor"
            }
          },
          {
            "name": "expand",
            "in": "query",
            "required": false,
            "description": "Used to request inclusion of optional objects.",
            "schema": {
              "$ref": "#/components/schemas/ListAttachmentsParams/properties/expand"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/ListAttachmentsParams/properties/force_fetch"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "The number of entities to return. Defaults to 50. Maximum is 500.",
            "schema": {
              "$ref": "#/components/schemas/ListAttachmentsParams/properties/limit"
            }
          },
          {
            "name": "updated_at_max",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListAttachmentsParams/properties/updated_at_max"
            }
          },
          {
            "name": "updated_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListAttachmentsParams/properties/updated_at_min"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListAttachmentsResponse"
                },
                "examples": {
                  "ListAttachmentsResponse_Example": {
                    "$ref": "#/components/examples/ListAttachmentsResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS",
          "XERO"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      }
    },
    "/accounting/invoices/attachments/:id": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The Rutter generated unique ID of the attachment.",
            "schema": {
              "$ref": "#/components/schemas/GetAttachmentPathParams/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/CommonGetParams/properties/access_token"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/CommonGetParams/properties/force_fetch"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AttachmentResponse"
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS",
          "XERO"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      }
    },
    "/accounting/items": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/ListItemsParams/properties/access_token"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The cursor to use for pagination. Use the value of `next_cursor` provided in a previous response.",
            "schema": {
              "$ref": "#/components/schemas/ListItemsParams/properties/cursor"
            }
          },
          {
            "name": "expand",
            "in": "query",
            "required": false,
            "description": "Used to request inclusion of optional objects.",
            "schema": {
              "$ref": "#/components/schemas/ListItemsParams/properties/expand"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/ListItemsParams/properties/force_fetch"
            }
          },
          {
            "name": "last_synced_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum last_synced_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListItemsParams/properties/last_synced_at_min"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "The number of entities to return. Defaults to 50. Maximum is 500.",
            "schema": {
              "$ref": "#/components/schemas/ListItemsParams/properties/limit"
            }
          },
          {
            "name": "name",
            "in": "query",
            "required": false,
            "description": "The exact name to filter on. Supported for QuickBooks Desktop.",
            "schema": {
              "$ref": "#/components/schemas/ListItemsParams/properties/name"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "description": "The field and direction to sort by (`ASC` or `DESC`), e.g. `last_synced_at ASC`. Currently supports the fields: `updated_at`, `last_synced_at`. If a field is provided but `ASC` or `DESC` is not, defaults to `ASC`. If this field is omitted, defaults, to `updated_at DESC`.",
            "schema": {
              "$ref": "#/components/schemas/ListItemsParams/properties/sort"
            }
          },
          {
            "name": "updated_at_max",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListItemsParams/properties/updated_at_max"
            }
          },
          {
            "name": "updated_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListItemsParams/properties/updated_at_min"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListAccountingItemResponseWithConnection"
                },
                "examples": {
                  "ListAccountingItemResponseWithConnection_Example": {
                    "$ref": "#/components/examples/ListAccountingItemResponseWithConnection_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "DYNAMICS365",
          "EXACTONLINE",
          "FREEAGENT",
          "FRESHBOOKS",
          "MONEYBIRD",
          "NETSUITE",
          "QUICKBOOKS",
          "QUICKBOOKS_DESKTOP",
          "SAGE_BUSINESS_CLOUD",
          "SAGE_INTACCT",
          "WAVE",
          "XERO",
          "ZOHOBOOKS"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      },
      "post": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccessToken/properties/access_token"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCreateItemRequest"
              },
              "examples": {
                "CreateCreateItemRequest_Example": {
                  "$ref": "#/components/examples/CreateCreateItemRequest_Example"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateAccountingItemResponse"
                },
                "examples": {
                  "CreateAccountingItemResponse_Example": {
                    "$ref": "#/components/examples/CreateAccountingItemResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "QUICKBOOKS",
          "QUICKBOOKS_DESKTOP",
          "SAGE_INTACCT"
        ],
        "x-sandbox-supported-platforms": []
      }
    },
    "/accounting/items/:id": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The unique ID of the object.",
            "schema": {
              "$ref": "#/components/schemas/IdPathParam/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/CommonAccountingGetParams/properties/access_token"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/CommonAccountingGetParams/properties/force_fetch"
            }
          },
          {
            "name": "id_type",
            "in": "query",
            "required": false,
            "description": "Optionally, search for a connection by Rutter ID or platform ID. Defaults to `rutter`. Not supported on QuickBooks Desktop, Sage Intacct, or Dynamics 365.",
            "schema": {
              "$ref": "#/components/schemas/CommonAccountingGetParams/properties/id_type"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountingItemResponseWithConnection"
                },
                "examples": {
                  "AccountingItemResponseWithConnection_Example": {
                    "$ref": "#/components/examples/AccountingItemResponseWithConnection_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "DYNAMICS365",
          "EXACTONLINE",
          "FREEAGENT",
          "FRESHBOOKS",
          "MONEYBIRD",
          "NETSUITE",
          "QUICKBOOKS",
          "QUICKBOOKS_DESKTOP",
          "SAGE_BUSINESS_CLOUD",
          "SAGE_INTACCT",
          "WAVE",
          "XERO",
          "ZOHOBOOKS"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      },
      "patch": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The Rutter generated unique ID of the object.",
            "schema": {
              "$ref": "#/components/schemas/RutterIdPathParams/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccessToken/properties/access_token"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateUpdateItemRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateAccountingItemResponse"
                },
                "examples": {
                  "CreateAccountingItemResponse_Example": {
                    "$ref": "#/components/examples/CreateAccountingItemResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "QUICKBOOKS",
          "QUICKBOOKS_DESKTOP"
        ],
        "x-sandbox-supported-platforms": []
      }
    },
    "/accounting/journal_entries": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/access_token"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The cursor to use for pagination. Use the value of `next_cursor` provided in a previous response.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/cursor"
            }
          },
          {
            "name": "expand",
            "in": "query",
            "required": false,
            "description": "Used to request inclusion of optional objects.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/expand"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/force_fetch"
            }
          },
          {
            "name": "last_synced_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum last_synced_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/last_synced_at_min"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "The number of entities to return. Defaults to 50. Maximum is 500.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/limit"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "description": "The field and direction to sort by (`ASC` or `DESC`), e.g. `last_synced_at ASC`. Currently supports the fields: `updated_at`, `last_synced_at`. If a field is provided but `ASC` or `DESC` is not, defaults to `ASC`. If this field is omitted, defaults, to `updated_at DESC`.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/sort"
            }
          },
          {
            "name": "updated_at_max",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/updated_at_max"
            }
          },
          {
            "name": "updated_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/updated_at_min"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListJournalEntryResponseWithConnection"
                },
                "examples": {
                  "ListJournalEntryResponseWithConnection_Example": {
                    "$ref": "#/components/examples/ListJournalEntryResponseWithConnection_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "EXACTONLINE",
          "FRESHBOOKS",
          "KASHFLOW",
          "NETSUITE",
          "QUICKBOOKS",
          "QUICKBOOKS_DESKTOP",
          "SAGE_BUSINESS_CLOUD",
          "SAGE_INTACCT",
          "XERO"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      },
      "post": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccessToken/properties/access_token"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCreateJournalEntryRequest"
              },
              "examples": {
                "CreateCreateJournalEntryRequest_Example": {
                  "$ref": "#/components/examples/CreateCreateJournalEntryRequest_Example"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateJournalEntryResponse"
                },
                "examples": {
                  "CreateJournalEntryResponse_Example": {
                    "$ref": "#/components/examples/CreateJournalEntryResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "DYNAMICS365",
          "EXACTONLINE",
          "FRESHBOOKS",
          "KASHFLOW",
          "NETSUITE",
          "QUICKBOOKS",
          "QUICKBOOKS_DESKTOP",
          "SAGE_BUSINESS_CLOUD",
          "SAGE_INTACCT",
          "XERO"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      }
    },
    "/accounting/journal_entries/:id": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The Rutter generated unique ID of the object.",
            "schema": {
              "$ref": "#/components/schemas/RutterIdPathParams/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/CommonAccountingGetParams/properties/access_token"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/CommonAccountingGetParams/properties/force_fetch"
            }
          },
          {
            "name": "id_type",
            "in": "query",
            "required": false,
            "description": "Optionally, search for a connection by Rutter ID or platform ID. Defaults to `rutter`. Not supported on QuickBooks Desktop, Sage Intacct, or Dynamics 365.",
            "schema": {
              "$ref": "#/components/schemas/CommonAccountingGetParams/properties/id_type"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JournalEntryResponseWithConnection"
                },
                "examples": {
                  "JournalEntryResponseWithConnection_Example": {
                    "$ref": "#/components/examples/JournalEntryResponseWithConnection_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "EXACTONLINE",
          "FRESHBOOKS",
          "KASHFLOW",
          "NETSUITE",
          "QUICKBOOKS",
          "QUICKBOOKS_DESKTOP",
          "SAGE_BUSINESS_CLOUD",
          "SAGE_INTACCT",
          "XERO"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      }
    },
    "/accounting/journal_entries/:id/attachments": {
      "post": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The Rutter generated unique ID of the underlying entity type.",
            "schema": {
              "$ref": "#/components/schemas/PostAttachmentPathParams/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccessToken/properties/access_token"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAttachmentBody"
              },
              "examples": {
                "CreateAttachmentBody_Example": {
                  "$ref": "#/components/examples/CreateAttachmentBody_Example"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostAttachmentResponse"
                },
                "examples": {
                  "PostAttachmentResponse_Example": {
                    "$ref": "#/components/examples/PostAttachmentResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS",
          "XERO"
        ],
        "x-sandbox-supported-platforms": []
      }
    },
    "/accounting/journal_entries/attachments": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/ListAttachmentsParams/properties/access_token"
            }
          },
          {
            "name": "attached_to_id",
            "in": "query",
            "required": false,
            "description": "The ID of the entity that the attachment is attached to.",
            "schema": {
              "$ref": "#/components/schemas/ListAttachmentsParams/properties/attached_to_id"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The cursor to use for pagination. Use the value of `next_cursor` provided in a previous response.",
            "schema": {
              "$ref": "#/components/schemas/ListAttachmentsParams/properties/cursor"
            }
          },
          {
            "name": "expand",
            "in": "query",
            "required": false,
            "description": "Used to request inclusion of optional objects.",
            "schema": {
              "$ref": "#/components/schemas/ListAttachmentsParams/properties/expand"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/ListAttachmentsParams/properties/force_fetch"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "The number of entities to return. Defaults to 50. Maximum is 500.",
            "schema": {
              "$ref": "#/components/schemas/ListAttachmentsParams/properties/limit"
            }
          },
          {
            "name": "updated_at_max",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListAttachmentsParams/properties/updated_at_max"
            }
          },
          {
            "name": "updated_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListAttachmentsParams/properties/updated_at_min"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListAttachmentsResponse"
                },
                "examples": {
                  "ListAttachmentsResponse_Example": {
                    "$ref": "#/components/examples/ListAttachmentsResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS",
          "XERO"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      }
    },
    "/accounting/journal_entries/attachments/:id": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The Rutter generated unique ID of the attachment.",
            "schema": {
              "$ref": "#/components/schemas/GetAttachmentPathParams/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/CommonGetParams/properties/access_token"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/CommonGetParams/properties/force_fetch"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AttachmentResponse"
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS",
          "XERO"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      }
    },
    "/accounting/locations": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/access_token"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The cursor to use for pagination. Use the value of `next_cursor` provided in a previous response.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/cursor"
            }
          },
          {
            "name": "expand",
            "in": "query",
            "required": false,
            "description": "Used to request inclusion of optional objects.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/expand"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/force_fetch"
            }
          },
          {
            "name": "last_synced_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum last_synced_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/last_synced_at_min"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "The number of entities to return. Defaults to 50. Maximum is 500.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/limit"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "description": "The field and direction to sort by (`ASC` or `DESC`), e.g. `last_synced_at ASC`. Currently supports the fields: `updated_at`, `last_synced_at`. If a field is provided but `ASC` or `DESC` is not, defaults to `ASC`. If this field is omitted, defaults, to `updated_at DESC`.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/sort"
            }
          },
          {
            "name": "updated_at_max",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/updated_at_max"
            }
          },
          {
            "name": "updated_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/updated_at_min"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListLocationResponse"
                },
                "examples": {
                  "ListLocationResponse_Example": {
                    "$ref": "#/components/examples/ListLocationResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "NETSUITE",
          "SAGE_INTACCT"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE"
        ]
      }
    },
    "/accounting/metrics/:metricName": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/CommonGetParams/properties/access_token"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/CommonGetParams/properties/force_fetch"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AggregateMetricResponse"
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS",
          "QUICKBOOKS_DESKTOP",
          "XERO"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      }
    },
    "/accounting/payment_methods": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/access_token"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The cursor to use for pagination. Use the value of `next_cursor` provided in a previous response.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/cursor"
            }
          },
          {
            "name": "expand",
            "in": "query",
            "required": false,
            "description": "Used to request inclusion of optional objects.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/expand"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/force_fetch"
            }
          },
          {
            "name": "last_synced_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum last_synced_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/last_synced_at_min"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "The number of entities to return. Defaults to 50. Maximum is 500.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/limit"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "description": "The field and direction to sort by (`ASC` or `DESC`), e.g. `last_synced_at ASC`. Currently supports the fields: `updated_at`, `last_synced_at`. If a field is provided but `ASC` or `DESC` is not, defaults to `ASC`. If this field is omitted, defaults, to `updated_at DESC`.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/sort"
            }
          },
          {
            "name": "updated_at_max",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/updated_at_max"
            }
          },
          {
            "name": "updated_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/updated_at_min"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListPaymentMethodResponseWithConnection"
                },
                "examples": {
                  "ListPaymentMethodResponseWithConnection_Example": {
                    "$ref": "#/components/examples/ListPaymentMethodResponseWithConnection_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS_DESKTOP"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE"
        ]
      }
    },
    "/accounting/payment_terms": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/access_token"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The cursor to use for pagination. Use the value of `next_cursor` provided in a previous response.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/cursor"
            }
          },
          {
            "name": "expand",
            "in": "query",
            "required": false,
            "description": "Used to request inclusion of optional objects.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/expand"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/force_fetch"
            }
          },
          {
            "name": "last_synced_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum last_synced_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/last_synced_at_min"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "The number of entities to return. Defaults to 50. Maximum is 500.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/limit"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "description": "The field and direction to sort by (`ASC` or `DESC`), e.g. `last_synced_at ASC`. Currently supports the fields: `updated_at`, `last_synced_at`. If a field is provided but `ASC` or `DESC` is not, defaults to `ASC`. If this field is omitted, defaults, to `updated_at DESC`.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/sort"
            }
          },
          {
            "name": "updated_at_max",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/updated_at_max"
            }
          },
          {
            "name": "updated_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/updated_at_min"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListPaymentTermResponseWithConnection"
                },
                "examples": {
                  "ListPaymentTermResponseWithConnection_Example": {
                    "$ref": "#/components/examples/ListPaymentTermResponseWithConnection_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS",
          "QUICKBOOKS_DESKTOP"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      }
    },
    "/accounting/purchase_orders": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/access_token"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The cursor to use for pagination. Use the value of `next_cursor` provided in a previous response.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/cursor"
            }
          },
          {
            "name": "expand",
            "in": "query",
            "required": false,
            "description": "Used to request inclusion of optional objects.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/expand"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/force_fetch"
            }
          },
          {
            "name": "last_synced_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum last_synced_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/last_synced_at_min"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "The number of entities to return. Defaults to 50. Maximum is 500.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/limit"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "description": "The field and direction to sort by (`ASC` or `DESC`), e.g. `last_synced_at ASC`. Currently supports the fields: `updated_at`, `last_synced_at`. If a field is provided but `ASC` or `DESC` is not, defaults to `ASC`. If this field is omitted, defaults, to `updated_at DESC`.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/sort"
            }
          },
          {
            "name": "updated_at_max",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/updated_at_max"
            }
          },
          {
            "name": "updated_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/updated_at_min"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListPurchaseOrder_2023_03_14ResponseWithConnection"
                },
                "examples": {
                  "ListPurchaseOrder_2023_03_14ResponseWithConnection_Example": {
                    "$ref": "#/components/examples/ListPurchaseOrder_2023_03_14ResponseWithConnection_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS",
          "XERO"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      },
      "post": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccessToken/properties/access_token"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCreatePurchaseOrderRequest"
              },
              "examples": {
                "CreateCreatePurchaseOrderRequest_Example": {
                  "$ref": "#/components/examples/CreateCreatePurchaseOrderRequest_Example"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreatePurchaseOrderResponse"
                },
                "examples": {
                  "CreatePurchaseOrderResponse_Example": {
                    "$ref": "#/components/examples/CreatePurchaseOrderResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "NETSUITE"
        ],
        "x-sandbox-supported-platforms": []
      }
    },
    "/accounting/purchase_orders/:id": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The unique ID of the object.",
            "schema": {
              "$ref": "#/components/schemas/IdPathParam/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/CommonGetParams/properties/access_token"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/CommonGetParams/properties/force_fetch"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrder_2023_03_14ResponseWithConnection"
                },
                "examples": {
                  "PurchaseOrder_2023_03_14ResponseWithConnection_Example": {
                    "$ref": "#/components/examples/PurchaseOrder_2023_03_14ResponseWithConnection_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS",
          "XERO"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      }
    },
    "/accounting/reports": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/ReportQuery/properties/access_token"
            }
          },
          {
            "name": "filter",
            "in": "query",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/ReportQuery/properties/filter"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/ReportQuery/properties/force_fetch"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FinancialReport"
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "DYNAMICS365",
          "EXACTONLINE",
          "FREEAGENT",
          "FRESHBOOKS",
          "KASHFLOW",
          "NETSUITE",
          "QUICKBOOKS",
          "QUICKBOOKS_DESKTOP",
          "SAGE_BUSINESS_CLOUD",
          "SAGE_INTACCT",
          "TALLY",
          "WAVE",
          "XERO",
          "ZOHOBOOKS"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      }
    },
    "/accounting/sales_orders": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/access_token"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The cursor to use for pagination. Use the value of `next_cursor` provided in a previous response.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/cursor"
            }
          },
          {
            "name": "expand",
            "in": "query",
            "required": false,
            "description": "Used to request inclusion of optional objects.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/expand"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/force_fetch"
            }
          },
          {
            "name": "last_synced_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum last_synced_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/last_synced_at_min"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "The number of entities to return. Defaults to 50. Maximum is 500.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/limit"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "description": "The field and direction to sort by (`ASC` or `DESC`), e.g. `last_synced_at ASC`. Currently supports the fields: `updated_at`, `last_synced_at`. If a field is provided but `ASC` or `DESC` is not, defaults to `ASC`. If this field is omitted, defaults, to `updated_at DESC`.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/sort"
            }
          },
          {
            "name": "updated_at_max",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/updated_at_max"
            }
          },
          {
            "name": "updated_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/updated_at_min"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSalesOrderResponseWithConnection"
                },
                "examples": {
                  "ListSalesOrderResponseWithConnection_Example": {
                    "$ref": "#/components/examples/ListSalesOrderResponseWithConnection_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      },
      "post": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccessToken/properties/access_token"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCreateSalesOrderRequest"
              },
              "examples": {
                "CreateCreateSalesOrderRequest_Example": {
                  "$ref": "#/components/examples/CreateCreateSalesOrderRequest_Example"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateSalesOrderResponse"
                },
                "examples": {
                  "CreateSalesOrderResponse_Example": {
                    "$ref": "#/components/examples/CreateSalesOrderResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ],
        "x-sandbox-supported-platforms": []
      }
    },
    "/accounting/sales_orders/:id": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The unique ID of the object.",
            "schema": {
              "$ref": "#/components/schemas/IdPathParam/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/CommonAccountingGetParams/properties/access_token"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/CommonAccountingGetParams/properties/force_fetch"
            }
          },
          {
            "name": "id_type",
            "in": "query",
            "required": false,
            "description": "Optionally, search for a connection by Rutter ID or platform ID. Defaults to `rutter`. Not supported on QuickBooks Desktop, Sage Intacct, or Dynamics 365.",
            "schema": {
              "$ref": "#/components/schemas/CommonAccountingGetParams/properties/id_type"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SalesOrderResponseWithConnection"
                },
                "examples": {
                  "SalesOrderResponseWithConnection_Example": {
                    "$ref": "#/components/examples/SalesOrderResponseWithConnection_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      },
      "patch": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The Rutter generated unique ID of the object.",
            "schema": {
              "$ref": "#/components/schemas/RutterIdPathParams/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccessToken/properties/access_token"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateUpdateSalesOrderRequest"
              },
              "examples": {
                "CreateUpdateSalesOrderRequest_Example": {
                  "$ref": "#/components/examples/CreateUpdateSalesOrderRequest_Example"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateSalesOrderResponse"
                },
                "examples": {
                  "CreateSalesOrderResponse_Example": {
                    "$ref": "#/components/examples/CreateSalesOrderResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "QUICKBOOKS"
        ],
        "x-sandbox-supported-platforms": []
      }
    },
    "/accounting/subsidiaries": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/access_token"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The cursor to use for pagination. Use the value of `next_cursor` provided in a previous response.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/cursor"
            }
          },
          {
            "name": "expand",
            "in": "query",
            "required": false,
            "description": "Used to request inclusion of optional objects.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/expand"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/force_fetch"
            }
          },
          {
            "name": "last_synced_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum last_synced_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/last_synced_at_min"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "The number of entities to return. Defaults to 50. Maximum is 500.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/limit"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "description": "The field and direction to sort by (`ASC` or `DESC`), e.g. `last_synced_at ASC`. Currently supports the fields: `updated_at`, `last_synced_at`. If a field is provided but `ASC` or `DESC` is not, defaults to `ASC`. If this field is omitted, defaults, to `updated_at DESC`.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/sort"
            }
          },
          {
            "name": "updated_at_max",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/updated_at_max"
            }
          },
          {
            "name": "updated_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/updated_at_min"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSubsidiaryResponseWithConnection"
                },
                "examples": {
                  "ListSubsidiaryResponseWithConnection_Example": {
                    "$ref": "#/components/examples/ListSubsidiaryResponseWithConnection_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "NETSUITE"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE"
        ]
      }
    },
    "/accounting/subsidiaries/:id": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The unique ID of the object.",
            "schema": {
              "$ref": "#/components/schemas/IdPathParam/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/CommonAccountingGetParams/properties/access_token"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/CommonAccountingGetParams/properties/force_fetch"
            }
          },
          {
            "name": "id_type",
            "in": "query",
            "required": false,
            "description": "Optionally, search for a connection by Rutter ID or platform ID. Defaults to `rutter`. Not supported on QuickBooks Desktop, Sage Intacct, or Dynamics 365.",
            "schema": {
              "$ref": "#/components/schemas/CommonAccountingGetParams/properties/id_type"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubsidiaryResponseWithConnection"
                },
                "examples": {
                  "SubsidiaryResponseWithConnection_Example": {
                    "$ref": "#/components/examples/SubsidiaryResponseWithConnection_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "NETSUITE"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE"
        ]
      }
    },
    "/accounting/tax_rates": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/access_token"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The cursor to use for pagination. Use the value of `next_cursor` provided in a previous response.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/cursor"
            }
          },
          {
            "name": "expand",
            "in": "query",
            "required": false,
            "description": "Used to request inclusion of optional objects.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/expand"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/force_fetch"
            }
          },
          {
            "name": "last_synced_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum last_synced_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/last_synced_at_min"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "The number of entities to return. Defaults to 50. Maximum is 500.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/limit"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "description": "The field and direction to sort by (`ASC` or `DESC`), e.g. `last_synced_at ASC`. Currently supports the fields: `updated_at`, `last_synced_at`. If a field is provided but `ASC` or `DESC` is not, defaults to `ASC`. If this field is omitted, defaults, to `updated_at DESC`.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/sort"
            }
          },
          {
            "name": "updated_at_max",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/updated_at_max"
            }
          },
          {
            "name": "updated_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/updated_at_min"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListTaxRate_2023_02_07ResponseWithConnection"
                },
                "examples": {
                  "ListTaxRate_2023_02_07ResponseWithConnection_Example": {
                    "$ref": "#/components/examples/ListTaxRate_2023_02_07ResponseWithConnection_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "DYNAMICS365",
          "EXACTONLINE",
          "FREEAGENT",
          "MONEYBIRD",
          "NETSUITE",
          "QUICKBOOKS",
          "QUICKBOOKS_DESKTOP",
          "SAGE_BUSINESS_CLOUD",
          "SAGE_INTACCT",
          "XERO",
          "ZOHOBOOKS"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      }
    },
    "/accounting/tax_rates/:id": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The unique ID of the object.",
            "schema": {
              "$ref": "#/components/schemas/IdPathParam/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/CommonAccountingGetParams/properties/access_token"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/CommonAccountingGetParams/properties/force_fetch"
            }
          },
          {
            "name": "id_type",
            "in": "query",
            "required": false,
            "description": "Optionally, search for a connection by Rutter ID or platform ID. Defaults to `rutter`. Not supported on QuickBooks Desktop, Sage Intacct, or Dynamics 365.",
            "schema": {
              "$ref": "#/components/schemas/CommonAccountingGetParams/properties/id_type"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TaxRate_2023_02_07ResponseWithConnection"
                },
                "examples": {
                  "TaxRate_2023_02_07ResponseWithConnection_Example": {
                    "$ref": "#/components/examples/TaxRate_2023_02_07ResponseWithConnection_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "DYNAMICS365",
          "EXACTONLINE",
          "FREEAGENT",
          "MONEYBIRD",
          "NETSUITE",
          "QUICKBOOKS",
          "QUICKBOOKS_DESKTOP",
          "SAGE_BUSINESS_CLOUD",
          "SAGE_INTACCT",
          "XERO",
          "ZOHOBOOKS"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      }
    },
    "/accounting/vendors": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/VendorsParams/properties/access_token"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The cursor to use for pagination. Use the value of `next_cursor` provided in a previous response.",
            "schema": {
              "$ref": "#/components/schemas/VendorsParams/properties/cursor"
            }
          },
          {
            "name": "expand",
            "in": "query",
            "required": false,
            "description": "Used to request inclusion of optional objects.",
            "schema": {
              "$ref": "#/components/schemas/VendorsParams/properties/expand"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/VendorsParams/properties/force_fetch"
            }
          },
          {
            "name": "last_synced_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum last_synced_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/VendorsParams/properties/last_synced_at_min"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "The number of entities to return. Defaults to 50. Maximum is 500.",
            "schema": {
              "$ref": "#/components/schemas/VendorsParams/properties/limit"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "description": "The field and direction to sort by (`ASC` or `DESC`), e.g. `last_synced_at ASC`. Currently supports the fields: `updated_at`, `last_synced_at`. If a field is provided but `ASC` or `DESC` is not, defaults to `ASC`. If this field is omitted, defaults, to `updated_at DESC`.",
            "schema": {
              "$ref": "#/components/schemas/VendorsParams/properties/sort"
            }
          },
          {
            "name": "updated_at_max",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/VendorsParams/properties/updated_at_max"
            }
          },
          {
            "name": "updated_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/VendorsParams/properties/updated_at_min"
            }
          },
          {
            "name": "vendor_name",
            "in": "query",
            "required": false,
            "description": "The exact vendor name to filter on. Supported for QuickBooks Desktop.",
            "schema": {
              "$ref": "#/components/schemas/VendorsParams/properties/vendor_name"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListVendorResponseWithConnection"
                },
                "examples": {
                  "ListVendorResponseWithConnection_Example": {
                    "$ref": "#/components/examples/ListVendorResponseWithConnection_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "DYNAMICS365",
          "EXACTONLINE",
          "FREEAGENT",
          "FRESHBOOKS",
          "KASHFLOW",
          "MONEYBIRD",
          "NETSUITE",
          "QUICKBOOKS",
          "QUICKBOOKS_DESKTOP",
          "SAGE200CLOUD",
          "SAGE_50",
          "SAGE_BUSINESS_CLOUD",
          "SAGE_INTACCT",
          "XERO",
          "ZOHOBOOKS"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      },
      "post": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccessToken/properties/access_token"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCreateVendorRequest"
              },
              "examples": {
                "CreateCreateVendorRequest_Example": {
                  "$ref": "#/components/examples/CreateCreateVendorRequest_Example"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateVendorResponse"
                },
                "examples": {
                  "CreateVendorResponse_Example": {
                    "$ref": "#/components/examples/CreateVendorResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "DYNAMICS365",
          "EXACTONLINE",
          "FREEAGENT",
          "FRESHBOOKS",
          "KASHFLOW",
          "MONEYBIRD",
          "NETSUITE",
          "QUICKBOOKS",
          "QUICKBOOKS_DESKTOP",
          "SAGE200CLOUD",
          "SAGE_50",
          "SAGE_BUSINESS_CLOUD",
          "SAGE_INTACCT",
          "XERO",
          "ZOHOBOOKS"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      }
    },
    "/accounting/vendors/:id": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The Rutter generated unique ID of the object.",
            "schema": {
              "$ref": "#/components/schemas/RutterIdPathParams/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/CommonAccountingGetParams/properties/access_token"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/CommonAccountingGetParams/properties/force_fetch"
            }
          },
          {
            "name": "id_type",
            "in": "query",
            "required": false,
            "description": "Optionally, search for a connection by Rutter ID or platform ID. Defaults to `rutter`. Not supported on QuickBooks Desktop, Sage Intacct, or Dynamics 365.",
            "schema": {
              "$ref": "#/components/schemas/CommonAccountingGetParams/properties/id_type"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VendorResponseWithConnection"
                },
                "examples": {
                  "VendorResponseWithConnection_Example": {
                    "$ref": "#/components/examples/VendorResponseWithConnection_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "DYNAMICS365",
          "EXACTONLINE",
          "FREEAGENT",
          "FRESHBOOKS",
          "KASHFLOW",
          "MONEYBIRD",
          "NETSUITE",
          "QUICKBOOKS",
          "QUICKBOOKS_DESKTOP",
          "SAGE200CLOUD",
          "SAGE_50",
          "SAGE_BUSINESS_CLOUD",
          "SAGE_INTACCT",
          "XERO",
          "ZOHOBOOKS"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      },
      "patch": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The Rutter generated unique ID of the object.",
            "schema": {
              "$ref": "#/components/schemas/RutterIdPathParams/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccessToken/properties/access_token"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateUpdateVendorBodyRequest"
              },
              "examples": {
                "CreateUpdateVendorBodyRequest_Example": {
                  "$ref": "#/components/examples/CreateUpdateVendorBodyRequest_Example"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateUpdateVendorResponseResponse"
                },
                "examples": {
                  "CreateUpdateVendorResponseResponse_Example": {
                    "$ref": "#/components/examples/CreateUpdateVendorResponseResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS",
          "QUICKBOOKS_DESKTOP"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      }
    },
    "/ads/accounts": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/access_token"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The cursor to use for pagination. Use the value of `next_cursor` provided in a previous response.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/cursor"
            }
          },
          {
            "name": "expand",
            "in": "query",
            "required": false,
            "description": "Used to request inclusion of optional objects.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/expand"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/force_fetch"
            }
          },
          {
            "name": "last_synced_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum last_synced_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/last_synced_at_min"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "The number of entities to return. Defaults to 50. Maximum is 500.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/limit"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "description": "The field and direction to sort by (`ASC` or `DESC`), e.g. `last_synced_at ASC`. Currently supports the fields: `updated_at`, `last_synced_at`. If a field is provided but `ASC` or `DESC` is not, defaults to `ASC`. If this field is omitted, defaults, to `updated_at DESC`.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/sort"
            }
          },
          {
            "name": "updated_at_max",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/updated_at_max"
            }
          },
          {
            "name": "updated_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/updated_at_min"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListAdsAccountResponseWithConnection"
                },
                "examples": {
                  "ListAdsAccountResponseWithConnection_Example": {
                    "$ref": "#/components/examples/ListAdsAccountResponseWithConnection_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "FACEBOOK",
          "GOOGLE",
          "TIKTOK"
        ],
        "x-sandbox-supported-platforms": []
      }
    },
    "/ads/campaigns": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/access_token"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The cursor to use for pagination. Use the value of `next_cursor` provided in a previous response.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/cursor"
            }
          },
          {
            "name": "expand",
            "in": "query",
            "required": false,
            "description": "Used to request inclusion of optional objects.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/expand"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/force_fetch"
            }
          },
          {
            "name": "last_synced_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum last_synced_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/last_synced_at_min"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "The number of entities to return. Defaults to 50. Maximum is 500.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/limit"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "description": "The field and direction to sort by (`ASC` or `DESC`), e.g. `last_synced_at ASC`. Currently supports the fields: `updated_at`, `last_synced_at`. If a field is provided but `ASC` or `DESC` is not, defaults to `ASC`. If this field is omitted, defaults, to `updated_at DESC`.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/sort"
            }
          },
          {
            "name": "updated_at_max",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/updated_at_max"
            }
          },
          {
            "name": "updated_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/updated_at_min"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListCampaignResponseWithConnection"
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "FACEBOOK",
          "GOOGLE",
          "TIKTOK"
        ],
        "x-sandbox-supported-platforms": []
      }
    },
    "/ads/campaigns/:id": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The unique ID of the object.",
            "schema": {
              "$ref": "#/components/schemas/IdPathParam/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/CommonGetParams/properties/access_token"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/CommonGetParams/properties/force_fetch"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CampaignResponseWithConnection"
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "FACEBOOK",
          "GOOGLE",
          "TIKTOK"
        ],
        "x-sandbox-supported-platforms": []
      }
    },
    "/ads/campaigns/dailies": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/access_token"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The cursor to use for pagination. Use the value of `next_cursor` provided in a previous response.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/cursor"
            }
          },
          {
            "name": "expand",
            "in": "query",
            "required": false,
            "description": "Used to request inclusion of optional objects.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/expand"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/force_fetch"
            }
          },
          {
            "name": "last_synced_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum last_synced_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/last_synced_at_min"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "The number of entities to return. Defaults to 50. Maximum is 500.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/limit"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "description": "The field and direction to sort by (`ASC` or `DESC`), e.g. `last_synced_at ASC`. Currently supports the fields: `updated_at`, `last_synced_at`. If a field is provided but `ASC` or `DESC` is not, defaults to `ASC`. If this field is omitted, defaults, to `updated_at DESC`.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/sort"
            }
          },
          {
            "name": "updated_at_max",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/updated_at_max"
            }
          },
          {
            "name": "updated_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/updated_at_min"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListCampaignDailyResponseWithConnection"
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "FACEBOOK",
          "GOOGLE",
          "TIKTOK"
        ],
        "x-sandbox-supported-platforms": []
      }
    },
    "/ads/invoices": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/access_token"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The cursor to use for pagination. Use the value of `next_cursor` provided in a previous response.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/cursor"
            }
          },
          {
            "name": "expand",
            "in": "query",
            "required": false,
            "description": "Used to request inclusion of optional objects.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/expand"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/force_fetch"
            }
          },
          {
            "name": "last_synced_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum last_synced_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/last_synced_at_min"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "The number of entities to return. Defaults to 50. Maximum is 500.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/limit"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "description": "The field and direction to sort by (`ASC` or `DESC`), e.g. `last_synced_at ASC`. Currently supports the fields: `updated_at`, `last_synced_at`. If a field is provided but `ASC` or `DESC` is not, defaults to `ASC`. If this field is omitted, defaults, to `updated_at DESC`.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/sort"
            }
          },
          {
            "name": "updated_at_max",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/updated_at_max"
            }
          },
          {
            "name": "updated_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPaginationParams/properties/updated_at_min"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListAdsInvoiceResponseWithConnection"
                },
                "examples": {
                  "ListAdsInvoiceResponseWithConnection_Example": {
                    "$ref": "#/components/examples/ListAdsInvoiceResponseWithConnection_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "FACEBOOK",
          "GOOGLE",
          "TIKTOK"
        ],
        "x-sandbox-supported-platforms": []
      }
    },
    "/balance": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/CommonGetParams/properties/access_token"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/CommonGetParams/properties/force_fetch"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetBalanceResponse"
                },
                "examples": {
                  "GetBalanceResponse_Example": {
                    "$ref": "#/components/examples/GetBalanceResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "AMAZON",
          "MOLLIE",
          "PAYPAL",
          "SHOPIFY",
          "STRIPE"
        ],
        "x-sandbox-supported-platforms": []
      }
    },
    "/commerce/metrics/:metricName": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/CommonGetParams/properties/access_token"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/CommonGetParams/properties/force_fetch"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AggregateMetricResponse"
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "AMAZON",
          "BIG_COMMERCE",
          "EBAY",
          "LAZADA",
          "MAGENTO",
          "SHOPEE",
          "SHOPIFY",
          "SQUARE"
        ],
        "x-sandbox-supported-platforms": []
      }
    },
    "/connections": {
      "get": {
        "summary": "",
        "parameters": [],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListConnectionsResponse"
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "*"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      }
    },
    "/connections/:id": {
      "delete": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The Rutter connection ID to delete.",
            "schema": {
              "$ref": "#/components/schemas/DeleteConnectionPathParams/properties/id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteConnectionResponse"
                },
                "examples": {
                  "DeleteConnectionResponse_Example": {
                    "$ref": "#/components/examples/DeleteConnectionResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "*"
        ],
        "x-sandbox-supported-platforms": []
      }
    },
    "/connections/access_token": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccessToken/properties/access_token"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAccessTokenConnectionResponse"
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "AMAZON",
          "BIG_COMMERCE",
          "CHARGEBEE",
          "CHARGIFY",
          "DYNAMICS365",
          "EBAY",
          "ETSY",
          "FRESHBOOKS",
          "LAZADA",
          "MAGENTO",
          "MERCADOLIBRE",
          "NETSUITE",
          "PAYPAL",
          "PRESTASHOP",
          "QUICKBOOKS",
          "QUICKBOOKS_DESKTOP",
          "RECURLY",
          "SAGE_BUSINESS_CLOUD",
          "SAGE_INTACCT",
          "SHOPEE",
          "SHOPER",
          "SHOPIFY",
          "SHOPWARE",
          "SQUARE",
          "SQUARESPACE",
          "STRIPE",
          "WALMART",
          "WAVE",
          "WIX",
          "WOO_COMMERCE",
          "XERO",
          "ZOHOBOOKS"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      }
    },
    "/connections/backfill": {
      "post": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccessToken/properties/access_token"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateConnectionBackfillBody"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateConnectionBackfillResponse"
                },
                "examples": {
                  "CreateConnectionBackfillResponse_Example": {
                    "$ref": "#/components/examples/CreateConnectionBackfillResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "*"
        ],
        "x-sandbox-supported-platforms": []
      }
    },
    "/connections/create": {
      "post": {
        "summary": "",
        "parameters": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateConnectionBody"
              },
              "examples": {
                "CreateConnectionBody_Example": {
                  "$ref": "#/components/examples/CreateConnectionBody_Example"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateConnectionResponse"
                },
                "examples": {
                  "CreateConnectionResponse_Example": {
                    "$ref": "#/components/examples/CreateConnectionResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "*"
        ],
        "x-sandbox-supported-platforms": []
      }
    },
    "/connections/incremental_sync": {
      "post": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccessToken/properties/access_token"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateConnectionIncrementalSyncResponse"
                },
                "examples": {
                  "CreateConnectionIncrementalSyncResponse_Example": {
                    "$ref": "#/components/examples/CreateConnectionIncrementalSyncResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "*"
        ],
        "x-sandbox-supported-platforms": []
      }
    },
    "/connections/status": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccessToken/properties/access_token"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetConnectionStatusResponse"
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "*"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      }
    },
    "/customer_groups": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/ListCustomerGroupsQuery/properties/access_token"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The cursor to use for pagination. Use the value of `next_cursor` provided in a previous response.",
            "schema": {
              "$ref": "#/components/schemas/ListCustomerGroupsQuery/properties/cursor"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/ListCustomerGroupsQuery/properties/force_fetch"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "The number of entities to return. Defaults to 50. Maximum is 500.",
            "schema": {
              "$ref": "#/components/schemas/ListCustomerGroupsQuery/properties/limit"
            }
          },
          {
            "name": "updated_at_max",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListCustomerGroupsQuery/properties/updated_at_max"
            }
          },
          {
            "name": "updated_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListCustomerGroupsQuery/properties/updated_at_min"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListCustomerGroupsResponseWithConnection"
                },
                "examples": {
                  "ListCustomerGroupsResponseWithConnection_Example": {
                    "$ref": "#/components/examples/ListCustomerGroupsResponseWithConnection_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "SHOPIFY"
        ],
        "x-sandbox-supported-platforms": []
      }
    },
    "/customer_groups/:id": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The Rutter generated unique ID of the object.",
            "schema": {
              "$ref": "#/components/schemas/RutterIdPathParams/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/CommonGetParams/properties/access_token"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/CommonGetParams/properties/force_fetch"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetCustomerGroupResponseWithConnection"
                },
                "examples": {
                  "GetCustomerGroupResponseWithConnection_Example": {
                    "$ref": "#/components/examples/GetCustomerGroupResponseWithConnection_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "SHOPIFY"
        ],
        "x-sandbox-supported-platforms": []
      }
    },
    "/customers": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/ListCustomersQuery/properties/access_token"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The cursor to use for pagination. Use the value of `next_cursor` provided in a previous response.",
            "schema": {
              "$ref": "#/components/schemas/ListCustomersQuery/properties/cursor"
            }
          },
          {
            "name": "email",
            "in": "query",
            "required": false,
            "description": "An email to filter on.",
            "schema": {
              "$ref": "#/components/schemas/ListCustomersQuery/properties/email"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/ListCustomersQuery/properties/force_fetch"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "The number of entities to return. Defaults to 50. Maximum is 500.",
            "schema": {
              "$ref": "#/components/schemas/ListCustomersQuery/properties/limit"
            }
          },
          {
            "name": "phone",
            "in": "query",
            "required": false,
            "description": "A phone number formatted using only numerics to filter on.",
            "schema": {
              "$ref": "#/components/schemas/ListCustomersQuery/properties/phone"
            }
          },
          {
            "name": "updated_at_max",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListCustomersQuery/properties/updated_at_max"
            }
          },
          {
            "name": "updated_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListCustomersQuery/properties/updated_at_min"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListCustomersResponse"
                },
                "examples": {
                  "ListCustomersResponse_Example": {
                    "$ref": "#/components/examples/ListCustomersResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "AMAZON",
          "BIG_COMMERCE",
          "CHARGEBEE",
          "CHARGIFY",
          "CLOVER",
          "MAGENTO",
          "MERCADOLIBRE",
          "PRESTASHOP",
          "SHOPEE",
          "SHOPIFY",
          "SQUARE",
          "SQUARESPACE",
          "STRIPE",
          "WOO_COMMERCE"
        ],
        "x-sandbox-supported-platforms": []
      }
    },
    "/customers/:id": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The Rutter generated unique ID of the object.",
            "schema": {
              "$ref": "#/components/schemas/RutterIdPathParams/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/CommonGetParams/properties/access_token"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/CommonGetParams/properties/force_fetch"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetCustomerResponse"
                },
                "examples": {
                  "GetCustomerResponse_Example": {
                    "$ref": "#/components/examples/GetCustomerResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "AMAZON",
          "BIG_COMMERCE",
          "CHARGIFY",
          "MAGENTO",
          "MERCADOLIBRE",
          "PRESTASHOP",
          "SHOPIFY",
          "SQUARE",
          "SQUARESPACE",
          "WOO_COMMERCE"
        ],
        "x-sandbox-supported-platforms": []
      }
    },
    "/events": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/ListEventsParams/properties/access_token"
            }
          },
          {
            "name": "type",
            "in": "query",
            "required": true,
            "description": "The type of event to list.",
            "schema": {
              "$ref": "#/components/schemas/ListEventsParams/properties/type"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The cursor to use for pagination. Use the value of `next_cursor` provided in a previous response.",
            "schema": {
              "$ref": "#/components/schemas/ListEventsParams/properties/cursor"
            }
          },
          {
            "name": "expand",
            "in": "query",
            "required": false,
            "description": "Optionally, include raw external platform data when fetching data.",
            "schema": {
              "$ref": "#/components/schemas/ListEventsParams/properties/expand"
            }
          },
          {
            "name": "last_synced_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum last_synced_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListEventsParams/properties/last_synced_at_min"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "The number of entities to return. Defaults to 500.",
            "schema": {
              "$ref": "#/components/schemas/ListEventsParams/properties/limit"
            }
          },
          {
            "name": "resources",
            "in": "query",
            "required": false,
            "description": "Comma separated list of resources to query for. If omitted, all resources will be returned. A resource can be one of the following: `ACCOUNT`, `BANK_DEPOSIT`, `BANK_TRANSFER`, `CLASS`, `COMPANY_INFO`, `CURRENCIES`, `DEPARTMENT`, `ITEMS`, `JOURNAL_ENTRY`, `LOCATION`, `PAYMENT_TERM`, `SUBSIDIARY`, `TAX_RATES`, `ACCOUNTING_CUSTOMER`, `INVOICE`, `INVOICE_CREDIT_MEMO`, `INVOICE_PAYMENT`, `PAYMENT_METHOD`, `SALES_ORDER`, `BILL`, `BILL_CREDIT_MEMO`, `BILL_PAYMENT`, `PURCHASE_ORDER`, `VENDOR`, `EXPENSE`, `BANK_FEED_ACCOUNT`, `BANK_FEED_TRANSACTION`, `BALANCE_SHEET`, `CASH_FLOW`, `INCOME_STATEMENT`",
            "schema": {
              "$ref": "#/components/schemas/ListEventsParams/properties/resources"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListEventResponse"
                },
                "examples": {
                  "ListEventResponse_Example": {
                    "$ref": "#/components/examples/ListEventResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "*"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      }
    },
    "/item/public_token/exchange": {
      "post": {
        "summary": "",
        "parameters": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ExchangeTokenBody"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExchangeTokenResponse"
                },
                "examples": {
                  "ExchangeTokenResponse_Example": {
                    "$ref": "#/components/examples/ExchangeTokenResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "*"
        ],
        "x-sandbox-supported-platforms": []
      }
    },
    "/jobs/:id": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The ID of the job.",
            "schema": {
              "$ref": "#/components/schemas/GetAsyncJobPathParams/properties/id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AsynchronousJob"
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "*"
        ],
        "x-sandbox-supported-platforms": [
          "NETSUITE",
          "QUICKBOOKS"
        ]
      }
    },
    "/orders": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/ListOrdersQuery/properties/access_token"
            }
          },
          {
            "name": "created_at_max",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum created_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListOrdersQuery/properties/created_at_max"
            }
          },
          {
            "name": "created_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum created_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListOrdersQuery/properties/created_at_min"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The cursor to use for pagination. Use the value of `next_cursor` provided in a previous response.",
            "schema": {
              "$ref": "#/components/schemas/ListOrdersQuery/properties/cursor"
            }
          },
          {
            "name": "expand",
            "in": "query",
            "required": false,
            "description": "Optionally, include transaction information when fetching orders.",
            "schema": {
              "$ref": "#/components/schemas/ListOrdersQuery/properties/expand"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/ListOrdersQuery/properties/force_fetch"
            }
          },
          {
            "name": "fulfillment_status",
            "in": "query",
            "required": false,
            "description": "Optionally filter orders by their `fulfillment_status`. Supported for Squarespace, BigCommerce, Magento, Square, Shopify, Wix, Amazon, Etsy, PrestaShop, eBay, Lazada.",
            "schema": {
              "$ref": "#/components/schemas/ListOrdersQuery/properties/fulfillment_status"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "The number of entities to return. Defaults to 50. Maximum is 500.",
            "schema": {
              "$ref": "#/components/schemas/ListOrdersQuery/properties/limit"
            }
          },
          {
            "name": "order_number",
            "in": "query",
            "required": false,
            "description": "Optionally filter by order number. Supported for Squarespace, BigCommerce, Magento, WooCommerce, Square, Wix, Amazon, PrestaShop, eBay.",
            "schema": {
              "$ref": "#/components/schemas/ListOrdersQuery/properties/order_number"
            }
          },
          {
            "name": "payment_status",
            "in": "query",
            "required": false,
            "description": "Optionally filters orders by `payment_status`. Supported for Squarespace, BigCommerce, Magento, Square, Shopify, Wix, Amazon, Etsy, PrestaShop, eBay, Lazada.",
            "schema": {
              "$ref": "#/components/schemas/ListOrdersQuery/properties/payment_status"
            }
          },
          {
            "name": "phone",
            "in": "query",
            "required": false,
            "description": "Optionally filter by phone number. Format using only numerics. Supported for Magento, WooCommerce, Shopify, Wix.",
            "schema": {
              "$ref": "#/components/schemas/ListOrdersQuery/properties/phone"
            }
          },
          {
            "name": "properties",
            "in": "query",
            "required": false,
            "description": "Optionally return only certain fields specified by a comma-separated list of field names. E.g. `id,status`",
            "schema": {
              "$ref": "#/components/schemas/ListOrdersQuery/properties/properties"
            }
          },
          {
            "name": "updated_at_max",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListOrdersQuery/properties/updated_at_max"
            }
          },
          {
            "name": "updated_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListOrdersQuery/properties/updated_at_min"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The `/orders` endpoint allows developers to receive user-authorized order data for a merchant's store.\n  Due to the potentially large number of orders associated with a connection, results are paginated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOrdersResponse"
                },
                "examples": {
                  "ListOrdersResponse_Example": {
                    "$ref": "#/components/examples/ListOrdersResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "ALIBABA",
          "AMAZON",
          "BIG_COMMERCE",
          "EBAY",
          "ETSY",
          "GUMROAD",
          "LAZADA",
          "MAGENTO",
          "MERCADOLIBRE",
          "PRESTASHOP",
          "SHOPEE",
          "SHOPER",
          "SHOPIFY",
          "SHOPLAZZA",
          "SHOPLINE",
          "SQUARE",
          "SQUARESPACE",
          "WALMART",
          "WIX",
          "WOO_COMMERCE"
        ],
        "x-sandbox-supported-platforms": []
      },
      "post": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccessToken/properties/access_token"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateOrderBody"
              },
              "examples": {
                "CreateOrderBody_Example": {
                  "$ref": "#/components/examples/CreateOrderBody_Example"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Companies that use Rutter can programmatically create orders on their storeowner's shops. \n    To do this, make a POST request to our orders endpoint.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateOrderResponse"
                },
                "examples": {
                  "CreateOrderResponse_Example": {
                    "$ref": "#/components/examples/CreateOrderResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "BIG_COMMERCE",
          "MAGENTO",
          "SHOPIFY",
          "SQUARESPACE",
          "WIX",
          "WOO_COMMERCE"
        ],
        "x-sandbox-supported-platforms": []
      }
    },
    "/orders/:id": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The Rutter generated unique ID of the object.",
            "schema": {
              "$ref": "#/components/schemas/RutterIdPathParams/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/GetOrderQuery/properties/access_token"
            }
          },
          {
            "name": "expand",
            "in": "query",
            "required": false,
            "description": "Optionally, include transaction information when fetching orders.",
            "schema": {
              "$ref": "#/components/schemas/GetOrderQuery/properties/expand"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/GetOrderQuery/properties/force_fetch"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The `/orders/{id}` endpoint allows developers to receive user-authorized order data for a specific order in a merchant's store.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetOrderResponse"
                },
                "examples": {
                  "GetOrderResponse_Example": {
                    "$ref": "#/components/examples/GetOrderResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "ALIBABA",
          "AMAZON",
          "BIG_COMMERCE",
          "EBAY",
          "ETSY",
          "GUMROAD",
          "LAZADA",
          "MAGENTO",
          "MERCADOLIBRE",
          "PRESTASHOP",
          "SHOPEE",
          "SHOPER",
          "SHOPIFY",
          "SHOPLAZZA",
          "SHOPLINE",
          "SQUARE",
          "SQUARESPACE",
          "WALMART",
          "WIX",
          "WOO_COMMERCE"
        ],
        "x-sandbox-supported-platforms": []
      },
      "patch": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The Rutter generated unique ID of the object.",
            "schema": {
              "$ref": "#/components/schemas/RutterIdPathParams/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccessToken/properties/access_token"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateOrderBody"
              },
              "examples": {
                "UpdateOrderBody_Example": {
                  "$ref": "#/components/examples/UpdateOrderBody_Example"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The `/orders/{id}` endpoint allows developers to receive user-authorized order data for a specific order in a merchant's store.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetOrderResponse"
                },
                "examples": {
                  "GetOrderResponse_Example": {
                    "$ref": "#/components/examples/GetOrderResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "SHOPIFY",
          "WOO_COMMERCE"
        ],
        "x-sandbox-supported-platforms": []
      }
    },
    "/orders/:id/fulfillments": {
      "post": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The Rutter ID of the order to fulfill.",
            "schema": {
              "$ref": "#/components/schemas/CreateFulfillmentPathParams/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccessToken/properties/access_token"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateOrderFulfillmentBody"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateOrderFulfillmentResponse"
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "AMAZON",
          "BIG_COMMERCE",
          "ETSY",
          "MAGENTO",
          "PRESTASHOP",
          "SHOPIFY",
          "SQUARE",
          "SQUARESPACE",
          "WALMART",
          "WIX",
          "WOO_COMMERCE"
        ],
        "x-sandbox-supported-platforms": []
      }
    },
    "/payouts": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/ListPayoutsQuery/properties/access_token"
            }
          },
          {
            "name": "arrival_at_max",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum arrival_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPayoutsQuery/properties/arrival_at_max"
            }
          },
          {
            "name": "arrival_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum arrival_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPayoutsQuery/properties/arrival_at_min"
            }
          },
          {
            "name": "created_at_max",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum created_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPayoutsQuery/properties/created_at_max"
            }
          },
          {
            "name": "created_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum created_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListPayoutsQuery/properties/created_at_min"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/ListPayoutsQuery/properties/force_fetch"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListPayoutsResponse"
                },
                "examples": {
                  "ListPayoutsResponse_Example": {
                    "$ref": "#/components/examples/ListPayoutsResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "AMAZON",
          "BIG_COMMERCE",
          "CLOVER",
          "EBAY",
          "MOLLIE",
          "PAYPAL",
          "PRESTASHOP",
          "SHOPIFY",
          "SQUARE",
          "STRIPE",
          "WALMART",
          "WOO_COMMERCE"
        ],
        "x-sandbox-supported-platforms": []
      }
    },
    "/products": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/ListProductsQuery/properties/access_token"
            }
          },
          {
            "name": "created_at_max",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum created_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListProductsQuery/properties/created_at_max"
            }
          },
          {
            "name": "created_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum created_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListProductsQuery/properties/created_at_min"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The cursor to use for pagination. Use the value of `next_cursor` provided in a previous response.",
            "schema": {
              "$ref": "#/components/schemas/ListProductsQuery/properties/cursor"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/ListProductsQuery/properties/force_fetch"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "The number of entities to return. Defaults to 50. Maximum is 500.",
            "schema": {
              "$ref": "#/components/schemas/ListProductsQuery/properties/limit"
            }
          },
          {
            "name": "name",
            "in": "query",
            "required": false,
            "description": "Filter products by names similar to the input.",
            "schema": {
              "$ref": "#/components/schemas/ListProductsQuery/properties/name"
            }
          },
          {
            "name": "status",
            "in": "query",
            "required": false,
            "description": "Show products with certain product status.",
            "schema": {
              "$ref": "#/components/schemas/ListProductsQuery/properties/status"
            }
          },
          {
            "name": "updated_at_max",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListProductsQuery/properties/updated_at_max"
            }
          },
          {
            "name": "updated_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListProductsQuery/properties/updated_at_min"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListProductsResponse"
                },
                "examples": {
                  "ListProductsResponse_Example": {
                    "$ref": "#/components/examples/ListProductsResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "AMAZON",
          "BIG_COMMERCE",
          "EBAY",
          "ETSY",
          "LAZADA",
          "MAGENTO",
          "MERCADOLIBRE",
          "PRESTASHOP",
          "SHOPIFY",
          "SQUARE",
          "SQUARESPACE",
          "WALMART",
          "WIX",
          "WOO_COMMERCE"
        ],
        "x-sandbox-supported-platforms": []
      },
      "post": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccessToken/properties/access_token"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateProductBody"
              },
              "examples": {
                "CreateProductBody_Example": {
                  "$ref": "#/components/examples/CreateProductBody_Example"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateProductResponse"
                },
                "examples": {
                  "CreateProductResponse_Example": {
                    "$ref": "#/components/examples/CreateProductResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "AMAZON",
          "BIG_COMMERCE",
          "ETSY",
          "MAGENTO",
          "PRESTASHOP",
          "SHOPIFY",
          "SQUARE",
          "SQUARESPACE",
          "WIX",
          "WOO_COMMERCE"
        ],
        "x-sandbox-supported-platforms": []
      }
    },
    "/products/:id": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The Rutter generated unique ID of the object.",
            "schema": {
              "$ref": "#/components/schemas/RutterIdPathParams/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/GetProductsQuery/properties/access_token"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/GetProductsQuery/properties/force_fetch"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductResponse"
                },
                "examples": {
                  "GetProductResponse_Example": {
                    "$ref": "#/components/examples/GetProductResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "AMAZON",
          "BIG_COMMERCE",
          "EBAY",
          "ETSY",
          "MAGENTO",
          "MERCADOLIBRE",
          "PRESTASHOP",
          "SHOPIFY",
          "SQUARE",
          "SQUARESPACE",
          "WIX",
          "WOO_COMMERCE"
        ],
        "x-sandbox-supported-platforms": []
      },
      "delete": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The Rutter generated unique ID of the object.",
            "schema": {
              "$ref": "#/components/schemas/RutterIdPathParams/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccessToken/properties/access_token"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteProductResponse"
                },
                "examples": {
                  "DeleteProductResponse_Example": {
                    "$ref": "#/components/examples/DeleteProductResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "BIG_COMMERCE",
          "ETSY",
          "MAGENTO",
          "PRESTASHOP",
          "SHOPIFY",
          "SQUARE",
          "SQUARESPACE",
          "WIX",
          "WOO_COMMERCE"
        ],
        "x-sandbox-supported-platforms": []
      },
      "patch": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The Rutter generated unique ID of the object.",
            "schema": {
              "$ref": "#/components/schemas/RutterIdPathParams/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccessToken/properties/access_token"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateProductBody"
              },
              "examples": {
                "UpdateProductBody_Example": {
                  "$ref": "#/components/examples/UpdateProductBody_Example"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PatchProductResponse"
                },
                "examples": {
                  "PatchProductResponse_Example": {
                    "$ref": "#/components/examples/PatchProductResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "BIG_COMMERCE",
          "ETSY",
          "MAGENTO",
          "PRESTASHOP",
          "SHOPIFY",
          "SQUARE",
          "SQUARESPACE",
          "WIX",
          "WOO_COMMERCE"
        ],
        "x-sandbox-supported-platforms": []
      }
    },
    "/products/:id/variants": {
      "post": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccessToken/properties/access_token"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateVariantBody"
              },
              "examples": {
                "CreateVariantBody_Example": {
                  "$ref": "#/components/examples/CreateVariantBody_Example"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VariantResponse"
                },
                "examples": {
                  "VariantResponse_Example": {
                    "$ref": "#/components/examples/VariantResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "BIG_COMMERCE",
          "ETSY",
          "MAGENTO",
          "PRESTASHOP",
          "SHOPIFY",
          "SQUARE",
          "SQUARESPACE",
          "WIX",
          "WOO_COMMERCE"
        ],
        "x-sandbox-supported-platforms": []
      }
    },
    "/products/:id/variants/:id": {
      "delete": {
        "summary": "",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The Rutter generated unique ID of the variant.",
            "schema": {
              "$ref": "#/components/schemas/DeleteVariantPathParams/properties/id"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccessToken/properties/access_token"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteVariantResponse"
                },
                "examples": {
                  "DeleteVariantResponse_Example": {
                    "$ref": "#/components/examples/DeleteVariantResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "BIG_COMMERCE",
          "ETSY",
          "SHOPIFY",
          "SQUARESPACE",
          "WIX",
          "WOO_COMMERCE"
        ],
        "x-sandbox-supported-platforms": []
      }
    },
    "/products/:id/variants/:variantId": {
      "patch": {
        "summary": "",
        "parameters": [
          {
            "name": "variantId",
            "in": "path",
            "required": true,
            "description": "The Rutter generated unique ID of the variant.",
            "schema": {
              "$ref": "#/components/schemas/UpdateVariantPathParams/properties/variantId"
            }
          },
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/AccessToken/properties/access_token"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateVariantBody"
              },
              "examples": {
                "UpdateVariantBody_Example": {
                  "$ref": "#/components/examples/UpdateVariantBody_Example"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VariantResponse"
                },
                "examples": {
                  "VariantResponse_Example": {
                    "$ref": "#/components/examples/VariantResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "BIG_COMMERCE",
          "ETSY",
          "MAGENTO",
          "PRESTASHOP",
          "SHOPIFY",
          "SQUARE",
          "SQUARESPACE",
          "WIX",
          "WOO_COMMERCE"
        ],
        "x-sandbox-supported-platforms": []
      }
    },
    "/products/categories": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/ListProductCategoriesQuery/properties/access_token"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/ListProductCategoriesQuery/properties/force_fetch"
            }
          },
          {
            "name": "id",
            "in": "query",
            "required": false,
            "description": "Only fetch a specific product category id.",
            "schema": {
              "$ref": "#/components/schemas/ListProductCategoriesQuery/properties/id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListProductCategoriesResponse"
                },
                "examples": {
                  "ListProductCategoriesResponse_Example": {
                    "$ref": "#/components/examples/ListProductCategoriesResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "AMAZON",
          "BIG_COMMERCE",
          "ETSY",
          "MAGENTO",
          "SHOPIFY"
        ],
        "x-sandbox-supported-platforms": []
      }
    },
    "/store": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/CommonGetParamsWithExpand/properties/access_token"
            }
          },
          {
            "name": "expand",
            "in": "query",
            "required": false,
            "description": "Optionally, include raw external platform data when fetching data.",
            "schema": {
              "$ref": "#/components/schemas/CommonGetParamsWithExpand/properties/expand"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/CommonGetParamsWithExpand/properties/force_fetch"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetStoreResponse"
                },
                "examples": {
                  "GetStoreResponse_Example": {
                    "$ref": "#/components/examples/GetStoreResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "AMAZON",
          "BIG_COMMERCE",
          "EBAY",
          "ETSY",
          "LAZADA",
          "MAGENTO",
          "MERCADOLIBRE",
          "PRESTASHOP",
          "SHOPIFY",
          "SHOPLAZZA",
          "SHOPLINE",
          "SQUARE",
          "SQUARESPACE",
          "STRIPE",
          "WALMART",
          "WIX",
          "WOO_COMMERCE"
        ],
        "x-sandbox-supported-platforms": []
      }
    },
    "/subscriptions": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/ListSubscriptionsQuery/properties/access_token"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The cursor to use for pagination. Use the value of `next_cursor` provided in a previous response.",
            "schema": {
              "$ref": "#/components/schemas/ListSubscriptionsQuery/properties/cursor"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/ListSubscriptionsQuery/properties/force_fetch"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "The number of entities to return. Defaults to 50. Maximum is 500.",
            "schema": {
              "$ref": "#/components/schemas/ListSubscriptionsQuery/properties/limit"
            }
          },
          {
            "name": "updated_at_max",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListSubscriptionsQuery/properties/updated_at_max"
            }
          },
          {
            "name": "updated_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListSubscriptionsQuery/properties/updated_at_min"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSubscriptionsResponse"
                },
                "examples": {
                  "ListSubscriptionsResponse_Example": {
                    "$ref": "#/components/examples/ListSubscriptionsResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "CHARGEBEE",
          "CHARGIFY",
          "RECURLY",
          "STRIPE"
        ],
        "x-sandbox-supported-platforms": []
      }
    },
    "/transactions": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "access_token",
            "in": "query",
            "required": true,
            "description": "The access token of the connection.",
            "schema": {
              "$ref": "#/components/schemas/ListTransactionsQuery/properties/access_token"
            }
          },
          {
            "name": "created_at_max",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum created_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListTransactionsQuery/properties/created_at_max"
            }
          },
          {
            "name": "created_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum created_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListTransactionsQuery/properties/created_at_min"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The cursor to use for pagination. Use the value of `next_cursor` provided in a previous response.",
            "schema": {
              "$ref": "#/components/schemas/ListTransactionsQuery/properties/cursor"
            }
          },
          {
            "name": "force_fetch",
            "in": "query",
            "required": false,
            "description": "Force a response even if the underlying connection hasn't finished the initial sync.",
            "schema": {
              "$ref": "#/components/schemas/ListTransactionsQuery/properties/force_fetch"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "The number of entities to return. Defaults to 50. Maximum is 500.",
            "schema": {
              "$ref": "#/components/schemas/ListTransactionsQuery/properties/limit"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/ListTransactionsQuery/properties/sort"
            }
          },
          {
            "name": "updated_at_max",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListTransactionsQuery/properties/updated_at_max"
            }
          },
          {
            "name": "updated_at_min",
            "in": "query",
            "required": false,
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum updated_at datetime to fetch entities from.",
            "schema": {
              "$ref": "#/components/schemas/ListTransactionsQuery/properties/updated_at_min"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListTransactionsResponse"
                },
                "examples": {
                  "ListTransactionsResponse_Example": {
                    "$ref": "#/components/examples/ListTransactionsResponse_Example"
                  }
                }
              }
            }
          }
        },
        "x-supported-platforms": [
          "AMAZON",
          "CHARGEBEE",
          "CHARGIFY",
          "CLOVER",
          "EBAY",
          "ETSY",
          "LAZADA",
          "MAGENTO",
          "MERCADOLIBRE",
          "PAYPAL",
          "PRESTASHOP",
          "RECHARGE",
          "SHOPIFY",
          "SQUARE",
          "STRIPE",
          "WALMART",
          "WOO_COMMERCE"
        ],
        "x-sandbox-supported-platforms": []
      }
    }
  },
  "components": {
    "schemas": {
      "AccessToken": {
        "type": "object",
        "properties": {
          "access_token": {
            "type": "string",
            "format": "uuid",
            "description": "The access token of the connection."
          }
        },
        "required": [
          "access_token"
        ]
      },
      "CreateEntityWithCustomFieldsPage": {
        "type": "object",
        "properties": {
          "other_entity_fields": {
            "type": "string",
            "description": "Other fields for this entity."
          },
          "custom_fields": {
            "type": "object",
            "properties": {
              "custom_field_key": {
                "type": "string",
                "description": "The value for this entity top-level custom field that should match the type specified on the structured schema of this entity."
              }
            },
            "additionalProperties": false,
            "description": "Custom fields on the entity. Note: for field type 'select', please use the values from options presented through 'GET /accounting/:entityType/custom_fields' endpoint. For field type 'boolean', please pass in a boolean value."
          },
          "line_items": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "other_line_item_fields": {
                  "type": "string",
                  "description": "Other fields for this entity line items."
                },
                "custom_fields": {
                  "type": "object",
                  "properties": {
                    "line_item_custom_field_key": {
                      "type": "string",
                      "description": "The value for this line item custom field that should match the type specified on the structured schema of this entity."
                    }
                  },
                  "additionalProperties": false,
                  "description": "Custom fields on the entity. Note: for field type 'select', please use the values from options presented through 'GET /accounting/:entityType/custom_fields' endpoint. For field type 'boolean', please pass in a boolean value."
                }
              },
              "required": [
                "other_line_item_fields"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "other_entity_fields",
          "line_items"
        ],
        "examples": [
          {
            "CreateEntityWithCustomFieldsPage_Example": {
              "$ref": "#/components/examples/CreateEntityWithCustomFieldsPage_Example"
            }
          }
        ]
      },
      "CreateEntityWithCustomFieldsPageResponse": {
        "type": "object",
        "properties": {
          "other_entity_fields": {
            "type": "string",
            "description": "Other fields for this entity."
          },
          "line_items": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "other_line_item_fields": {
                  "type": "string",
                  "description": "Other fields for this entity line items."
                }
              },
              "required": [
                "other_line_item_fields"
              ],
              "additionalProperties": false
            }
          },
          "platform_data": {
            "type": "object",
            "properties": {
              "custom_field_key": {
                "type": "string",
                "description": "The value for this entity top-level custom field that should match the type specified on the structured schema of this entity."
              },
              "other_platform_fields": {
                "type": "string",
                "description": "Platform fields for this entity."
              },
              "sublist_key": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "line_item_custom_field_key": {
                      "type": "string",
                      "description": "The value for this entity line item custom field that should match the type specified on the structured schema of this entity."
                    },
                    "other_sublist_fields": {
                      "type": "string",
                      "description": "Sublist fields for this entity."
                    }
                  },
                  "required": [
                    "line_item_custom_field_key",
                    "other_sublist_fields"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "required": [
              "custom_field_key",
              "other_platform_fields",
              "sublist_key"
            ],
            "additionalProperties": false,
            "description": "Platform data for this entity. You can get this on any endpoint by using the `platform_data=true` query parameter."
          }
        },
        "required": [
          "other_entity_fields",
          "line_items",
          "platform_data"
        ],
        "examples": [
          {
            "CreateEntityWithCustomFieldsPageResponse_Example": {
              "$ref": "#/components/examples/CreateEntityWithCustomFieldsPageResponse_Example"
            }
          }
        ]
      },
      "CustomFieldsPagePathParams": {
        "type": "object",
        "properties": {
          "entityType": {
            "type": "string",
            "enum": [
              "bills",
              "expenses",
              "invoices",
              "invoice_payments",
              "journal_entries"
            ],
            "description": "The supported entity types for which we can fetch the custom field schema."
          }
        },
        "required": [
          "entityType"
        ]
      },
      "CustomFieldsGetParams": {
        "type": "object",
        "properties": {
          "access_token": {
            "type": "string",
            "format": "uuid",
            "description": "The access token of the connection."
          },
          "force_fetch": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ],
            "description": "Force a response even if the underlying connection hasn't finished the initial sync."
          },
          "platform_fields": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ],
            "description": "Include fields that are platform defined (or unlocked through a platform defined process) vs. only those that are user defined."
          }
        },
        "required": [
          "access_token"
        ]
      },
      "CustomFieldsSchema": {
        "type": "object",
        "properties": {
          "description": {
            "type": "string",
            "description": "The description of this field."
          },
          "key": {
            "type": "string",
            "description": "The platform key of this field."
          },
          "name": {
            "type": "string",
            "description": "The name of this field."
          },
          "required": {
            "type": "boolean",
            "description": "Whether this field is required for this entity type."
          },
          "type": {
            "type": "string",
            "enum": [
              "boolean",
              "select",
              "string",
              "number",
              "multiselect"
            ],
            "description": "The type of this field."
          },
          "options": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "text": {
                  "type": "string",
                  "description": "The displayed text for the select option."
                },
                "value": {
                  "type": "string",
                  "description": "The platform specific ID of the select option."
                }
              },
              "required": [
                "text",
                "value"
              ],
              "additionalProperties": false
            }
          },
          "default": {
            "anyOf": [
              {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "boolean"
                  }
                ]
              },
              {
                "type": "number"
              }
            ],
            "description": "The default value for the field if any.",
            "type": [
              "null"
            ]
          }
        },
        "required": [
          "description",
          "key",
          "name",
          "required",
          "type",
          "options",
          "default"
        ],
        "examples": [
          {
            "CustomFieldsSchema_Example": {
              "$ref": "#/components/examples/CustomFieldsSchema_Example"
            }
          }
        ]
      },
      "CustomFieldsPageGenericEntity": {
        "type": "object",
        "properties": {
          "entity": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomFieldsSchema"
            }
          },
          "entity.line_items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomFieldsSchema"
            }
          }
        },
        "required": [
          "entity",
          "entity.line_items"
        ]
      },
      "CustomFieldsPageGenericEntityResponse": {
        "type": "object",
        "properties": {
          "custom_fields": {
            "$ref": "#/components/schemas/CustomFieldsPageGenericEntity"
          }
        },
        "required": [
          "custom_fields"
        ],
        "examples": [
          {
            "CustomFieldsPageGenericEntityResponse_Example": {
              "$ref": "#/components/examples/CustomFieldsPageGenericEntityResponse_Example"
            }
          }
        ]
      },
      "AccountsParams": {
        "type": "object",
        "properties": {
          "access_token": {
            "type": "string",
            "format": "uuid",
            "description": "The access token of the connection."
          },
          "account_type": {
            "type": "string",
            "enum": [
              "accounts_payable",
              "accounts_receivable",
              "bank",
              "fixed_asset",
              "other_asset",
              "other_current_asset",
              "liability",
              "equity",
              "expense",
              "other_expense",
              "income",
              "other_income",
              "credit_card",
              "cost_of_goods_sold",
              "other_current_liability",
              "long_term_liability",
              "non_posting",
              "unknown"
            ],
            "description": "The Rutter account type that you want to filter accounts by. Supported for the following platforms: QUICKBOOKS, NETSUITE, XERO, ZOHOBOOKS, DYNAMICS365, SAGE_INTACCT."
          },
          "cursor": {
            "type": "string",
            "description": "The cursor to use for pagination. Use the value of `next_cursor` provided in a previous response."
          },
          "expand": {
            "type": "string",
            "enum": [
              "platform_data"
            ],
            "description": "Used to request inclusion of optional objects."
          },
          "force_fetch": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ],
            "description": "Force a response even if the underlying connection hasn't finished the initial sync."
          },
          "last_synced_at_min": {
            "type": "integer",
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum last_synced_at datetime to fetch entities from."
          },
          "limit": {
            "type": "integer",
            "description": "The number of entities to return. Defaults to 50. Maximum is 500."
          },
          "sort": {
            "type": "string",
            "description": "The field and direction to sort by (`ASC` or `DESC`), e.g. `last_synced_at ASC`. Currently supports the fields: `updated_at`, `last_synced_at`. If a field is provided but `ASC` or `DESC` is not, defaults to `ASC`. If this field is omitted, defaults, to `updated_at DESC`."
          },
          "updated_at_max": {
            "type": "integer",
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum updated_at datetime to fetch entities from."
          },
          "updated_at_min": {
            "type": "integer",
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum updated_at datetime to fetch entities from."
          }
        },
        "required": [
          "access_token"
        ]
      },
      "Platform": {
        "type": "string",
        "enum": [
          "AMAZON",
          "EBAY",
          "ETSY",
          "FNAC",
          "WALMART",
          "SHOPEE",
          "LAZADA",
          "MERCADOLIBRE",
          "ALIBABA",
          "SHOPLINE",
          "PRESTASHOP",
          "SHOPIFY",
          "MAGENTO",
          "WOO_COMMERCE",
          "SQUARESPACE",
          "WIX",
          "SHOPER",
          "SHOPLAZZA",
          "BIG_COMMERCE",
          "SHOPWARE",
          "COMMERCELAYER",
          "WEBFLOW",
          "GUMROAD",
          "ECWID",
          "PAYPAL",
          "SQUARE",
          "STRIPE",
          "CLOVER",
          "MOLLIE",
          "PAYNL",
          "AUTHORIZENET",
          "RECHARGE",
          "CHARGIFY",
          "CHARGEBEE",
          "RECURLY",
          "KASHFLOW",
          "SAGE_INTACCT",
          "DYNAMICS365",
          "ZOHOBOOKS",
          "EXACTONLINE",
          "FREEAGENT",
          "QUICKBOOKS",
          "QUICKBOOKS_DESKTOP",
          "FRESHBOOKS",
          "XERO",
          "SAGE_BUSINESS_CLOUD",
          "SAGE",
          "SAGE_50",
          "NETSUITE",
          "WAVE",
          "MONEYBIRD",
          "SAGE200CLOUD",
          "PLAID",
          "ODOO",
          "TALLY",
          "GOOGLE",
          "FACEBOOK",
          "TIKTOK"
        ],
        "description": "The underlying platform."
      },
      "Connection": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "The UUID of the connection. Generated by Rutter."
          },
          "orgId": {
            "type": "string",
            "format": "uuid",
            "description": "Your organization id."
          },
          "platform": {
            "$ref": "#/components/schemas/Platform"
          }
        },
        "required": [
          "id",
          "orgId",
          "platform"
        ],
        "examples": [
          {
            "Connection_Example": {
              "$ref": "#/components/examples/Connection_Example"
            }
          }
        ]
      },
      "Account": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "The Rutter generated unique ID of the account."
          },
          "platform_id": {
            "type": "string",
            "description": "The platform specific ID of the account."
          },
          "account_type": {
            "type": "string",
            "enum": [
              "accounts_payable",
              "accounts_receivable",
              "bank",
              "fixed_asset",
              "other_asset",
              "other_current_asset",
              "liability",
              "equity",
              "expense",
              "other_expense",
              "income",
              "other_income",
              "credit_card",
              "cost_of_goods_sold",
              "other_current_liability",
              "long_term_liability",
              "non_posting",
              "unknown"
            ],
            "description": "The account type of the account."
          },
          "category": {
            "type": "string",
            "enum": [
              "asset",
              "expense",
              "equity",
              "liability",
              "income",
              "nonposting",
              "unknown"
            ],
            "description": "The category of the account."
          },
          "status": {
            "type": "string",
            "enum": [
              "active",
              "inactive",
              "pending"
            ],
            "description": "The status of the account."
          },
          "balance": {
            "type": [
              "number",
              "null"
            ],
            "description": "The running balance of all credits and debits applied to the account."
          },
          "currency_code": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "AED",
              "AFN",
              "ALL",
              "AMD",
              "ANG",
              "AOA",
              "ARS",
              "AUD",
              "AWG",
              "AZN",
              "BAM",
              "BBD",
              "BDT",
              "BGN",
              "BHD",
              "BIF",
              "BMD",
              "BND",
              "BOB",
              "BOV",
              "BRL",
              "BSD",
              "BTN",
              "BWP",
              "BYR",
              "BZD",
              "CAD",
              "CDF",
              "CHE",
              "CHF",
              "CHW",
              "CLF",
              "CLP",
              "CNY",
              "COP",
              "COU",
              "CRC",
              "CUC",
              "CUP",
              "CVE",
              "CZK",
              "DJF",
              "DKK",
              "DOP",
              "DZD",
              "EGP",
              "ERN",
              "ETB",
              "EUR",
              "FJD",
              "FKP",
              "GBP",
              "GEL",
              "GHS",
              "GIP",
              "GMD",
              "GNF",
              "GTQ",
              "GYD",
              "HKD",
              "HNL",
              "HRK",
              "HTG",
              "HUF",
              "IDR",
              "ILS",
              "INR",
              "IQD",
              "IRR",
              "ISK",
              "JMD",
              "JOD",
              "JPY",
              "KES",
              "KGS",
              "KHR",
              "KMF",
              "KPW",
              "KRW",
              "KWD",
              "KYD",
              "KZT",
              "LAK",
              "LBP",
              "LKR",
              "LRD",
              "LSL",
              "LTL",
              "LVL",
              "LYD",
              "MAD",
              "MDL",
              "MGA",
              "MKD",
              "MMK",
              "MNT",
              "MOP",
              "MRO",
              "MUR",
              "MVR",
              "MWK",
              "MXN",
              "MXV",
              "MYR",
              "MZN",
              "NAD",
              "NGN",
              "NIO",
              "NOK",
              "NPR",
              "NZD",
              "OMR",
              "PAB",
              "PEN",
              "PGK",
              "PHP",
              "PKR",
              "PLN",
              "PYG",
              "QAR",
              "RON",
              "RSD",
              "RUB",
              "RWF",
              "SAR",
              "SBD",
              "SCR",
              "SDG",
              "SEK",
              "SGD",
              "SHP",
              "SLL",
              "SOS",
              "SRD",
              "SSP",
              "STD",
              "SVC",
              "SYP",
              "SZL",
              "THB",
              "TJS",
              "TMT",
              "TND",
              "TOP",
              "TRY",
              "TTD",
              "TWD",
              "TZS",
              "UAH",
              "UGX",
              "USD",
              "USN",
              "USS",
              "UYI",
              "UYU",
              "UYW",
              "UZS",
              "VEF",
              "VND",
              "VUV",
              "WST",
              "XAF",
              "XAG",
              "XAU",
              "XBA",
              "XBB",
              "XBC",
              "XBD",
              "XCD",
              "XDR",
              "XFU",
              "XOF",
              "XPD",
              "XPF",
              "XPT",
              "XTS",
              "XXX",
              "YER",
              "ZAR",
              "ZMW"
            ],
            "description": "The [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code of the account."
          },
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "The business facing name of the account."
          },
          "nominal_code": {
            "type": [
              "string",
              "null"
            ],
            "description": "The nominal code of the account used to classify accounts by department or account type."
          },
          "subsidiaries": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "required": [
                "id"
              ],
              "additionalProperties": false
            },
            "description": "An array of [Subsidiaries](/rest/version/subsidiaries) linked to the account. Supported for NetSuite. A subsidiary_id query parameter can be optionally included in GET requests to filter the account results."
          },
          "created_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the account was created."
          },
          "updated_at": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the account was last updated."
          },
          "last_synced_at": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp when the account was last synced by Rutter."
          },
          "platform_data": {
            "type": "object",
            "additionalProperties": {},
            "description": "The raw platform data corresponding to the Rutter object."
          }
        },
        "required": [
          "id",
          "platform_id",
          "account_type",
          "category",
          "status",
          "balance",
          "currency_code",
          "name",
          "nominal_code",
          "subsidiaries",
          "created_at",
          "updated_at",
          "last_synced_at"
        ],
        "examples": [
          {
            "Account_Example": {
              "$ref": "#/components/examples/Account_Example"
            }
          }
        ]
      },
      "ListAccountResponseWithConnection": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "accounts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Account"
            }
          },
          "next_cursor": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "connection",
          "accounts"
        ],
        "examples": [
          {
            "ListAccountResponseWithConnection_Example": {
              "$ref": "#/components/examples/ListAccountResponseWithConnection_Example"
            }
          }
        ]
      },
      "CreateAccount": {
        "type": "object",
        "properties": {
          "subsidiary_id": {
            "type": "string",
            "format": "uuid",
            "description": "The Rutter ID of the [Subsidiary](/rest/version/subsidiaries) linked to the account. Supported for NetSuite. If a subsidiary ID is specified, the provided subsidiary as well as all children subsidiaries will be included as valid for the account. If no subsidiary info is specified, all subsidiaries will be included as valid for the account. (Note: accounts of type bank and credit_card can only have a single valid subsidiary.)"
          },
          "account_type": {
            "type": "string",
            "enum": [
              "accounts_payable",
              "accounts_receivable",
              "bank",
              "fixed_asset",
              "other_asset",
              "other_current_asset",
              "liability",
              "equity",
              "expense",
              "other_expense",
              "income",
              "other_income",
              "credit_card",
              "cost_of_goods_sold",
              "other_current_liability",
              "long_term_liability",
              "non_posting",
              "unknown"
            ],
            "description": "The account type of the account."
          },
          "currency_code": {
            "type": "string",
            "enum": [
              "AED",
              "AFN",
              "ALL",
              "AMD",
              "ANG",
              "AOA",
              "ARS",
              "AUD",
              "AWG",
              "AZN",
              "BAM",
              "BBD",
              "BDT",
              "BGN",
              "BHD",
              "BIF",
              "BMD",
              "BND",
              "BOB",
              "BOV",
              "BRL",
              "BSD",
              "BTN",
              "BWP",
              "BYR",
              "BZD",
              "CAD",
              "CDF",
              "CHE",
              "CHF",
              "CHW",
              "CLF",
              "CLP",
              "CNY",
              "COP",
              "COU",
              "CRC",
              "CUC",
              "CUP",
              "CVE",
              "CZK",
              "DJF",
              "DKK",
              "DOP",
              "DZD",
              "EGP",
              "ERN",
              "ETB",
              "EUR",
              "FJD",
              "FKP",
              "GBP",
              "GEL",
              "GHS",
              "GIP",
              "GMD",
              "GNF",
              "GTQ",
              "GYD",
              "HKD",
              "HNL",
              "HRK",
              "HTG",
              "HUF",
              "IDR",
              "ILS",
              "INR",
              "IQD",
              "IRR",
              "ISK",
              "JMD",
              "JOD",
              "JPY",
              "KES",
              "KGS",
              "KHR",
              "KMF",
              "KPW",
              "KRW",
              "KWD",
              "KYD",
              "KZT",
              "LAK",
              "LBP",
              "LKR",
              "LRD",
              "LSL",
              "LTL",
              "LVL",
              "LYD",
              "MAD",
              "MDL",
              "MGA",
              "MKD",
              "MMK",
              "MNT",
              "MOP",
              "MRO",
              "MUR",
              "MVR",
              "MWK",
              "MXN",
              "MXV",
              "MYR",
              "MZN",
              "NAD",
              "NGN",
              "NIO",
              "NOK",
              "NPR",
              "NZD",
              "OMR",
              "PAB",
              "PEN",
              "PGK",
              "PHP",
              "PKR",
              "PLN",
              "PYG",
              "QAR",
              "RON",
              "RSD",
              "RUB",
              "RWF",
              "SAR",
              "SBD",
              "SCR",
              "SDG",
              "SEK",
              "SGD",
              "SHP",
              "SLL",
              "SOS",
              "SRD",
              "SSP",
              "STD",
              "SVC",
              "SYP",
              "SZL",
              "THB",
              "TJS",
              "TMT",
              "TND",
              "TOP",
              "TRY",
              "TTD",
              "TWD",
              "TZS",
              "UAH",
              "UGX",
              "USD",
              "USN",
              "USS",
              "UYI",
              "UYU",
              "UYW",
              "UZS",
              "VEF",
              "VND",
              "VUV",
              "WST",
              "XAF",
              "XAG",
              "XAU",
              "XBA",
              "XBB",
              "XBC",
              "XBD",
              "XCD",
              "XDR",
              "XFU",
              "XOF",
              "XPD",
              "XPF",
              "XPT",
              "XTS",
              "XXX",
              "YER",
              "ZAR",
              "ZMW"
            ],
            "description": "The [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code of the account."
          },
          "name": {
            "type": "string",
            "description": "The business facing name of the account."
          },
          "nominal_code": {
            "type": "string",
            "description": "The nominal code of the account used to classify accounts by department or account type."
          },
          "additional_fields": {
            "type": "object",
            "properties": {
              "bank_account_number": {
                "type": "string",
                "description": "Xero only: required to create bank accounts."
              }
            },
            "additionalProperties": false,
            "description": "Additional fields required only for a narrow set of use cases."
          }
        },
        "required": [
          "account_type",
          "currency_code",
          "name",
          "nominal_code"
        ],
        "examples": [
          {
            "CreateAccount_Example": {
              "$ref": "#/components/examples/CreateAccount_Example"
            }
          }
        ]
      },
      "CreateCreateAccountRequest": {
        "type": "object",
        "properties": {
          "account": {
            "$ref": "#/components/schemas/CreateAccount"
          }
        },
        "required": [
          "account"
        ],
        "examples": [
          {
            "CreateCreateAccountRequest_Example": {
              "$ref": "#/components/examples/CreateCreateAccountRequest_Example"
            }
          }
        ]
      },
      "AccountResponse": {
        "type": "object",
        "properties": {
          "account": {
            "$ref": "#/components/schemas/Account"
          }
        },
        "required": [
          "account"
        ],
        "examples": [
          {
            "AccountResponse_Example": {
              "$ref": "#/components/examples/AccountResponse_Example"
            }
          }
        ]
      },
      "AsyncResponsePayload": {
        "type": "object",
        "properties": {
          "async_response": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "response_url": {
                "type": "string"
              },
              "status": {
                "type": "string",
                "enum": [
                  "prequeued",
                  "pending",
                  "success",
                  "failure"
                ]
              }
            },
            "required": [
              "id",
              "response_url",
              "status"
            ],
            "additionalProperties": false
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "code": {
                  "type": "number"
                },
                "description": {
                  "type": "string"
                },
                "slug": {
                  "type": "string"
                },
                "source": {
                  "type": "string",
                  "enum": [
                    "rutter",
                    "platform",
                    "invalid_input"
                  ]
                },
                "details": null
              },
              "required": [
                "code",
                "description",
                "slug",
                "source"
              ],
              "additionalProperties": false
            }
          }
        }
      },
      "CreateAccountResponse": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/AccountResponse"
          },
          {
            "$ref": "#/components/schemas/AsyncResponsePayload"
          }
        ],
        "examples": [
          {
            "CreateAccountResponse_Example": {
              "$ref": "#/components/examples/CreateAccountResponse_Example"
            }
          }
        ]
      },
      "IdPathParam": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The unique ID of the object."
          }
        },
        "required": [
          "id"
        ]
      },
      "CommonAccountingGetParams": {
        "type": "object",
        "properties": {
          "access_token": {
            "type": "string",
            "format": "uuid",
            "description": "The access token of the connection."
          },
          "force_fetch": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ],
            "description": "Force a response even if the underlying connection hasn't finished the initial sync."
          },
          "id_type": {
            "type": "string",
            "enum": [
              "rutter",
              "platform"
            ],
            "description": "Optionally, search for a connection by Rutter ID or platform ID. Defaults to `rutter`. Not supported on QuickBooks Desktop, Sage Intacct, or Dynamics 365."
          }
        },
        "required": [
          "access_token"
        ]
      },
      "AccountResponseWithConnection": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "account": {
            "$ref": "#/components/schemas/Account"
          }
        },
        "required": [
          "connection",
          "account"
        ],
        "examples": [
          {
            "AccountResponseWithConnection_Example": {
              "$ref": "#/components/examples/AccountResponseWithConnection_Example"
            }
          }
        ]
      },
      "RutterIdPathParams": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "The Rutter generated unique ID of the object."
          }
        },
        "required": [
          "id"
        ]
      },
      "UpdateAccount": {
        "type": "object",
        "properties": {
          "subsidiary_id": {
            "type": "string",
            "format": "uuid",
            "description": "The Rutter ID of the [Subsidiary](/rest/version/subsidiaries) linked to the account. Supported for NetSuite. If a subsidiary ID is specified, the provided subsidiary as well as all children subsidiaries will be included as valid for the account. If no subsidiary info is specified, all subsidiaries will be included as valid for the account. (Note: accounts of type bank and credit_card can only have a single valid subsidiary.)"
          },
          "currency_code": {
            "type": "string",
            "enum": [
              "AED",
              "AFN",
              "ALL",
              "AMD",
              "ANG",
              "AOA",
              "ARS",
              "AUD",
              "AWG",
              "AZN",
              "BAM",
              "BBD",
              "BDT",
              "BGN",
              "BHD",
              "BIF",
              "BMD",
              "BND",
              "BOB",
              "BOV",
              "BRL",
              "BSD",
              "BTN",
              "BWP",
              "BYR",
              "BZD",
              "CAD",
              "CDF",
              "CHE",
              "CHF",
              "CHW",
              "CLF",
              "CLP",
              "CNY",
              "COP",
              "COU",
              "CRC",
              "CUC",
              "CUP",
              "CVE",
              "CZK",
              "DJF",
              "DKK",
              "DOP",
              "DZD",
              "EGP",
              "ERN",
              "ETB",
              "EUR",
              "FJD",
              "FKP",
              "GBP",
              "GEL",
              "GHS",
              "GIP",
              "GMD",
              "GNF",
              "GTQ",
              "GYD",
              "HKD",
              "HNL",
              "HRK",
              "HTG",
              "HUF",
              "IDR",
              "ILS",
              "INR",
              "IQD",
              "IRR",
              "ISK",
              "JMD",
              "JOD",
              "JPY",
              "KES",
              "KGS",
              "KHR",
              "KMF",
              "KPW",
              "KRW",
              "KWD",
              "KYD",
              "KZT",
              "LAK",
              "LBP",
              "LKR",
              "LRD",
              "LSL",
              "LTL",
              "LVL",
              "LYD",
              "MAD",
              "MDL",
              "MGA",
              "MKD",
              "MMK",
              "MNT",
              "MOP",
              "MRO",
              "MUR",
              "MVR",
              "MWK",
              "MXN",
              "MXV",
              "MYR",
              "MZN",
              "NAD",
              "NGN",
              "NIO",
              "NOK",
              "NPR",
              "NZD",
              "OMR",
              "PAB",
              "PEN",
              "PGK",
              "PHP",
              "PKR",
              "PLN",
              "PYG",
              "QAR",
              "RON",
              "RSD",
              "RUB",
              "RWF",
              "SAR",
              "SBD",
              "SCR",
              "SDG",
              "SEK",
              "SGD",
              "SHP",
              "SLL",
              "SOS",
              "SRD",
              "SSP",
              "STD",
              "SVC",
              "SYP",
              "SZL",
              "THB",
              "TJS",
              "TMT",
              "TND",
              "TOP",
              "TRY",
              "TTD",
              "TWD",
              "TZS",
              "UAH",
              "UGX",
              "USD",
              "USN",
              "USS",
              "UYI",
              "UYU",
              "UYW",
              "UZS",
              "VEF",
              "VND",
              "VUV",
              "WST",
              "XAF",
              "XAG",
              "XAU",
              "XBA",
              "XBB",
              "XBC",
              "XBD",
              "XCD",
              "XDR",
              "XFU",
              "XOF",
              "XPD",
              "XPF",
              "XPT",
              "XTS",
              "XXX",
              "YER",
              "ZAR",
              "ZMW"
            ],
            "description": "The [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code of the account."
          },
          "name": {
            "type": "string",
            "description": "The business facing name of the account."
          },
          "nominal_code": {
            "type": "string",
            "description": "The nominal code of the account used to classify accounts by department or account type."
          }
        },
        "examples": [
          {
            "UpdateAccount_Example": {
              "$ref": "#/components/examples/UpdateAccount_Example"
            }
          }
        ]
      },
      "CreateUpdateAccountRequest": {
        "type": "object",
        "properties": {
          "account": {
            "$ref": "#/components/schemas/UpdateAccount"
          }
        },
        "required": [
          "account"
        ],
        "examples": [
          {
            "CreateUpdateAccountRequest_Example": {
              "$ref": "#/components/examples/CreateUpdateAccountRequest_Example"
            }
          }
        ]
      },
      "AccountingStatementQuery": {
        "type": "object",
        "properties": {
          "start_date": {
            "type": "string",
            "description": "The first date that you will receive a financial statement for.  This means if you set a start date a year ago, you will receive 13 financial statements, one for each month."
          },
          "end_date": {
            "type": "string",
            "description": "The last date that you will receive a financial statement for.  If you set a start date of Jan 1 2021 and an end date of Jan 1 2022, you will receive the 13 months between those dates, inclusive."
          },
          "access_token": {
            "type": "string",
            "format": "uuid",
            "description": "The access token of the connection."
          },
          "expand": {
            "type": "string",
            "enum": [
              "platform_data"
            ],
            "description": "Optionally, include raw external platform data when fetching data."
          },
          "force_fetch": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ],
            "description": "Force a response even if the underlying connection hasn't finished the initial sync."
          }
        },
        "required": [
          "access_token"
        ]
      },
      "VendorAPAgingSummaryRow": {
        "type": "object",
        "properties": {
          "vendor_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "ID of the Vendor with the described liabilities"
          },
          "current": {
            "type": "string",
            "description": "money owed that is yet to be due (bill issued but not yet due)"
          },
          "days30": {
            "type": "string",
            "description": "money overdue by less than 30 days"
          },
          "days60": {
            "type": "string",
            "description": "money overdue by 31-60 days"
          },
          "days90": {
            "type": "string",
            "description": "money overdue by 61-90 days"
          },
          "days91plus": {
            "type": "string",
            "description": "Money overdue by 91 or more days"
          },
          "total": {
            "type": "string",
            "description": "sum across all previous buckets"
          }
        },
        "required": [
          "vendor_id",
          "current",
          "days30",
          "days60",
          "days90",
          "days91plus",
          "total"
        ]
      },
      "APAgingReportSummary": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The Rutter generated unique ID of the AP Aging Report."
          },
          "start_date": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp for the start date of the AP Aging Report."
          },
          "end_date": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp for the end date of the AP Aging Report."
          },
          "vendors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/VendorAPAgingSummaryRow"
            },
            "description": "The line items of the report, representing customers who have outstanding invoices."
          },
          "created_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the AP Aging report was created."
          },
          "platform_data": {
            "type": "object",
            "additionalProperties": {},
            "description": "The raw platform data corresponding to the Rutter object."
          }
        },
        "required": [
          "id",
          "start_date",
          "end_date",
          "vendors",
          "created_at"
        ],
        "examples": [
          {
            "APAgingReportSummary_Example": {
              "$ref": "#/components/examples/APAgingReportSummary_Example"
            }
          }
        ]
      },
      "APAgingReportSummaryResponseWithConnection": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "ap_aging_report_summary": {
            "$ref": "#/components/schemas/APAgingReportSummary"
          }
        },
        "required": [
          "connection",
          "ap_aging_report_summary"
        ],
        "examples": [
          {
            "APAgingReportSummaryResponseWithConnection_Example": {
              "$ref": "#/components/examples/APAgingReportSummaryResponseWithConnection_Example"
            }
          }
        ]
      },
      "CustomerARAgingSummaryRow": {
        "type": "object",
        "properties": {
          "customer_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "ID of the customer who owes the end user money"
          },
          "customer_parent_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "ID of the parent customer to the customer who owes the end user money"
          },
          "current": {
            "type": "string",
            "description": "money owed that is yet to be due (bill issued but not yet due)"
          },
          "days30": {
            "type": "string",
            "description": "money overdue by less than 30 days"
          },
          "days60": {
            "type": "string",
            "description": "money overdue by 31-60 days"
          },
          "days90": {
            "type": "string",
            "description": "money overdue by 61-90 days"
          },
          "days91plus": {
            "type": "string",
            "description": "Money overdue by 91 or more days"
          },
          "total": {
            "type": "string",
            "description": "sum across all previous buckets"
          }
        },
        "required": [
          "customer_id",
          "customer_parent_id",
          "current",
          "days30",
          "days60",
          "days90",
          "days91plus",
          "total"
        ]
      },
      "ARAgingReportSummary": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The Rutter generated unique ID of the AR Aging Report."
          },
          "start_date": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp for the start date of the AR Aging Report."
          },
          "end_date": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp for the end date of the AR Aging Report."
          },
          "customers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomerARAgingSummaryRow"
            },
            "description": "The line items of the report, representing customers who have outstanding invoices."
          },
          "created_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the AR aging report was created."
          },
          "platform_data": {
            "type": "object",
            "additionalProperties": {},
            "description": "The raw platform data corresponding to the Rutter object."
          }
        },
        "required": [
          "id",
          "start_date",
          "end_date",
          "customers",
          "created_at"
        ],
        "examples": [
          {
            "ARAgingReportSummary_Example": {
              "$ref": "#/components/examples/ARAgingReportSummary_Example"
            }
          }
        ]
      },
      "ARAgingReportSummaryResponseWithConnection": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "ar_aging_report_summary": {
            "$ref": "#/components/schemas/ARAgingReportSummary"
          }
        },
        "required": [
          "connection",
          "ar_aging_report_summary"
        ],
        "examples": [
          {
            "ARAgingReportSummaryResponseWithConnection_Example": {
              "$ref": "#/components/examples/ARAgingReportSummaryResponseWithConnection_Example"
            }
          }
        ]
      },
      "GeneralLedgerLineItem": {
        "type": "object",
        "properties": {
          "account_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "value": {
            "type": [
              "string",
              "null"
            ]
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GeneralLedgerLineItem"
            }
          },
          "prevLineItem": {
            "$ref": "#/components/schemas/GeneralLedgerLineItem"
          }
        },
        "required": [
          "account_id",
          "name",
          "value",
          "items"
        ]
      },
      "BalanceSheet": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The Rutter generated unique ID of the balance sheet."
          },
          "start_date": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp for the start date of the balance sheet."
          },
          "end_date": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp for the end date of the balance sheet."
          },
          "currency_code": {
            "type": "string",
            "description": "The [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code of the balance sheet."
          },
          "total_assets": {
            "type": [
              "string",
              "null"
            ],
            "description": "The total value of Assets."
          },
          "total_equity": {
            "type": [
              "string",
              "null"
            ],
            "description": "The total value of Equity."
          },
          "total_liabilities": {
            "type": [
              "string",
              "null"
            ],
            "description": "The total value of Liabilities."
          },
          "assets": {
            "$ref": "#/components/schemas/GeneralLedgerLineItem"
          },
          "equity": {
            "$ref": "#/components/schemas/GeneralLedgerLineItem"
          },
          "liabilities": {
            "$ref": "#/components/schemas/GeneralLedgerLineItem"
          },
          "created_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the balance sheet was created."
          },
          "updated_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the balance sheet was last updated."
          },
          "platform_data": {
            "type": "object",
            "additionalProperties": {},
            "description": "The raw platform data corresponding to the Rutter object."
          }
        },
        "required": [
          "id",
          "start_date",
          "end_date",
          "currency_code",
          "total_assets",
          "total_equity",
          "total_liabilities",
          "assets",
          "equity",
          "liabilities",
          "created_at",
          "updated_at"
        ],
        "examples": [
          {
            "BalanceSheet_Example": {
              "$ref": "#/components/examples/BalanceSheet_Example"
            }
          }
        ]
      },
      "BalanceSheetResultWithConnection": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "balance_sheets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BalanceSheet"
            }
          },
          "next_cursor": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "connection",
          "balance_sheets",
          "next_cursor"
        ],
        "examples": [
          {
            "BalanceSheetResultWithConnection_Example": {
              "$ref": "#/components/examples/BalanceSheetResultWithConnection_Example"
            }
          }
        ]
      },
      "ListPaginationParams": {
        "type": "object",
        "properties": {
          "access_token": {
            "type": "string",
            "format": "uuid",
            "description": "The access token of the connection."
          },
          "cursor": {
            "type": "string",
            "description": "The cursor to use for pagination. Use the value of `next_cursor` provided in a previous response."
          },
          "expand": {
            "type": "string",
            "enum": [
              "platform_data"
            ],
            "description": "Used to request inclusion of optional objects."
          },
          "force_fetch": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ],
            "description": "Force a response even if the underlying connection hasn't finished the initial sync."
          },
          "last_synced_at_min": {
            "type": "integer",
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum last_synced_at datetime to fetch entities from."
          },
          "limit": {
            "type": "integer",
            "description": "The number of entities to return. Defaults to 50. Maximum is 500."
          },
          "sort": {
            "type": "string",
            "description": "The field and direction to sort by (`ASC` or `DESC`), e.g. `last_synced_at ASC`. Currently supports the fields: `updated_at`, `last_synced_at`. If a field is provided but `ASC` or `DESC` is not, defaults to `ASC`. If this field is omitted, defaults, to `updated_at DESC`."
          },
          "updated_at_max": {
            "type": "integer",
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum updated_at datetime to fetch entities from."
          },
          "updated_at_min": {
            "type": "integer",
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum updated_at datetime to fetch entities from."
          }
        },
        "required": [
          "access_token"
        ]
      },
      "BankDeposit": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "The Rutter generated unique ID of the bank deposit."
          },
          "platform_id": {
            "type": "string",
            "description": "The platform specific ID of the bank deposit."
          },
          "account_id": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid",
            "description": "The Rutter ID of the [Account](/rest/version/accounts) linked to the bank deposit. Represents the asset account being debited."
          },
          "subsidiary_id": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid",
            "description": "The Rutter ID of the [Subsidiary](/rest/version/subsidiaries) linked to the bank deposit. Supported for NetSuite."
          },
          "transaction_date": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp for the transaction date of the bank deposit."
          },
          "currency_code": {
            "type": "string",
            "enum": [
              "AED",
              "AFN",
              "ALL",
              "AMD",
              "ANG",
              "AOA",
              "ARS",
              "AUD",
              "AWG",
              "AZN",
              "BAM",
              "BBD",
              "BDT",
              "BGN",
              "BHD",
              "BIF",
              "BMD",
              "BND",
              "BOB",
              "BOV",
              "BRL",
              "BSD",
              "BTN",
              "BWP",
              "BYR",
              "BZD",
              "CAD",
              "CDF",
              "CHE",
              "CHF",
              "CHW",
              "CLF",
              "CLP",
              "CNY",
              "COP",
              "COU",
              "CRC",
              "CUC",
              "CUP",
              "CVE",
              "CZK",
              "DJF",
              "DKK",
              "DOP",
              "DZD",
              "EGP",
              "ERN",
              "ETB",
              "EUR",
              "FJD",
              "FKP",
              "GBP",
              "GEL",
              "GHS",
              "GIP",
              "GMD",
              "GNF",
              "GTQ",
              "GYD",
              "HKD",
              "HNL",
              "HRK",
              "HTG",
              "HUF",
              "IDR",
              "ILS",
              "INR",
              "IQD",
              "IRR",
              "ISK",
              "JMD",
              "JOD",
              "JPY",
              "KES",
              "KGS",
              "KHR",
              "KMF",
              "KPW",
              "KRW",
              "KWD",
              "KYD",
              "KZT",
              "LAK",
              "LBP",
              "LKR",
              "LRD",
              "LSL",
              "LTL",
              "LVL",
              "LYD",
              "MAD",
              "MDL",
              "MGA",
              "MKD",
              "MMK",
              "MNT",
              "MOP",
              "MRO",
              "MUR",
              "MVR",
              "MWK",
              "MXN",
              "MXV",
              "MYR",
              "MZN",
              "NAD",
              "NGN",
              "NIO",
              "NOK",
              "NPR",
              "NZD",
              "OMR",
              "PAB",
              "PEN",
              "PGK",
              "PHP",
              "PKR",
              "PLN",
              "PYG",
              "QAR",
              "RON",
              "RSD",
              "RUB",
              "RWF",
              "SAR",
              "SBD",
              "SCR",
              "SDG",
              "SEK",
              "SGD",
              "SHP",
              "SLL",
              "SOS",
              "SRD",
              "SSP",
              "STD",
              "SVC",
              "SYP",
              "SZL",
              "THB",
              "TJS",
              "TMT",
              "TND",
              "TOP",
              "TRY",
              "TTD",
              "TWD",
              "TZS",
              "UAH",
              "UGX",
              "USD",
              "USN",
              "USS",
              "UYI",
              "UYU",
              "UYW",
              "UZS",
              "VEF",
              "VND",
              "VUV",
              "WST",
              "XAF",
              "XAG",
              "XAU",
              "XBA",
              "XBB",
              "XBC",
              "XBD",
              "XCD",
              "XDR",
              "XFU",
              "XOF",
              "XPD",
              "XPF",
              "XPT",
              "XTS",
              "XXX",
              "YER",
              "ZAR",
              "ZMW"
            ],
            "description": "The [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code of the bank deposit."
          },
          "total_amount": {
            "type": "number",
            "description": "The total amount of the sales order bank deposit."
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "description": "The memo of the bank deposit."
          },
          "linked_payments": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "uuid",
                  "description": "The Rutter generated unique ID of the bank deposit linked payment."
                },
                "payment_amount": {
                  "type": "number",
                  "description": "The amount of the linked payment."
                },
                "type": {
                  "type": "string",
                  "enum": [
                    "invoice_payment",
                    "journal_entry",
                    "unknown"
                  ],
                  "description": "The type of linked payment."
                }
              },
              "required": [
                "id",
                "payment_amount",
                "type"
              ],
              "additionalProperties": false
            },
            "description": "Any previously created transactions associated with this deposit, used for reconciliation."
          },
          "line_items": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "platform_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The platform specific ID of the bank deposit line item. Supported for QuickBooks."
                },
                "account_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "uuid",
                  "description": "The Rutter ID of the [Account](/rest/version/accounts) linked to the bank deposit line item. Represents the account being credited."
                },
                "class_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "uuid",
                  "description": "The Rutter ID of the [Class](/rest/version/classes) linked to the bank deposit line item."
                },
                "customer_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "uuid",
                  "description": "The Rutter ID of the [Customer](/rest/version/customers) linked to the bank deposit line item. Note: For QuickBooks, this field will be present if the account_id is of type `accounts_receivable`."
                },
                "department_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "uuid",
                  "description": "The Rutter ID of the [Department](/rest/version/departments) linked to the bank deposit line item."
                },
                "location_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "uuid",
                  "description": "The Rutter ID of the [Location](/rest/version/locations) linked to the bank deposit line item."
                },
                "vendor_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "uuid",
                  "description": "The Rutter ID of the [Vendor](/rest/version/vendors) linked to the bank deposit line item. Note: For QuickBooks, this field will be present if the account_id is of type `accounts_payable`."
                },
                "total_amount": {
                  "type": "number",
                  "description": "The total amount of the bank deposit line item."
                },
                "description": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The description of the bank deposit line item."
                }
              },
              "required": [
                "platform_id",
                "account_id",
                "class_id",
                "customer_id",
                "department_id",
                "location_id",
                "vendor_id",
                "total_amount",
                "description"
              ],
              "additionalProperties": false
            },
            "description": "An array of line items associated with the bank deposit."
          },
          "created_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the bank deposit was created."
          },
          "updated_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the bank deposit was last updated."
          },
          "last_synced_at": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp when the bank deposit was last synced by Rutter."
          },
          "platform_data": {
            "type": "object",
            "additionalProperties": {},
            "description": "The raw platform data corresponding to the Rutter object."
          }
        },
        "required": [
          "id",
          "platform_id",
          "account_id",
          "subsidiary_id",
          "transaction_date",
          "currency_code",
          "total_amount",
          "memo",
          "linked_payments",
          "line_items",
          "created_at",
          "updated_at",
          "last_synced_at"
        ],
        "examples": [
          {
            "BankDeposit_Example": {
              "$ref": "#/components/examples/BankDeposit_Example"
            }
          }
        ]
      },
      "ListBankDepositResponseWithConnection": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "bank_deposits": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BankDeposit"
            }
          },
          "next_cursor": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "connection",
          "bank_deposits"
        ],
        "examples": [
          {
            "ListBankDepositResponseWithConnection_Example": {
              "$ref": "#/components/examples/ListBankDepositResponseWithConnection_Example"
            }
          }
        ]
      },
      "CreateBankDeposit": {
        "type": "object",
        "properties": {
          "account_id": {
            "type": "string",
            "format": "uuid",
            "description": "The Rutter ID of the [Account](/rest/version/accounts) linked to the bank deposit. Represents the asset account being debited."
          },
          "transaction_date": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp for the transaction date of the bank deposit."
          },
          "memo": {
            "type": "string",
            "description": "The memo of the bank deposit."
          },
          "additional_fields": {
            "type": "object",
            "properties": {
              "reconciled": {
                "type": "boolean",
                "description": "Xero only: Boolean to show if transaction is reconciled. Conversion related apps can set the IsReconciled flag in scenarios when a matching bank statement line is not available."
              }
            },
            "additionalProperties": false,
            "description": "Additional fields required only for a narrow set of use cases."
          },
          "linked_payments": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "The Rutter generated unique ID of the bank deposit linked payment."
                },
                "type": {
                  "type": "string",
                  "enum": [
                    "invoice_payment",
                    "journal_entry",
                    "unknown"
                  ],
                  "description": "The type of linked payment."
                }
              },
              "required": [
                "id",
                "type"
              ],
              "additionalProperties": false
            },
            "description": "Any previously created transactions associated with this deposit, used for reconciliation."
          },
          "line_items": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "account_id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "The Rutter ID of the [Account](/rest/version/accounts) linked to the bank deposit line item. Represents the asset account being credited."
                },
                "class_id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "The Rutter ID of the [Class](/rest/version/classes) linked to the bank deposit line item."
                },
                "customer_id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "The Rutter ID of the [Customer](/rest/version/customers) linked to the bank deposit line item. Note: For QuickBooks, this field must be present if the account_id is of type `accounts_receivable`."
                },
                "department_id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "The Rutter ID of the [Department](/rest/version/departments) linked to the bank deposit line item."
                },
                "location_id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "The Rutter ID of the [Location](/rest/version/locations) linked to the bank deposit line item."
                },
                "vendor_id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "The Rutter ID of the [Vendor](/rest/version/vendors) linked to the bank deposit line item. Note: For QuickBooks, This field must be present if the account_id is of type `accounts_payable`."
                },
                "total_amount": {
                  "type": "number",
                  "description": "The total amount of the bank deposit line item."
                },
                "description": {
                  "type": "string",
                  "description": "The description of the bank deposit line item."
                }
              },
              "required": [
                "account_id",
                "total_amount"
              ],
              "additionalProperties": false
            },
            "description": "An array of line items associated with the bank deposit."
          }
        },
        "required": [
          "account_id"
        ],
        "examples": [
          {
            "CreateBankDeposit_Example": {
              "$ref": "#/components/examples/CreateBankDeposit_Example"
            }
          }
        ]
      },
      "CreateCreateBankDepositRequest": {
        "type": "object",
        "properties": {
          "bank_deposit": {
            "$ref": "#/components/schemas/CreateBankDeposit"
          }
        },
        "required": [
          "bank_deposit"
        ],
        "examples": [
          {
            "CreateCreateBankDepositRequest_Example": {
              "$ref": "#/components/examples/CreateCreateBankDepositRequest_Example"
            }
          }
        ]
      },
      "BankDepositResponse": {
        "type": "object",
        "properties": {
          "bank_deposit": {
            "$ref": "#/components/schemas/BankDeposit"
          }
        },
        "required": [
          "bank_deposit"
        ],
        "examples": [
          {
            "BankDepositResponse_Example": {
              "$ref": "#/components/examples/BankDepositResponse_Example"
            }
          }
        ]
      },
      "CreateBankDepositResponse": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/BankDepositResponse"
          },
          {
            "$ref": "#/components/schemas/AsyncResponsePayload"
          }
        ],
        "examples": [
          {
            "CreateBankDepositResponse_Example": {
              "$ref": "#/components/examples/CreateBankDepositResponse_Example"
            }
          }
        ]
      },
      "BankDepositResponseWithConnection": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "bank_deposit": {
            "$ref": "#/components/schemas/BankDeposit"
          }
        },
        "required": [
          "connection",
          "bank_deposit"
        ],
        "examples": [
          {
            "BankDepositResponseWithConnection_Example": {
              "$ref": "#/components/examples/BankDepositResponseWithConnection_Example"
            }
          }
        ]
      },
      "UpdateBankDeposit": {
        "type": "object",
        "properties": {
          "account_id": {
            "type": "string",
            "format": "uuid",
            "description": "The Rutter ID of the [Account](/rest/version/accounts) linked to the bank deposit. Represents the asset account being debited."
          },
          "transaction_date": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp for the transaction date of the bank deposit."
          },
          "memo": {
            "type": "string",
            "description": "The memo of the bank deposit"
          },
          "linked_payments": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "The Rutter generated unique ID of the bank deposit linked payment."
                },
                "type": {
                  "type": "string",
                  "enum": [
                    "invoice_payment",
                    "journal_entry",
                    "unknown"
                  ],
                  "description": "The type of linked payment"
                }
              },
              "required": [
                "id",
                "type"
              ],
              "additionalProperties": false
            },
            "description": "Any previously created transactions associated with this deposit, used for reconciliation."
          },
          "line_items": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "platform_id": {
                  "type": "string",
                  "description": "QuickBooks only: If platform ID is not passed in, a new line item will be created. Please note that it is not currently possible to remove existing line items."
                },
                "account_id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "The Rutter ID of the [Account](/rest/version/accounts) linked to the bank deposit line item. Represents the asset account being credited."
                },
                "class_id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "The Rutter ID of the [Class](/rest/version/classes) linked to the bank deposit line item."
                },
                "customer_id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "The Rutter ID of the [Customer](/rest/version/customers) linked to the bank deposit line item. Note: For QuickBooks, this field must be present if the account_id is of type `accounts_receivable`"
                },
                "department_id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "The Rutter ID of the [Department](/rest/version/departments) linked to the bank deposit line item."
                },
                "location_id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "The Rutter ID of the [Location](/rest/version/locations) linked to the bank deposit line item."
                },
                "vendor_id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "The Rutter ID of the [Vendor](/rest/version/vendors) linked to the bank deposit line item. Note: For QuickBooks, this field must be present if the account_id is of type `accounts_payable`"
                },
                "description": {
                  "type": "string",
                  "description": "The description of the bank deposit line item."
                },
                "total_amount": {
                  "type": "number",
                  "description": "The total amount of the bank deposit line item."
                }
              },
              "additionalProperties": false
            },
            "description": "An array of line items associated with the bank deposit."
          }
        },
        "examples": [
          {
            "UpdateBankDeposit_Example": {
              "$ref": "#/components/examples/UpdateBankDeposit_Example"
            }
          }
        ]
      },
      "CreateUpdateBankDepositRequest": {
        "type": "object",
        "properties": {
          "bank_deposit": {
            "$ref": "#/components/schemas/UpdateBankDeposit"
          }
        },
        "required": [
          "bank_deposit"
        ],
        "examples": [
          {
            "CreateUpdateBankDepositRequest_Example": {
              "$ref": "#/components/examples/CreateUpdateBankDepositRequest_Example"
            }
          }
        ]
      },
      "UpdateBankDepositResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "The Rutter generated unique ID of the bank deposit."
          },
          "platform_id": {
            "type": "string",
            "description": "The platform specific ID of the bank deposit."
          },
          "account_id": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid",
            "description": "The Rutter ID of the [Account](/rest/version/accounts) linked to the bank deposit. Represents the asset account being debited."
          },
          "subsidiary_id": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid",
            "description": "The Rutter ID of the [Subsidiary](/rest/version/subsidiaries) linked to the bank deposit. Supported for NetSuite."
          },
          "transaction_date": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp for the transaction date of the bank deposit."
          },
          "currency_code": {
            "type": "string",
            "enum": [
              "AED",
              "AFN",
              "ALL",
              "AMD",
              "ANG",
              "AOA",
              "ARS",
              "AUD",
              "AWG",
              "AZN",
              "BAM",
              "BBD",
              "BDT",
              "BGN",
              "BHD",
              "BIF",
              "BMD",
              "BND",
              "BOB",
              "BOV",
              "BRL",
              "BSD",
              "BTN",
              "BWP",
              "BYR",
              "BZD",
              "CAD",
              "CDF",
              "CHE",
              "CHF",
              "CHW",
              "CLF",
              "CLP",
              "CNY",
              "COP",
              "COU",
              "CRC",
              "CUC",
              "CUP",
              "CVE",
              "CZK",
              "DJF",
              "DKK",
              "DOP",
              "DZD",
              "EGP",
              "ERN",
              "ETB",
              "EUR",
              "FJD",
              "FKP",
              "GBP",
              "GEL",
              "GHS",
              "GIP",
              "GMD",
              "GNF",
              "GTQ",
              "GYD",
              "HKD",
              "HNL",
              "HRK",
              "HTG",
              "HUF",
              "IDR",
              "ILS",
              "INR",
              "IQD",
              "IRR",
              "ISK",
              "JMD",
              "JOD",
              "JPY",
              "KES",
              "KGS",
              "KHR",
              "KMF",
              "KPW",
              "KRW",
              "KWD",
              "KYD",
              "KZT",
              "LAK",
              "LBP",
              "LKR",
              "LRD",
              "LSL",
              "LTL",
              "LVL",
              "LYD",
              "MAD",
              "MDL",
              "MGA",
              "MKD",
              "MMK",
              "MNT",
              "MOP",
              "MRO",
              "MUR",
              "MVR",
              "MWK",
              "MXN",
              "MXV",
              "MYR",
              "MZN",
              "NAD",
              "NGN",
              "NIO",
              "NOK",
              "NPR",
              "NZD",
              "OMR",
              "PAB",
              "PEN",
              "PGK",
              "PHP",
              "PKR",
              "PLN",
              "PYG",
              "QAR",
              "RON",
              "RSD",
              "RUB",
              "RWF",
              "SAR",
              "SBD",
              "SCR",
              "SDG",
              "SEK",
              "SGD",
              "SHP",
              "SLL",
              "SOS",
              "SRD",
              "SSP",
              "STD",
              "SVC",
              "SYP",
              "SZL",
              "THB",
              "TJS",
              "TMT",
              "TND",
              "TOP",
              "TRY",
              "TTD",
              "TWD",
              "TZS",
              "UAH",
              "UGX",
              "USD",
              "USN",
              "USS",
              "UYI",
              "UYU",
              "UYW",
              "UZS",
              "VEF",
              "VND",
              "VUV",
              "WST",
              "XAF",
              "XAG",
              "XAU",
              "XBA",
              "XBB",
              "XBC",
              "XBD",
              "XCD",
              "XDR",
              "XFU",
              "XOF",
              "XPD",
              "XPF",
              "XPT",
              "XTS",
              "XXX",
              "YER",
              "ZAR",
              "ZMW"
            ],
            "description": "The [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code of the bank deposit."
          },
          "total_amount": {
            "type": "number",
            "description": "The total amount of the sales order bank deposit."
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "description": "The memo of the bank deposit."
          },
          "linked_payments": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "uuid",
                  "description": "The Rutter generated unique ID of the bank deposit linked payment."
                },
                "payment_amount": {
                  "type": "number",
                  "description": "The amount of the linked payment."
                },
                "type": {
                  "type": "string",
                  "enum": [
                    "invoice_payment",
                    "journal_entry",
                    "unknown"
                  ],
                  "description": "The type of linked payment."
                }
              },
              "required": [
                "id",
                "payment_amount",
                "type"
              ],
              "additionalProperties": false
            },
            "description": "Any previously created transactions associated with this deposit, used for reconciliation."
          },
          "line_items": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "platform_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The platform specific ID of the bank deposit line item. Supported for QuickBooks."
                },
                "account_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "uuid",
                  "description": "The Rutter ID of the [Account](/rest/version/accounts) linked to the bank deposit line item. Represents the account being credited."
                },
                "class_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "uuid",
                  "description": "The Rutter ID of the [Class](/rest/version/classes) linked to the bank deposit line item."
                },
                "customer_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "uuid",
                  "description": "The Rutter ID of the [Customer](/rest/version/customers) linked to the bank deposit line item. Note: For QuickBooks, this field will be present if the account_id is of type `accounts_receivable`."
                },
                "department_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "uuid",
                  "description": "The Rutter ID of the [Department](/rest/version/departments) linked to the bank deposit line item."
                },
                "location_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "uuid",
                  "description": "The Rutter ID of the [Location](/rest/version/locations) linked to the bank deposit line item."
                },
                "vendor_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "uuid",
                  "description": "The Rutter ID of the [Vendor](/rest/version/vendors) linked to the bank deposit line item. Note: For QuickBooks, this field will be present if the account_id is of type `accounts_payable`."
                },
                "total_amount": {
                  "type": "number",
                  "description": "The total amount of the bank deposit line item."
                },
                "description": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The description of the bank deposit line item."
                }
              },
              "required": [
                "platform_id",
                "account_id",
                "class_id",
                "customer_id",
                "department_id",
                "location_id",
                "vendor_id",
                "total_amount",
                "description"
              ],
              "additionalProperties": false
            },
            "description": "An array of line items associated with the bank deposit."
          },
          "created_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the bank deposit was created."
          },
          "updated_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the bank deposit was last updated."
          },
          "last_synced_at": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp when the bank deposit was last synced by Rutter."
          },
          "platform_data": {
            "type": "object",
            "additionalProperties": {},
            "description": "The raw platform data corresponding to the Rutter object."
          }
        },
        "required": [
          "id",
          "platform_id",
          "account_id",
          "subsidiary_id",
          "transaction_date",
          "currency_code",
          "total_amount",
          "memo",
          "linked_payments",
          "line_items",
          "created_at",
          "updated_at",
          "last_synced_at"
        ],
        "examples": [
          {
            "UpdateBankDepositResponse_Example": {
              "$ref": "#/components/examples/UpdateBankDepositResponse_Example"
            }
          }
        ]
      },
      "UpdateBankDepositResponseResponse": {
        "type": "object",
        "properties": {
          "bank_deposit": {
            "$ref": "#/components/schemas/UpdateBankDepositResponse"
          }
        },
        "required": [
          "bank_deposit"
        ],
        "examples": [
          {
            "UpdateBankDepositResponseResponse_Example": {
              "$ref": "#/components/examples/UpdateBankDepositResponseResponse_Example"
            }
          }
        ]
      },
      "CreateUpdateBankDepositResponseResponse": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/UpdateBankDepositResponseResponse"
          },
          {
            "$ref": "#/components/schemas/AsyncResponsePayload"
          }
        ],
        "examples": [
          {
            "CreateUpdateBankDepositResponseResponse_Example": {
              "$ref": "#/components/examples/CreateUpdateBankDepositResponseResponse_Example"
            }
          }
        ]
      },
      "PostAttachmentPathParams": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "The Rutter generated unique ID of the underlying entity type."
          }
        },
        "required": [
          "id"
        ]
      },
      "CreateAttachmentBody": {
        "type": "object",
        "properties": {
          "file": {
            "type": "string",
            "description": "The file content (PDF, JPG, CSV, TXT, etc)."
          },
          "file_name": {
            "type": "string",
            "description": "The file name of the attachment."
          }
        },
        "required": [
          "file",
          "file_name"
        ],
        "examples": [
          {
            "CreateAttachmentBody_Example": {
              "$ref": "#/components/examples/CreateAttachmentBody_Example"
            }
          }
        ]
      },
      "Attachment": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The Rutter ID of the attachment. This can be the same as the Platform ID. This ID is not guaranteed to be unique across all attachment objects for a connection."
          },
          "platform_id": {
            "type": "string",
            "description": "The platform specific ID of the attachment."
          },
          "attached_to_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The Rutter ID of the entity linked to the attachment."
          },
          "file_name": {
            "type": "string",
            "description": "The file name of the attachment."
          },
          "file_url": {
            "type": "string",
            "description": "The Rutter generated URL containing a downloadable version of the attachment."
          },
          "attached_to_type": {
            "type": [
              "string",
              "null"
            ],
            "description": "The type of entity linked to the attachment."
          },
          "created_at": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the attachment was created.\n\nNote: The following platforms dont't support this field, and may return an empty string:\n- Xero"
          }
        },
        "required": [
          "id",
          "platform_id",
          "attached_to_id",
          "file_name",
          "file_url",
          "attached_to_type",
          "created_at"
        ],
        "examples": [
          {
            "Attachment_Example": {
              "$ref": "#/components/examples/Attachment_Example"
            }
          }
        ]
      },
      "AttachmentResponse": {
        "type": "object",
        "properties": {
          "attachment": {
            "$ref": "#/components/schemas/Attachment"
          }
        },
        "required": [
          "attachment"
        ]
      },
      "PostAttachmentResponse": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/AttachmentResponse"
          },
          {
            "$ref": "#/components/schemas/AsyncResponsePayload"
          }
        ],
        "examples": [
          {
            "PostAttachmentResponse_Example": {
              "$ref": "#/components/examples/PostAttachmentResponse_Example"
            }
          }
        ]
      },
      "GetAttachmentsByEntityPathParams": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The Rutter generated unique ID of the Rutter Entity."
          }
        },
        "required": [
          "id"
        ]
      },
      "CommonGetParams": {
        "type": "object",
        "properties": {
          "access_token": {
            "type": "string",
            "format": "uuid",
            "description": "The access token of the connection."
          },
          "force_fetch": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ],
            "description": "Force a response even if the underlying connection hasn't finished the initial sync."
          }
        },
        "required": [
          "access_token"
        ]
      },
      "InvoiceAttachmentsResponse": {
        "type": "object",
        "properties": {
          "attachments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Attachment"
            }
          }
        },
        "required": [
          "attachments"
        ],
        "examples": [
          {
            "InvoiceAttachmentsResponse_Example": {
              "$ref": "#/components/examples/InvoiceAttachmentsResponse_Example"
            }
          }
        ]
      },
      "GetAttachmentFilePathParams": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The Rutter generated unique ID of the object."
          },
          "attachmentId": {
            "type": "string",
            "description": "The platform unique ID of the attachment."
          }
        },
        "required": [
          "id",
          "attachmentId"
        ]
      },
      "AttachmentFileResponse": {
        "type": "object",
        "properties": {}
      },
      "ListAttachmentsParams": {
        "type": "object",
        "properties": {
          "attached_to_id": {
            "type": "string",
            "format": "uuid",
            "description": "The ID of the entity that the attachment is attached to."
          },
          "access_token": {
            "type": "string",
            "format": "uuid",
            "description": "The access token of the connection."
          },
          "cursor": {
            "type": "string",
            "description": "The cursor to use for pagination. Use the value of `next_cursor` provided in a previous response."
          },
          "expand": {
            "type": "string",
            "enum": [
              "platform_data"
            ],
            "description": "Used to request inclusion of optional objects."
          },
          "force_fetch": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ],
            "description": "Force a response even if the underlying connection hasn't finished the initial sync."
          },
          "limit": {
            "type": "integer",
            "description": "The number of entities to return. Defaults to 50. Maximum is 500."
          },
          "updated_at_max": {
            "type": "integer",
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum updated_at datetime to fetch entities from."
          },
          "updated_at_min": {
            "type": "integer",
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum updated_at datetime to fetch entities from."
          }
        },
        "required": [
          "access_token"
        ]
      },
      "ListAttachmentsResponse": {
        "type": "object",
        "properties": {
          "attachments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Attachment"
            }
          },
          "next_cursor": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "attachments",
          "next_cursor"
        ],
        "examples": [
          {
            "ListAttachmentsResponse_Example": {
              "$ref": "#/components/examples/ListAttachmentsResponse_Example"
            }
          }
        ]
      },
      "GetAttachmentPathParams": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "The Rutter generated unique ID of the attachment."
          }
        },
        "required": [
          "id"
        ]
      },
      "BankFeedAccount": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The Rutter generated unique ID of the bank feed."
          },
          "account_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The Rutter generated unique ID of the platform account."
          },
          "internal_bank_account_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The Financial Institution's ID for the bank account."
          },
          "transaction_start_date": {
            "type": [
              "string",
              "null"
            ],
            "description": "The start date of the bank feed connection's synced historical transactions."
          },
          "bank_account_type": {
            "type": "string",
            "enum": [
              "bank",
              "credit_card"
            ],
            "description": "The Financial Institution's bank account type."
          },
          "feed_status": {
            "type": "string",
            "enum": [
              "active",
              "inactive"
            ],
            "description": "The status of the bank feed connection."
          },
          "bank_account_number": {
            "type": [
              "string",
              "null"
            ],
            "description": "The Financial Institution's account number or credit card number."
          },
          "currency_code": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "AED",
              "AFN",
              "ALL",
              "AMD",
              "ANG",
              "AOA",
              "ARS",
              "AUD",
              "AWG",
              "AZN",
              "BAM",
              "BBD",
              "BDT",
              "BGN",
              "BHD",
              "BIF",
              "BMD",
              "BND",
              "BOB",
              "BOV",
              "BRL",
              "BSD",
              "BTN",
              "BWP",
              "BYR",
              "BZD",
              "CAD",
              "CDF",
              "CHE",
              "CHF",
              "CHW",
              "CLF",
              "CLP",
              "CNY",
              "COP",
              "COU",
              "CRC",
              "CUC",
              "CUP",
              "CVE",
              "CZK",
              "DJF",
              "DKK",
              "DOP",
              "DZD",
              "EGP",
              "ERN",
              "ETB",
              "EUR",
              "FJD",
              "FKP",
              "GBP",
              "GEL",
              "GHS",
              "GIP",
              "GMD",
              "GNF",
              "GTQ",
              "GYD",
              "HKD",
              "HNL",
              "HRK",
              "HTG",
              "HUF",
              "IDR",
              "ILS",
              "INR",
              "IQD",
              "IRR",
              "ISK",
              "JMD",
              "JOD",
              "JPY",
              "KES",
              "KGS",
              "KHR",
              "KMF",
              "KPW",
              "KRW",
              "KWD",
              "KYD",
              "KZT",
              "LAK",
              "LBP",
              "LKR",
              "LRD",
              "LSL",
              "LTL",
              "LVL",
              "LYD",
              "MAD",
              "MDL",
              "MGA",
              "MKD",
              "MMK",
              "MNT",
              "MOP",
              "MRO",
              "MUR",
              "MVR",
              "MWK",
              "MXN",
              "MXV",
              "MYR",
              "MZN",
              "NAD",
              "NGN",
              "NIO",
              "NOK",
              "NPR",
              "NZD",
              "OMR",
              "PAB",
              "PEN",
              "PGK",
              "PHP",
              "PKR",
              "PLN",
              "PYG",
              "QAR",
              "RON",
              "RSD",
              "RUB",
              "RWF",
              "SAR",
              "SBD",
              "SCR",
              "SDG",
              "SEK",
              "SGD",
              "SHP",
              "SLL",
              "SOS",
              "SRD",
              "SSP",
              "STD",
              "SVC",
              "SYP",
              "SZL",
              "THB",
              "TJS",
              "TMT",
              "TND",
              "TOP",
              "TRY",
              "TTD",
              "TWD",
              "TZS",
              "UAH",
              "UGX",
              "USD",
              "USN",
              "USS",
              "UYI",
              "UYU",
              "UYW",
              "UZS",
              "VEF",
              "VND",
              "VUV",
              "WST",
              "XAF",
              "XAG",
              "XAU",
              "XBA",
              "XBB",
              "XBC",
              "XBD",
              "XCD",
              "XDR",
              "XFU",
              "XOF",
              "XPD",
              "XPF",
              "XPT",
              "XTS",
              "XXX",
              "YER",
              "ZAR",
              "ZMW"
            ],
            "description": "The [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code of the bank feed."
          },
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "The name of the bank account."
          },
          "last_synced_at": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp when the bank feed account was last synced by Rutter."
          },
          "platform_data": {
            "type": "object",
            "additionalProperties": {},
            "description": "The raw platform data corresponding to the Rutter object."
          }
        },
        "required": [
          "id",
          "account_id",
          "internal_bank_account_id",
          "transaction_start_date",
          "bank_account_type",
          "feed_status",
          "bank_account_number",
          "currency_code",
          "name",
          "last_synced_at"
        ],
        "examples": [
          {
            "BankFeedAccount_Example": {
              "$ref": "#/components/examples/BankFeedAccount_Example"
            }
          }
        ]
      },
      "ListBankFeedAccountResponseWithConnection": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "bank_feed_accounts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BankFeedAccount"
            }
          },
          "next_cursor": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "connection",
          "bank_feed_accounts"
        ],
        "examples": [
          {
            "ListBankFeedAccountResponseWithConnection_Example": {
              "$ref": "#/components/examples/ListBankFeedAccountResponseWithConnection_Example"
            }
          }
        ]
      },
      "CreateBankFeedAccount": {
        "type": "object",
        "properties": {
          "account_id": {
            "type": "string",
            "format": "uuid",
            "description": "The Rutter generated unique ID of the platform GL account. The type of this GL account should be the same as the type provided in bank_account_type. Note: this field is required for NetSuite."
          },
          "internal_bank_account_id": {
            "type": "string",
            "description": "The Financial Institution's ID for the bank account."
          },
          "transaction_start_date": {
            "type": "string",
            "description": "The start date of the bank feed connection's synced historical transactions."
          },
          "bank_account_type": {
            "type": "string",
            "enum": [
              "bank",
              "credit_card"
            ],
            "description": "The Financial Institution's bank account type."
          },
          "currency_code": {
            "type": "string",
            "enum": [
              "AED",
              "AFN",
              "ALL",
              "AMD",
              "ANG",
              "AOA",
              "ARS",
              "AUD",
              "AWG",
              "AZN",
              "BAM",
              "BBD",
              "BDT",
              "BGN",
              "BHD",
              "BIF",
              "BMD",
              "BND",
              "BOB",
              "BOV",
              "BRL",
              "BSD",
              "BTN",
              "BWP",
              "BYR",
              "BZD",
              "CAD",
              "CDF",
              "CHE",
              "CHF",
              "CHW",
              "CLF",
              "CLP",
              "CNY",
              "COP",
              "COU",
              "CRC",
              "CUC",
              "CUP",
              "CVE",
              "CZK",
              "DJF",
              "DKK",
              "DOP",
              "DZD",
              "EGP",
              "ERN",
              "ETB",
              "EUR",
              "FJD",
              "FKP",
              "GBP",
              "GEL",
              "GHS",
              "GIP",
              "GMD",
              "GNF",
              "GTQ",
              "GYD",
              "HKD",
              "HNL",
              "HRK",
              "HTG",
              "HUF",
              "IDR",
              "ILS",
              "INR",
              "IQD",
              "IRR",
              "ISK",
              "JMD",
              "JOD",
              "JPY",
              "KES",
              "KGS",
              "KHR",
              "KMF",
              "KPW",
              "KRW",
              "KWD",
              "KYD",
              "KZT",
              "LAK",
              "LBP",
              "LKR",
              "LRD",
              "LSL",
              "LTL",
              "LVL",
              "LYD",
              "MAD",
              "MDL",
              "MGA",
              "MKD",
              "MMK",
              "MNT",
              "MOP",
              "MRO",
              "MUR",
              "MVR",
              "MWK",
              "MXN",
              "MXV",
              "MYR",
              "MZN",
              "NAD",
              "NGN",
              "NIO",
              "NOK",
              "NPR",
              "NZD",
              "OMR",
              "PAB",
              "PEN",
              "PGK",
              "PHP",
              "PKR",
              "PLN",
              "PYG",
              "QAR",
              "RON",
              "RSD",
              "RUB",
              "RWF",
              "SAR",
              "SBD",
              "SCR",
              "SDG",
              "SEK",
              "SGD",
              "SHP",
              "SLL",
              "SOS",
              "SRD",
              "SSP",
              "STD",
              "SVC",
              "SYP",
              "SZL",
              "THB",
              "TJS",
              "TMT",
              "TND",
              "TOP",
              "TRY",
              "TTD",
              "TWD",
              "TZS",
              "UAH",
              "UGX",
              "USD",
              "USN",
              "USS",
              "UYI",
              "UYU",
              "UYW",
              "UZS",
              "VEF",
              "VND",
              "VUV",
              "WST",
              "XAF",
              "XAG",
              "XAU",
              "XBA",
              "XBB",
              "XBC",
              "XBD",
              "XCD",
              "XDR",
              "XFU",
              "XOF",
              "XPD",
              "XPF",
              "XPT",
              "XTS",
              "XXX",
              "YER",
              "ZAR",
              "ZMW"
            ],
            "description": "The [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code of the bank feed."
          },
          "name": {
            "type": "string",
            "minLength": 1,
            "description": "The name of the bank account."
          },
          "bank_account_number": {
            "type": "string",
            "description": "The Financial Institution's account number or credit card number."
          }
        },
        "required": [
          "bank_account_type",
          "currency_code",
          "name"
        ],
        "examples": [
          {
            "CreateBankFeedAccount_Example": {
              "$ref": "#/components/examples/CreateBankFeedAccount_Example"
            }
          }
        ]
      },
      "CreateCreateBankFeedAccountRequest": {
        "type": "object",
        "properties": {
          "bank_feed_account": {
            "$ref": "#/components/schemas/CreateBankFeedAccount"
          }
        },
        "required": [
          "bank_feed_account"
        ],
        "examples": [
          {
            "CreateCreateBankFeedAccountRequest_Example": {
              "$ref": "#/components/examples/CreateCreateBankFeedAccountRequest_Example"
            }
          }
        ]
      },
      "BankFeedAccountResponse": {
        "type": "object",
        "properties": {
          "bank_feed_account": {
            "$ref": "#/components/schemas/BankFeedAccount"
          }
        },
        "required": [
          "bank_feed_account"
        ],
        "examples": [
          {
            "BankFeedAccountResponse_Example": {
              "$ref": "#/components/examples/BankFeedAccountResponse_Example"
            }
          }
        ]
      },
      "CreateBankFeedAccountResponse": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/BankFeedAccountResponse"
          },
          {
            "$ref": "#/components/schemas/AsyncResponsePayload"
          }
        ],
        "examples": [
          {
            "CreateBankFeedAccountResponse_Example": {
              "$ref": "#/components/examples/CreateBankFeedAccountResponse_Example"
            }
          }
        ]
      },
      "BankFeedAccountResponseWithConnection": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "bank_feed_account": {
            "$ref": "#/components/schemas/BankFeedAccount"
          }
        },
        "required": [
          "connection",
          "bank_feed_account"
        ],
        "examples": [
          {
            "BankFeedAccountResponseWithConnection_Example": {
              "$ref": "#/components/examples/BankFeedAccountResponseWithConnection_Example"
            }
          }
        ]
      },
      "CreateBankFeedOTP": {
        "type": "object",
        "properties": {},
        "examples": [
          {
            "CreateBankFeedOTP_Example": {
              "$ref": "#/components/examples/CreateBankFeedOTP_Example"
            }
          }
        ]
      },
      "BankFeedOTP": {
        "type": "object",
        "properties": {
          "expires_at": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp for when the OTP expires. By default, the OTP should be valid for 1 hour."
          },
          "otp": {
            "type": "string",
            "description": "The one-time password for the bank connection."
          }
        },
        "required": [
          "expires_at",
          "otp"
        ],
        "examples": [
          {
            "BankFeedOTP_Example": {
              "$ref": "#/components/examples/BankFeedOTP_Example"
            }
          }
        ]
      },
      "BankFeedOTPResponse": {
        "type": "object",
        "properties": {
          "bank_feed_otp": {
            "$ref": "#/components/schemas/BankFeedOTP"
          }
        },
        "required": [
          "bank_feed_otp"
        ],
        "examples": [
          {
            "BankFeedOTPResponse_Example": {
              "$ref": "#/components/examples/BankFeedOTPResponse_Example"
            }
          }
        ]
      },
      "BankFeedTransaction": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The Rutter generated unique ID of the bank feed transaction."
          },
          "bank_feed_account_id": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid",
            "description": "The Rutter generated unique ID of the linked bank feed."
          },
          "transaction_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The Financial Institution's ID for the transaction."
          },
          "posted_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "When the transaction was posted by the Financial Institution."
          },
          "amount": {
            "type": [
              "number",
              "null"
            ],
            "description": "The amount of the transaction."
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "description": "The description of the transaction."
          },
          "payee": {
            "type": [
              "string",
              "null"
            ],
            "description": "The payee of the transaction."
          },
          "platform_ingested": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Indicates whether the transaction has been ingested by the platform."
          },
          "transaction_type": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "credit",
              "debit",
              "fee",
              "deposit",
              "transfer",
              "payment",
              "interest"
            ],
            "description": "The type of the transaction."
          },
          "last_synced_at": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp when the bank feed transaction was last synced by Rutter."
          }
        },
        "required": [
          "id",
          "bank_feed_account_id",
          "transaction_id",
          "posted_at",
          "amount",
          "description",
          "payee",
          "platform_ingested",
          "transaction_type",
          "last_synced_at"
        ],
        "examples": [
          {
            "BankFeedTransaction_Example": {
              "$ref": "#/components/examples/BankFeedTransaction_Example"
            }
          }
        ]
      },
      "ListBankFeedTransactionResponseWithConnection": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "bank_feed_transactions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BankFeedTransaction"
            }
          },
          "next_cursor": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "connection",
          "bank_feed_transactions"
        ],
        "examples": [
          {
            "ListBankFeedTransactionResponseWithConnection_Example": {
              "$ref": "#/components/examples/ListBankFeedTransactionResponseWithConnection_Example"
            }
          }
        ]
      },
      "CreateBankFeedTransactions": {
        "type": "object",
        "properties": {
          "bank_feed_account_id": {
            "type": "string",
            "format": "uuid",
            "description": "The Rutter generated unique ID of the linked bank feed."
          },
          "transactions": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "transaction_id": {
                  "type": "string",
                  "description": "The Financial Institution's ID for the transaction."
                },
                "posted_at": {
                  "type": "string",
                  "description": "When the transaction was posted by the Financial Institution."
                },
                "amount": {
                  "type": "number",
                  "description": "The amount of the transaction."
                },
                "description": {
                  "type": "string",
                  "description": "The description of the transaction."
                },
                "transaction_type": {
                  "type": "string",
                  "enum": [
                    "credit",
                    "debit",
                    "fee",
                    "deposit",
                    "transfer",
                    "payment",
                    "interest"
                  ],
                  "description": "The type of the transaction."
                },
                "payee": {
                  "type": "string",
                  "description": "The payee of the transaction."
                }
              },
              "required": [
                "transaction_id",
                "posted_at",
                "amount",
                "description",
                "transaction_type"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "bank_feed_account_id",
          "transactions"
        ],
        "examples": [
          {
            "CreateBankFeedTransactions_Example": {
              "$ref": "#/components/examples/CreateBankFeedTransactions_Example"
            }
          }
        ]
      },
      "CreateCreateBankFeedTransactionsRequest": {
        "type": "object",
        "properties": {
          "bank_feed_transactions": {
            "$ref": "#/components/schemas/CreateBankFeedTransactions"
          }
        },
        "required": [
          "bank_feed_transactions"
        ],
        "examples": [
          {
            "CreateCreateBankFeedTransactionsRequest_Example": {
              "$ref": "#/components/examples/CreateCreateBankFeedTransactionsRequest_Example"
            }
          }
        ]
      },
      "CreateBankFeedTransactionsResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The Rutter generated unique ID of the bank feed transaction."
          },
          "bank_feed_account_id": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid",
            "description": "The Rutter generated unique ID of the linked bank feed."
          },
          "transaction_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The Financial Institution's ID for the transaction."
          },
          "posted_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "When the transaction was posted by the Financial Institution."
          },
          "amount": {
            "type": [
              "number",
              "null"
            ],
            "description": "The amount of the transaction."
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "description": "The description of the transaction."
          },
          "duplicate": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Indicates whether the transaction was already supplied to Rutter in a previous POST request. If this is true, the transaction returned will be the previously synced data - it will not be overwritten by the most recent POST."
          },
          "payee": {
            "type": [
              "string",
              "null"
            ],
            "description": "The payee of the transaction."
          },
          "platform_ingested": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Indicates whether the transaction has been ingested by the platform."
          },
          "transaction_type": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "credit",
              "debit",
              "fee",
              "deposit",
              "transfer",
              "payment",
              "interest"
            ],
            "description": "The type of the transaction."
          },
          "last_synced_at": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp when the bank feed transaction was last synced by Rutter."
          }
        },
        "required": [
          "id",
          "bank_feed_account_id",
          "transaction_id",
          "posted_at",
          "amount",
          "description",
          "duplicate",
          "payee",
          "platform_ingested",
          "transaction_type",
          "last_synced_at"
        ],
        "examples": [
          {
            "CreateBankFeedTransactionsResponse_Example": {
              "$ref": "#/components/examples/CreateBankFeedTransactionsResponse_Example"
            }
          }
        ]
      },
      "ListCreateBankFeedTransactionsResponseResponse": {
        "type": "object",
        "properties": {
          "bank_feed_transactions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CreateBankFeedTransactionsResponse"
            }
          }
        },
        "required": [
          "bank_feed_transactions"
        ],
        "examples": [
          {
            "ListCreateBankFeedTransactionsResponseResponse_Example": {
              "$ref": "#/components/examples/ListCreateBankFeedTransactionsResponseResponse_Example"
            }
          }
        ]
      },
      "BankFeedTransactionResponseWithConnection": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "bank_feed_transaction": {
            "$ref": "#/components/schemas/BankFeedTransaction"
          }
        },
        "required": [
          "connection",
          "bank_feed_transaction"
        ],
        "examples": [
          {
            "BankFeedTransactionResponseWithConnection_Example": {
              "$ref": "#/components/examples/BankFeedTransactionResponseWithConnection_Example"
            }
          }
        ]
      },
      "BankTransfer": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The Rutter generated unique ID of the bank transfer."
          },
          "platform_id": {
            "type": "string",
            "description": "The platform specific ID of the bank transfer."
          },
          "class_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The Rutter ID of the [Class](/rest/version/classes) linked to the bank transfer line item."
          },
          "credit_account_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The Rutter ID of the [Account](/rest/version/accounts) linked to the bank transfer. Represents the asset account being credited."
          },
          "debit_account_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The Rutter ID of the [Account](/rest/version/accounts) linked to the bank transfer. Represents the asset account being debit."
          },
          "department_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The Rutter ID of the [Department](/rest/version/departments) linked to the bank transfer line item."
          },
          "location_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The Rutter ID of the [Location](/rest/version/locations) linked to the bank transfer line item."
          },
          "subsidiary_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The Rutter ID of the [Subsidiary](/rest/version/subsidiaries) linked to the bank transfer. Supported for NetSuite."
          },
          "transaction_date": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp for the transaction date of the bank transfer."
          },
          "currency_code": {
            "type": "string",
            "enum": [
              "AED",
              "AFN",
              "ALL",
              "AMD",
              "ANG",
              "AOA",
              "ARS",
              "AUD",
              "AWG",
              "AZN",
              "BAM",
              "BBD",
              "BDT",
              "BGN",
              "BHD",
              "BIF",
              "BMD",
              "BND",
              "BOB",
              "BOV",
              "BRL",
              "BSD",
              "BTN",
              "BWP",
              "BYR",
              "BZD",
              "CAD",
              "CDF",
              "CHE",
              "CHF",
              "CHW",
              "CLF",
              "CLP",
              "CNY",
              "COP",
              "COU",
              "CRC",
              "CUC",
              "CUP",
              "CVE",
              "CZK",
              "DJF",
              "DKK",
              "DOP",
              "DZD",
              "EGP",
              "ERN",
              "ETB",
              "EUR",
              "FJD",
              "FKP",
              "GBP",
              "GEL",
              "GHS",
              "GIP",
              "GMD",
              "GNF",
              "GTQ",
              "GYD",
              "HKD",
              "HNL",
              "HRK",
              "HTG",
              "HUF",
              "IDR",
              "ILS",
              "INR",
              "IQD",
              "IRR",
              "ISK",
              "JMD",
              "JOD",
              "JPY",
              "KES",
              "KGS",
              "KHR",
              "KMF",
              "KPW",
              "KRW",
              "KWD",
              "KYD",
              "KZT",
              "LAK",
              "LBP",
              "LKR",
              "LRD",
              "LSL",
              "LTL",
              "LVL",
              "LYD",
              "MAD",
              "MDL",
              "MGA",
              "MKD",
              "MMK",
              "MNT",
              "MOP",
              "MRO",
              "MUR",
              "MVR",
              "MWK",
              "MXN",
              "MXV",
              "MYR",
              "MZN",
              "NAD",
              "NGN",
              "NIO",
              "NOK",
              "NPR",
              "NZD",
              "OMR",
              "PAB",
              "PEN",
              "PGK",
              "PHP",
              "PKR",
              "PLN",
              "PYG",
              "QAR",
              "RON",
              "RSD",
              "RUB",
              "RWF",
              "SAR",
              "SBD",
              "SCR",
              "SDG",
              "SEK",
              "SGD",
              "SHP",
              "SLL",
              "SOS",
              "SRD",
              "SSP",
              "STD",
              "SVC",
              "SYP",
              "SZL",
              "THB",
              "TJS",
              "TMT",
              "TND",
              "TOP",
              "TRY",
              "TTD",
              "TWD",
              "TZS",
              "UAH",
              "UGX",
              "USD",
              "USN",
              "USS",
              "UYI",
              "UYU",
              "UYW",
              "UZS",
              "VEF",
              "VND",
              "VUV",
              "WST",
              "XAF",
              "XAG",
              "XAU",
              "XBA",
              "XBB",
              "XBC",
              "XBD",
              "XCD",
              "XDR",
              "XFU",
              "XOF",
              "XPD",
              "XPF",
              "XPT",
              "XTS",
              "XXX",
              "YER",
              "ZAR",
              "ZMW"
            ],
            "description": "The [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code of the bank transfer."
          },
          "total_amount": {
            "type": "number",
            "description": "The total amount of the bank transfer."
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "description": "The memo of the bank transfer."
          },
          "created_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the bank transfer was created."
          },
          "updated_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the bank transfer was last updated."
          },
          "last_synced_at": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp when the bank transfer was last synced by Rutter."
          },
          "platform_data": {
            "type": "object",
            "additionalProperties": {},
            "description": "The raw platform data corresponding to the Rutter object."
          }
        },
        "required": [
          "id",
          "platform_id",
          "class_id",
          "credit_account_id",
          "debit_account_id",
          "department_id",
          "location_id",
          "subsidiary_id",
          "transaction_date",
          "currency_code",
          "total_amount",
          "memo",
          "created_at",
          "updated_at",
          "last_synced_at"
        ],
        "examples": [
          {
            "BankTransfer_Example": {
              "$ref": "#/components/examples/BankTransfer_Example"
            }
          }
        ]
      },
      "ListBankTransferResponseWithConnection": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "bank_transfers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BankTransfer"
            }
          },
          "next_cursor": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "connection",
          "bank_transfers"
        ],
        "examples": [
          {
            "ListBankTransferResponseWithConnection_Example": {
              "$ref": "#/components/examples/ListBankTransferResponseWithConnection_Example"
            }
          }
        ]
      },
      "CreateBankTransfer": {
        "type": "object",
        "properties": {
          "class_id": {
            "type": "string",
            "format": "uuid",
            "description": "The Rutter ID of the [Class](/rest/version/classes) linked to the bank transfer line item."
          },
          "credit_account_id": {
            "type": "string",
            "format": "uuid",
            "description": "The Rutter ID of the [Account](/rest/version/accounts) linked to the bank transfer. Represents the asset account being credited."
          },
          "debit_account_id": {
            "type": "string",
            "format": "uuid",
            "description": "The Rutter ID of the [Account](/rest/version/accounts) linked to the bank transfer. Represents the asset account being debited."
          },
          "department_id": {
            "type": "string",
            "format": "uuid",
            "description": "The Rutter ID of the [Department](/rest/version/departments) linked to the bank transfer line item."
          },
          "location_id": {
            "type": "string",
            "format": "uuid",
            "description": "The Rutter ID of the [Location](/rest/version/locations) linked to the bank transfer line item."
          },
          "transaction_date": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp for the transaction date of the bank transfer."
          },
          "total_amount": {
            "type": "number",
            "description": "The total amount of the bank transfer."
          },
          "memo": {
            "type": "string",
            "description": "The memo of the bank transfer."
          },
          "additional_fields": {
            "type": "object",
            "properties": {
              "reconciled_for_destination_account": {
                "type": "boolean",
                "description": "If true, this will mark a transaction as reconciled for the destination account. Supported for Xero."
              },
              "reconciled_for_source_account": {
                "type": "boolean",
                "description": "If true, this will mark a transaction as reconciled for the source account. Supported for Xero."
              }
            },
            "additionalProperties": false,
            "description": "Additional fields required only for a narrow set of use cases."
          }
        },
        "required": [
          "credit_account_id",
          "debit_account_id",
          "total_amount"
        ],
        "examples": [
          {
            "CreateBankTransfer_Example": {
              "$ref": "#/components/examples/CreateBankTransfer_Example"
            }
          }
        ]
      },
      "CreateCreateBankTransferRequest": {
        "type": "object",
        "properties": {
          "bank_transfer": {
            "$ref": "#/components/schemas/CreateBankTransfer"
          }
        },
        "required": [
          "bank_transfer"
        ],
        "examples": [
          {
            "CreateCreateBankTransferRequest_Example": {
              "$ref": "#/components/examples/CreateCreateBankTransferRequest_Example"
            }
          }
        ]
      },
      "BankTransferResponse": {
        "type": "object",
        "properties": {
          "bank_transfer": {
            "$ref": "#/components/schemas/BankTransfer"
          }
        },
        "required": [
          "bank_transfer"
        ],
        "examples": [
          {
            "BankTransferResponse_Example": {
              "$ref": "#/components/examples/BankTransferResponse_Example"
            }
          }
        ]
      },
      "CreateBankTransferResponse": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/BankTransferResponse"
          },
          {
            "$ref": "#/components/schemas/AsyncResponsePayload"
          }
        ],
        "examples": [
          {
            "CreateBankTransferResponse_Example": {
              "$ref": "#/components/examples/CreateBankTransferResponse_Example"
            }
          }
        ]
      },
      "BankTransferResponseWithConnection": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "bank_transfer": {
            "$ref": "#/components/schemas/BankTransfer"
          }
        },
        "required": [
          "connection",
          "bank_transfer"
        ],
        "examples": [
          {
            "BankTransferResponseWithConnection_Example": {
              "$ref": "#/components/examples/BankTransferResponseWithConnection_Example"
            }
          }
        ]
      },
      "UpdateBankTransfer": {
        "type": "object",
        "properties": {
          "credit_account_id": {
            "type": "string",
            "format": "uuid",
            "description": "The Rutter ID of the [Account](/rest/version/accounts) linked to the bank transfer. Represents the asset account being credited."
          },
          "debit_account_id": {
            "type": "string",
            "format": "uuid",
            "description": "The Rutter ID of the [Account](/rest/version/accounts) linked to the bank transfer. Represents the asset account being debited."
          },
          "transaction_date": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp for the transaction date of the bank transfer."
          },
          "total_amount": {
            "type": "number",
            "description": "The total amount of the bank transfer."
          },
          "memo": {
            "type": "string",
            "description": "The memo of the bank transfer."
          }
        },
        "required": [
          "credit_account_id",
          "debit_account_id",
          "total_amount"
        ],
        "examples": [
          {
            "UpdateBankTransfer_Example": {
              "$ref": "#/components/examples/UpdateBankTransfer_Example"
            }
          }
        ]
      },
      "CreateUpdateBankTransferRequest": {
        "type": "object",
        "properties": {
          "bank_transfer": {
            "$ref": "#/components/schemas/UpdateBankTransfer"
          }
        },
        "required": [
          "bank_transfer"
        ],
        "examples": [
          {
            "CreateUpdateBankTransferRequest_Example": {
              "$ref": "#/components/examples/CreateUpdateBankTransferRequest_Example"
            }
          }
        ]
      },
      "CreateBillCreditApplication": {
        "type": "object",
        "properties": {
          "bill_credit_memo_id": {
            "type": "string",
            "format": "uuid",
            "description": "The Rutter ID of the [Bill Credit Memo](/rest/version/bill-credit-memos) linked to the bill credit application."
          },
          "vendor_id": {
            "type": "string",
            "format": "uuid",
            "description": "The Rutter ID of the [Vendor](/rest/version/vendors) linked to the bill credit application."
          },
          "transaction_date": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp for the bill credit application."
          },
          "currency_code": {
            "type": "string",
            "enum": [
              "AED",
              "AFN",
              "ALL",
              "AMD",
              "ANG",
              "AOA",
              "ARS",
              "AUD",
              "AWG",
              "AZN",
              "BAM",
              "BBD",
              "BDT",
              "BGN",
              "BHD",
              "BIF",
              "BMD",
              "BND",
              "BOB",
              "BOV",
              "BRL",
              "BSD",
              "BTN",
              "BWP",
              "BYR",
              "BZD",
              "CAD",
              "CDF",
              "CHE",
              "CHF",
              "CHW",
              "CLF",
              "CLP",
              "CNY",
              "COP",
              "COU",
              "CRC",
              "CUC",
              "CUP",
              "CVE",
              "CZK",
              "DJF",
              "DKK",
              "DOP",
              "DZD",
              "EGP",
              "ERN",
              "ETB",
              "EUR",
              "FJD",
              "FKP",
              "GBP",
              "GEL",
              "GHS",
              "GIP",
              "GMD",
              "GNF",
              "GTQ",
              "GYD",
              "HKD",
              "HNL",
              "HRK",
              "HTG",
              "HUF",
              "IDR",
              "ILS",
              "INR",
              "IQD",
              "IRR",
              "ISK",
              "JMD",
              "JOD",
              "JPY",
              "KES",
              "KGS",
              "KHR",
              "KMF",
              "KPW",
              "KRW",
              "KWD",
              "KYD",
              "KZT",
              "LAK",
              "LBP",
              "LKR",
              "LRD",
              "LSL",
              "LTL",
              "LVL",
              "LYD",
              "MAD",
              "MDL",
              "MGA",
              "MKD",
              "MMK",
              "MNT",
              "MOP",
              "MRO",
              "MUR",
              "MVR",
              "MWK",
              "MXN",
              "MXV",
              "MYR",
              "MZN",
              "NAD",
              "NGN",
              "NIO",
              "NOK",
              "NPR",
              "NZD",
              "OMR",
              "PAB",
              "PEN",
              "PGK",
              "PHP",
              "PKR",
              "PLN",
              "PYG",
              "QAR",
              "RON",
              "RSD",
              "RUB",
              "RWF",
              "SAR",
              "SBD",
              "SCR",
              "SDG",
              "SEK",
              "SGD",
              "SHP",
              "SLL",
              "SOS",
              "SRD",
              "SSP",
              "STD",
              "SVC",
              "SYP",
              "SZL",
              "THB",
              "TJS",
              "TMT",
              "TND",
              "TOP",
              "TRY",
              "TTD",
              "TWD",
              "TZS",
              "UAH",
              "UGX",
              "USD",
              "USN",
              "USS",
              "UYI",
              "UYU",
              "UYW",
              "UZS",
              "VEF",
              "VND",
              "VUV",
              "WST",
              "XAF",
              "XAG",
              "XAU",
              "XBA",
              "XBB",
              "XBC",
              "XBD",
              "XCD",
              "XDR",
              "XFU",
              "XOF",
              "XPD",
              "XPF",
              "XPT",
              "XTS",
              "XXX",
              "YER",
              "ZAR",
              "ZMW"
            ],
            "description": "The [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code of the bill credit application."
          },
          "memo": {
            "type": "string",
            "description": "The description of the bill credit application."
          },
          "additional_fields": {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "format": "uuid",
                "description": "Rutter ID associated with a bank or credit_card account [account](/rest/version/account). Supported for FreeAgent, QuickBooks, and QuickBooks Desktop."
              }
            },
            "additionalProperties": false,
            "description": "Additional fields required only for a narrow set of use cases."
          },
          "linked_bills": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "format": "uuid"
                },
                "allocated_amount": {
                  "type": "number",
                  "exclusiveMinimum": true,
                  "minimum": 0
                }
              },
              "required": [
                "id",
                "allocated_amount"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "bill_credit_memo_id",
          "vendor_id",
          "transaction_date",
          "currency_code",
          "linked_bills"
        ],
        "examples": [
          {
            "CreateBillCreditApplication_Example": {
              "$ref": "#/components/examples/CreateBillCreditApplication_Example"
            }
          }
        ]
      },
      "CreateCreateBillCreditApplicationRequest": {
        "type": "object",
        "properties": {
          "bill_credit_application": {
            "$ref": "#/components/schemas/CreateBillCreditApplication"
          }
        },
        "required": [
          "bill_credit_application"
        ],
        "examples": [
          {
            "CreateCreateBillCreditApplicationRequest_Example": {
              "$ref": "#/components/examples/CreateCreateBillCreditApplicationRequest_Example"
            }
          }
        ]
      },
      "BillCreditApplication": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Whether the request was successful."
          }
        },
        "required": [
          "success"
        ],
        "examples": [
          {
            "BillCreditApplication_Example": {
              "$ref": "#/components/examples/BillCreditApplication_Example"
            }
          }
        ]
      },
      "BillCreditApplicationResponse": {
        "type": "object",
        "properties": {
          "bill_credit_application": {
            "$ref": "#/components/schemas/BillCreditApplication"
          }
        },
        "required": [
          "bill_credit_application"
        ],
        "examples": [
          {
            "BillCreditApplicationResponse_Example": {
              "$ref": "#/components/examples/BillCreditApplicationResponse_Example"
            }
          }
        ]
      },
      "CreateBillCreditApplicationResponse": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/BillCreditApplicationResponse"
          },
          {
            "$ref": "#/components/schemas/AsyncResponsePayload"
          }
        ],
        "examples": [
          {
            "CreateBillCreditApplicationResponse_Example": {
              "$ref": "#/components/examples/CreateBillCreditApplicationResponse_Example"
            }
          }
        ]
      },
      "BillCreditMemo": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The Rutter generated unique ID of the bill credit memo."
          },
          "platform_id": {
            "type": "string",
            "description": "The platform specific ID of the bill credit memo."
          },
          "account_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The Rutter ID of the [Account](/rest/version/accounts) linked to the bill credit memo. Represents the account being credited. This is typically the primary Accounts Payable account."
          },
          "vendor_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The Rutter ID of the [Vendor](/rest/version/vendors) linked to the bill credit memo."
          },
          "issue_date": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp for when the bill credit memo was issued."
          },
          "document_number": {
            "type": "string",
            "description": "The buyer facing document number of the bill credit memo."
          },
          "remaining_amount": {
            "type": "number",
            "description": "The remaining unapplied amount of the bill credit memo."
          },
          "status": {
            "type": "string",
            "enum": [
              "open",
              "partially_paid",
              "paid",
              "void",
              "draft",
              "unknown",
              "submitted"
            ],
            "description": "The status of the bill credit memo."
          },
          "total_amount": {
            "type": "number",
            "description": "The total amount of the bill credit memo."
          },
          "currency_code": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "AED",
              "AFN",
              "ALL",
              "AMD",
              "ANG",
              "AOA",
              "ARS",
              "AUD",
              "AWG",
              "AZN",
              "BAM",
              "BBD",
              "BDT",
              "BGN",
              "BHD",
              "BIF",
              "BMD",
              "BND",
              "BOB",
              "BOV",
              "BRL",
              "BSD",
              "BTN",
              "BWP",
              "BYR",
              "BZD",
              "CAD",
              "CDF",
              "CHE",
              "CHF",
              "CHW",
              "CLF",
              "CLP",
              "CNY",
              "COP",
              "COU",
              "CRC",
              "CUC",
              "CUP",
              "CVE",
              "CZK",
              "DJF",
              "DKK",
              "DOP",
              "DZD",
              "EGP",
              "ERN",
              "ETB",
              "EUR",
              "FJD",
              "FKP",
              "GBP",
              "GEL",
              "GHS",
              "GIP",
              "GMD",
              "GNF",
              "GTQ",
              "GYD",
              "HKD",
              "HNL",
              "HRK",
              "HTG",
              "HUF",
              "IDR",
              "ILS",
              "INR",
              "IQD",
              "IRR",
              "ISK",
              "JMD",
              "JOD",
              "JPY",
              "KES",
              "KGS",
              "KHR",
              "KMF",
              "KPW",
              "KRW",
              "KWD",
              "KYD",
              "KZT",
              "LAK",
              "LBP",
              "LKR",
              "LRD",
              "LSL",
              "LTL",
              "LVL",
              "LYD",
              "MAD",
              "MDL",
              "MGA",
              "MKD",
              "MMK",
              "MNT",
              "MOP",
              "MRO",
              "MUR",
              "MVR",
              "MWK",
              "MXN",
              "MXV",
              "MYR",
              "MZN",
              "NAD",
              "NGN",
              "NIO",
              "NOK",
              "NPR",
              "NZD",
              "OMR",
              "PAB",
              "PEN",
              "PGK",
              "PHP",
              "PKR",
              "PLN",
              "PYG",
              "QAR",
              "RON",
              "RSD",
              "RUB",
              "RWF",
              "SAR",
              "SBD",
              "SCR",
              "SDG",
              "SEK",
              "SGD",
              "SHP",
              "SLL",
              "SOS",
              "SRD",
              "SSP",
              "STD",
              "SVC",
              "SYP",
              "SZL",
              "THB",
              "TJS",
              "TMT",
              "TND",
              "TOP",
              "TRY",
              "TTD",
              "TWD",
              "TZS",
              "UAH",
              "UGX",
              "USD",
              "USN",
              "USS",
              "UYI",
              "UYU",
              "UYW",
              "UZS",
              "VEF",
              "VND",
              "VUV",
              "WST",
              "XAF",
              "XAG",
              "XAU",
              "XBA",
              "XBB",
              "XBC",
              "XBD",
              "XCD",
              "XDR",
              "XFU",
              "XOF",
              "XPD",
              "XPF",
              "XPT",
              "XTS",
              "XXX",
              "YER",
              "ZAR",
              "ZMW"
            ],
            "description": "The [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code of the bill credit memo."
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "description": "The memo of the bill credit memo"
          },
          "linked_bills": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The Rutter ID of the [Bill](/rest/version/bills) linked to the bill credit memo."
                },
                "allocated_date": {
                  "type": "string",
                  "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp for when the bill credit memo was allocated."
                },
                "allocated_amount": {
                  "type": "number",
                  "description": "The credit amount allocated to the bill."
                }
              },
              "required": [
                "id",
                "allocated_date",
                "allocated_amount"
              ],
              "additionalProperties": false
            },
            "description": "An array of Rutter IDs of [BillCreditMemo Payments](/reference/BillCreditMemo-payments) applied against the BillCreditMemo."
          },
          "line_items": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "account_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The Rutter ID of the [Account](/rest/version/accounts) linked to the bill line item."
                },
                "class_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The Rutter ID of the [Class](/rest/version/classes) linked to the bill line item. Supported for NetSuite, QuickBooks, and Xero."
                },
                "customer_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The Rutter ID of the [Customer](/rest/version/customers) linked to the bill line item. Supported for QuickBooks."
                },
                "department_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The Rutter ID of the [Department](/rest/version/departments) linked to the bill line item. Supported for NetSuite, QuickBooks, and Sage Intacct."
                },
                "location_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The Rutter ID of the [Location](/rest/version/locations) linked to the bill line item. Supported for NetSuite and Sage Intacct."
                },
                "tax_rate_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The Rutter ID of the [Tax Rate](/rest/version/tax-rates) linked to the bill line item."
                },
                "description": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The description of the bill line item."
                },
                "discount_amount": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "description": "The discount amount applied to the bill line item."
                },
                "discount_percentage": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "description": "The percentage discount applied to the bill line item."
                },
                "sub_total": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "description": "The subtotal of the bill line item, without tax."
                },
                "tax_amount": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "description": "The tax amount applied to the bill line item."
                },
                "total_amount": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "description": "The total amount of the bill line item. The total amount for line items can either be inclusive of tax, or exclusive of tax. If it's exclusive, it will be the same amount as `sub_total`; if inclusive, it will differ. If the `sub_total` field is null, it cannot be determined."
                },
                "item": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "id": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "The Rutter ID of the [Item](/rest/version/items) linked to the bill line item."
                    },
                    "quantity": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "The quantity of items in the bill line item."
                    },
                    "unit_amount": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "The unit amount of the items in the bill line item."
                    }
                  },
                  "required": [
                    "id",
                    "quantity",
                    "unit_amount"
                  ],
                  "additionalProperties": false,
                  "description": "The product or service associated with the bill line item. Supported for Dynamics Business Central, FreeAgent, NetSuite, QuickBooks, QuickBooks Desktop, and Xero."
                }
              },
              "required": [
                "account_id",
                "class_id",
                "customer_id",
                "department_id",
                "location_id",
                "tax_rate_id",
                "description",
                "discount_amount",
                "discount_percentage",
                "sub_total",
                "tax_amount",
                "total_amount",
                "item"
              ],
              "additionalProperties": false
            },
            "description": "An array of line items associated with the BillCreditMemo."
          },
          "created_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the bill credit memo was created."
          },
          "updated_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the bill credit memo was last updated."
          },
          "last_synced_at": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp when the bill credit memo was last synced by Rutter."
          },
          "platform_data": {
            "type": "object",
            "additionalProperties": {},
            "description": "The raw platform data corresponding to the Rutter object."
          }
        },
        "required": [
          "id",
          "platform_id",
          "account_id",
          "vendor_id",
          "issue_date",
          "document_number",
          "remaining_amount",
          "status",
          "total_amount",
          "currency_code",
          "memo",
          "linked_bills",
          "line_items",
          "created_at",
          "updated_at",
          "last_synced_at"
        ],
        "examples": [
          {
            "BillCreditMemo_Example": {
              "$ref": "#/components/examples/BillCreditMemo_Example"
            }
          }
        ]
      },
      "ListBillCreditMemoResponseWithConnection": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "bill_credit_memos": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BillCreditMemo"
            }
          },
          "next_cursor": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "connection",
          "bill_credit_memos"
        ],
        "examples": [
          {
            "ListBillCreditMemoResponseWithConnection_Example": {
              "$ref": "#/components/examples/ListBillCreditMemoResponseWithConnection_Example"
            }
          }
        ]
      },
      "CreateBillCreditMemo": {
        "type": "object",
        "properties": {
          "account_id": {
            "type": "string",
            "format": "uuid",
            "description": "The Rutter ID of the [Account](/rest/version/accounts) linked to the bill credit memo. Represents the account being credited. This is typically the primary Accounts Payable account."
          },
          "vendor_id": {
            "type": "string",
            "format": "uuid",
            "description": "The Rutter ID of the [Vendor](/rest/version/vendors) linked to the bill credit memo."
          },
          "issue_date": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp for when the bill credit memo was issued."
          },
          "currency_code": {
            "type": "string",
            "enum": [
              "AED",
              "AFN",
              "ALL",
              "AMD",
              "ANG",
              "AOA",
              "ARS",
              "AUD",
              "AWG",
              "AZN",
              "BAM",
              "BBD",
              "BDT",
              "BGN",
              "BHD",
              "BIF",
              "BMD",
              "BND",
              "BOB",
              "BOV",
              "BRL",
              "BSD",
              "BTN",
              "BWP",
              "BYR",
              "BZD",
              "CAD",
              "CDF",
              "CHE",
              "CHF",
              "CHW",
              "CLF",
              "CLP",
              "CNY",
              "COP",
              "COU",
              "CRC",
              "CUC",
              "CUP",
              "CVE",
              "CZK",
              "DJF",
              "DKK",
              "DOP",
              "DZD",
              "EGP",
              "ERN",
              "ETB",
              "EUR",
              "FJD",
              "FKP",
              "GBP",
              "GEL",
              "GHS",
              "GIP",
              "GMD",
              "GNF",
              "GTQ",
              "GYD",
              "HKD",
              "HNL",
              "HRK",
              "HTG",
              "HUF",
              "IDR",
              "ILS",
              "INR",
              "IQD",
              "IRR",
              "ISK",
              "JMD",
              "JOD",
              "JPY",
              "KES",
              "KGS",
              "KHR",
              "KMF",
              "KPW",
              "KRW",
              "KWD",
              "KYD",
              "KZT",
              "LAK",
              "LBP",
              "LKR",
              "LRD",
              "LSL",
              "LTL",
              "LVL",
              "LYD",
              "MAD",
              "MDL",
              "MGA",
              "MKD",
              "MMK",
              "MNT",
              "MOP",
              "MRO",
              "MUR",
              "MVR",
              "MWK",
              "MXN",
              "MXV",
              "MYR",
              "MZN",
              "NAD",
              "NGN",
              "NIO",
              "NOK",
              "NPR",
              "NZD",
              "OMR",
              "PAB",
              "PEN",
              "PGK",
              "PHP",
              "PKR",
              "PLN",
              "PYG",
              "QAR",
              "RON",
              "RSD",
              "RUB",
              "RWF",
              "SAR",
              "SBD",
              "SCR",
              "SDG",
              "SEK",
              "SGD",
              "SHP",
              "SLL",
              "SOS",
              "SRD",
              "SSP",
              "STD",
              "SVC",
              "SYP",
              "SZL",
              "THB",
              "TJS",
              "TMT",
              "TND",
              "TOP",
              "TRY",
              "TTD",
              "TWD",
              "TZS",
              "UAH",
              "UGX",
              "USD",
              "USN",
              "USS",
              "UYI",
              "UYU",
              "UYW",
              "UZS",
              "VEF",
              "VND",
              "VUV",
              "WST",
              "XAF",
              "XAG",
              "XAU",
              "XBA",
              "XBB",
              "XBC",
              "XBD",
              "XCD",
              "XDR",
              "XFU",
              "XOF",
              "XPD",
              "XPF",
              "XPT",
              "XTS",
              "XXX",
              "YER",
              "ZAR",
              "ZMW"
            ],
            "description": "The [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code of the bill credit memo."
          },
          "document_number": {
            "type": "string",
            "description": "The document number of the bill credit memo. Supported for QuickBooks and QuickBooks Desktop."
          },
          "memo": {
            "type": "string",
            "description": "The memo of the bill credit memo. Supported for QuickBooks and QuickBooks Desktop."
          },
          "line_items": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "account_id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "The Rutter ID of the [Account](/rest/version/accounts) linked to the bill line item. For NetSuite, please define only one of `line_item.account_id` field or `line_item.item` field, to bill either an expense line_item or an item line_item respectively. For FreeAgent, please define an `account_id` for every line_item. For FreshBooks, please define an `account_id` for every line_item."
                },
                "total_amount": {
                  "type": "number",
                  "description": "The total amount of the bill line item."
                },
                "description": {
                  "type": "string",
                  "description": "The description of the bill line item."
                },
                "item": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "The Rutter ID of the [Item](/rest/version/items) linked to the bill line item. For NetSuite, please defined a `location_id` if the input item is an Inventory Item."
                    },
                    "quantity": {
                      "type": "number",
                      "description": "The quantity of items in the bill line item."
                    },
                    "unit_amount": {
                      "type": "number",
                      "description": "The unit amount of the items in the bill line item."
                    }
                  },
                  "required": [
                    "id",
                    "quantity",
                    "unit_amount"
                  ],
                  "additionalProperties": false,
                  "description": "The product or service associated with the bill line item. For NetSuite, please define only one of `line_item.account_id` field or `line_item.item` field, to bill either an expense line_item or an item line_item respectively. Supported for NetSuite, QuickBooks, QuickBooks Desktop, and Xero."
                }
              },
              "required": [
                "total_amount"
              ],
              "additionalProperties": false
            },
            "description": "An array of line items containing details about the bill credit memo."
          }
        },
        "required": [
          "account_id",
          "vendor_id",
          "issue_date",
          "currency_code",
          "line_items"
        ],
        "examples": [
          {
            "CreateBillCreditMemo_Example": {
              "$ref": "#/components/examples/CreateBillCreditMemo_Example"
            }
          }
        ]
      },
      "CreateCreateBillCreditMemoRequest": {
        "type": "object",
        "properties": {
          "bill_credit_memo": {
            "$ref": "#/components/schemas/CreateBillCreditMemo"
          }
        },
        "required": [
          "bill_credit_memo"
        ],
        "examples": [
          {
            "CreateCreateBillCreditMemoRequest_Example": {
              "$ref": "#/components/examples/CreateCreateBillCreditMemoRequest_Example"
            }
          }
        ]
      },
      "BillCreditMemoResponse": {
        "type": "object",
        "properties": {
          "bill_credit_memo": {
            "$ref": "#/components/schemas/BillCreditMemo"
          }
        },
        "required": [
          "bill_credit_memo"
        ],
        "examples": [
          {
            "BillCreditMemoResponse_Example": {
              "$ref": "#/components/examples/BillCreditMemoResponse_Example"
            }
          }
        ]
      },
      "CreateBillCreditMemoResponse": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/BillCreditMemoResponse"
          },
          {
            "$ref": "#/components/schemas/AsyncResponsePayload"
          }
        ],
        "examples": [
          {
            "CreateBillCreditMemoResponse_Example": {
              "$ref": "#/components/examples/CreateBillCreditMemoResponse_Example"
            }
          }
        ]
      },
      "BillCreditMemoResponseWithConnection": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "bill_credit_memo": {
            "$ref": "#/components/schemas/BillCreditMemo"
          }
        },
        "required": [
          "connection",
          "bill_credit_memo"
        ],
        "examples": [
          {
            "BillCreditMemoResponseWithConnection_Example": {
              "$ref": "#/components/examples/BillCreditMemoResponseWithConnection_Example"
            }
          }
        ]
      },
      "BillPayment": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The Rutter generated unique ID of the bill payment."
          },
          "platform_id": {
            "type": "string",
            "description": "The platform specific ID of the bill payment."
          },
          "account_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The Rutter ID of the [Account](/rest/version/accounts) linked to the bill payment. Represents the account being credited."
          },
          "vendor_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The Rutter ID of the [Vendor](/rest/version/vendors) linked to the bill payment."
          },
          "transaction_date": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp for when the transaction was logged."
          },
          "currency_code": {
            "type": "string",
            "enum": [
              "AED",
              "AFN",
              "ALL",
              "AMD",
              "ANG",
              "AOA",
              "ARS",
              "AUD",
              "AWG",
              "AZN",
              "BAM",
              "BBD",
              "BDT",
              "BGN",
              "BHD",
              "BIF",
              "BMD",
              "BND",
              "BOB",
              "BOV",
              "BRL",
              "BSD",
              "BTN",
              "BWP",
              "BYR",
              "BZD",
              "CAD",
              "CDF",
              "CHE",
              "CHF",
              "CHW",
              "CLF",
              "CLP",
              "CNY",
              "COP",
              "COU",
              "CRC",
              "CUC",
              "CUP",
              "CVE",
              "CZK",
              "DJF",
              "DKK",
              "DOP",
              "DZD",
              "EGP",
              "ERN",
              "ETB",
              "EUR",
              "FJD",
              "FKP",
              "GBP",
              "GEL",
              "GHS",
              "GIP",
              "GMD",
              "GNF",
              "GTQ",
              "GYD",
              "HKD",
              "HNL",
              "HRK",
              "HTG",
              "HUF",
              "IDR",
              "ILS",
              "INR",
              "IQD",
              "IRR",
              "ISK",
              "JMD",
              "JOD",
              "JPY",
              "KES",
              "KGS",
              "KHR",
              "KMF",
              "KPW",
              "KRW",
              "KWD",
              "KYD",
              "KZT",
              "LAK",
              "LBP",
              "LKR",
              "LRD",
              "LSL",
              "LTL",
              "LVL",
              "LYD",
              "MAD",
              "MDL",
              "MGA",
              "MKD",
              "MMK",
              "MNT",
              "MOP",
              "MRO",
              "MUR",
              "MVR",
              "MWK",
              "MXN",
              "MXV",
              "MYR",
              "MZN",
              "NAD",
              "NGN",
              "NIO",
              "NOK",
              "NPR",
              "NZD",
              "OMR",
              "PAB",
              "PEN",
              "PGK",
              "PHP",
              "PKR",
              "PLN",
              "PYG",
              "QAR",
              "RON",
              "RSD",
              "RUB",
              "RWF",
              "SAR",
              "SBD",
              "SCR",
              "SDG",
              "SEK",
              "SGD",
              "SHP",
              "SLL",
              "SOS",
              "SRD",
              "SSP",
              "STD",
              "SVC",
              "SYP",
              "SZL",
              "THB",
              "TJS",
              "TMT",
              "TND",
              "TOP",
              "TRY",
              "TTD",
              "TWD",
              "TZS",
              "UAH",
              "UGX",
              "USD",
              "USN",
              "USS",
              "UYI",
              "UYU",
              "UYW",
              "UZS",
              "VEF",
              "VND",
              "VUV",
              "WST",
              "XAF",
              "XAG",
              "XAU",
              "XBA",
              "XBB",
              "XBC",
              "XBD",
              "XCD",
              "XDR",
              "XFU",
              "XOF",
              "XPD",
              "XPF",
              "XPT",
              "XTS",
              "XXX",
              "YER",
              "ZAR",
              "ZMW"
            ],
            "description": "The [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code of the bill payment."
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "description": "The memo of the bill payment."
          },
          "status": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "active",
              "void"
            ],
            "description": "The status of the bill payment."
          },
          "total_amount": {
            "type": [
              "number",
              "null"
            ],
            "description": "The total amount of the bill payment."
          },
          "currency_rate": {
            "type": [
              "string",
              "null"
            ],
            "description": "The exchange rate between the currency of the bill payment and the business default currency."
          },
          "linked_bills": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The Rutter ID of the [Bill](/rest/version/bills) linked to the line item."
                },
                "allocated_date": {
                  "type": "string",
                  "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp for when the line item payment was made."
                },
                "allocated_amount": {
                  "type": "number",
                  "description": "The total amount of of the allocated payment for this line item."
                }
              },
              "required": [
                "id",
                "allocated_date",
                "allocated_amount"
              ],
              "additionalProperties": false
            },
            "description": "An array of bills linked to the bill payment."
          },
          "created_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the bill payment was created."
          },
          "updated_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the bill payment was last updated."
          },
          "last_synced_at": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp when the bill payment was last synced by Rutter."
          }
        },
        "required": [
          "id",
          "platform_id",
          "account_id",
          "vendor_id",
          "transaction_date",
          "currency_code",
          "memo",
          "status",
          "total_amount",
          "currency_rate",
          "linked_bills",
          "created_at",
          "updated_at",
          "last_synced_at"
        ],
        "examples": [
          {
            "BillPayment_Example": {
              "$ref": "#/components/examples/BillPayment_Example"
            }
          }
        ]
      },
      "ListBillPaymentResponseWithConnection": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "bill_payments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BillPayment"
            }
          },
          "next_cursor": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "connection",
          "bill_payments"
        ],
        "examples": [
          {
            "ListBillPaymentResponseWithConnection_Example": {
              "$ref": "#/components/examples/ListBillPaymentResponseWithConnection_Example"
            }
          }
        ]
      },
      "CreateBillPayment": {
        "type": "object",
        "properties": {
          "account_id": {
            "type": "string",
            "format": "uuid",
            "description": "The Rutter ID associated with an [account](/rest/version/account). The account must correspond to a BANK type when creating a new bill payment to ensure the flow of funds is logged properly."
          },
          "vendor_id": {
            "type": "string",
            "format": "uuid",
            "description": "The Rutter ID of the [bill payment](/rest/version/bill-payments) linked to the vendor."
          },
          "transaction_date": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp for the payment."
          },
          "currency_code": {
            "type": "string",
            "enum": [
              "AED",
              "AFN",
              "ALL",
              "AMD",
              "ANG",
              "AOA",
              "ARS",
              "AUD",
              "AWG",
              "AZN",
              "BAM",
              "BBD",
              "BDT",
              "BGN",
              "BHD",
              "BIF",
              "BMD",
              "BND",
              "BOB",
              "BOV",
              "BRL",
              "BSD",
              "BTN",
              "BWP",
              "BYR",
              "BZD",
              "CAD",
              "CDF",
              "CHE",
              "CHF",
              "CHW",
              "CLF",
              "CLP",
              "CNY",
              "COP",
              "COU",
              "CRC",
              "CUC",
              "CUP",
              "CVE",
              "CZK",
              "DJF",
              "DKK",
              "DOP",
              "DZD",
              "EGP",
              "ERN",
              "ETB",
              "EUR",
              "FJD",
              "FKP",
              "GBP",
              "GEL",
              "GHS",
              "GIP",
              "GMD",
              "GNF",
              "GTQ",
              "GYD",
              "HKD",
              "HNL",
              "HRK",
              "HTG",
              "HUF",
              "IDR",
              "ILS",
              "INR",
              "IQD",
              "IRR",
              "ISK",
              "JMD",
              "JOD",
              "JPY",
              "KES",
              "KGS",
              "KHR",
              "KMF",
              "KPW",
              "KRW",
              "KWD",
              "KYD",
              "KZT",
              "LAK",
              "LBP",
              "LKR",
              "LRD",
              "LSL",
              "LTL",
              "LVL",
              "LYD",
              "MAD",
              "MDL",
              "MGA",
              "MKD",
              "MMK",
              "MNT",
              "MOP",
              "MRO",
              "MUR",
              "MVR",
              "MWK",
              "MXN",
              "MXV",
              "MYR",
              "MZN",
              "NAD",
              "NGN",
              "NIO",
              "NOK",
              "NPR",
              "NZD",
              "OMR",
              "PAB",
              "PEN",
              "PGK",
              "PHP",
              "PKR",
              "PLN",
              "PYG",
              "QAR",
              "RON",
              "RSD",
              "RUB",
              "RWF",
              "SAR",
              "SBD",
              "SCR",
              "SDG",
              "SEK",
              "SGD",
              "SHP",
              "SLL",
              "SOS",
              "SRD",
              "SSP",
              "STD",
              "SVC",
              "SYP",
              "SZL",
              "THB",
              "TJS",
              "TMT",
              "TND",
              "TOP",
              "TRY",
              "TTD",
              "TWD",
              "TZS",
              "UAH",
              "UGX",
              "USD",
              "USN",
              "USS",
              "UYI",
              "UYU",
              "UYW",
              "UZS",
              "VEF",
              "VND",
              "VUV",
              "WST",
              "XAF",
              "XAG",
              "XAU",
              "XBA",
              "XBB",
              "XBC",
              "XBD",
              "XCD",
              "XDR",
              "XFU",
              "XOF",
              "XPD",
              "XPF",
              "XPT",
              "XTS",
              "XXX",
              "YER",
              "ZAR",
              "ZMW"
            ],
            "description": "The [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code of the bill payment."
          },
          "currency_rate": {
            "type": "number",
            "description": "The exchange rate between the currency of the bill payment and the business default currency. Supported for NetSuite, QuickBooks, Sage Intacct, Xero, and ZohoBooks."
          },
          "document_number": {
            "type": "string",
            "description": "The buyer facing document number of the bill payment. Supported for QuickBooks."
          },
          "memo": {
            "type": "string",
            "description": "Description of the the bill payment."
          },
          "additional_fields": {
            "type": "object",
            "properties": {
              "location_id": {
                "type": "string",
                "format": "uuid",
                "description": "The Rutter ID of the [Location](/rest/version/locations) linked to the bill payment. Supported for NetSuite."
              }
            },
            "additionalProperties": false,
            "description": "Additional fields required only for a narrow set of use cases."
          },
          "linked_bills": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "The Rutter ID of the bill you wish to apply the bill payment to."
                },
                "allocated_amount": {
                  "type": "number",
                  "minimum": 0,
                  "description": "Total amount of of the allocated payment for this line item."
                }
              },
              "required": [
                "id",
                "allocated_amount"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "account_id",
          "vendor_id",
          "transaction_date",
          "currency_code",
          "linked_bills"
        ],
        "examples": [
          {
            "CreateBillPayment_Example": {
              "$ref": "#/components/examples/CreateBillPayment_Example"
            }
          }
        ]
      },
      "CreateCreateBillPaymentRequest": {
        "type": "object",
        "properties": {
          "bill_payment": {
            "$ref": "#/components/schemas/CreateBillPayment"
          }
        },
        "required": [
          "bill_payment"
        ],
        "examples": [
          {
            "CreateCreateBillPaymentRequest_Example": {
              "$ref": "#/components/examples/CreateCreateBillPaymentRequest_Example"
            }
          }
        ]
      },
      "BillPaymentResponse": {
        "type": "object",
        "properties": {
          "bill_payment": {
            "$ref": "#/components/schemas/BillPayment"
          }
        },
        "required": [
          "bill_payment"
        ],
        "examples": [
          {
            "BillPaymentResponse_Example": {
              "$ref": "#/components/examples/BillPaymentResponse_Example"
            }
          }
        ]
      },
      "ListBillPaymentResponse": {
        "type": "object",
        "properties": {
          "bill_payments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BillPayment"
            }
          }
        },
        "required": [
          "bill_payments"
        ],
        "description": "Returned when the underlying platform creates multiple bill payment entities from a single Rutter request. Only applies to `[XERO]`, and only when the request has multiple bills specified in `linked_bills`.",
        "examples": [
          {
            "ListBillPaymentResponse_Example": {
              "$ref": "#/components/examples/ListBillPaymentResponse_Example"
            }
          }
        ]
      },
      "CreateBillPaymentResponse": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/BillPaymentResponse"
          },
          {
            "$ref": "#/components/schemas/ListBillPaymentResponse"
          },
          {
            "$ref": "#/components/schemas/AsyncResponsePayload"
          }
        ],
        "examples": [
          {
            "CreateBillPaymentResponse_Example": {
              "$ref": "#/components/examples/CreateBillPaymentResponse_Example"
            }
          }
        ]
      },
      "BillPaymentResponseWithConnection": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "bill_payment": {
            "$ref": "#/components/schemas/BillPayment"
          }
        },
        "required": [
          "connection",
          "bill_payment"
        ],
        "examples": [
          {
            "BillPaymentResponseWithConnection_Example": {
              "$ref": "#/components/examples/BillPaymentResponseWithConnection_Example"
            }
          }
        ]
      },
      "UpdateBillPayment": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string",
            "enum": [
              "void"
            ],
            "description": "Set this field to void a bill payment transaction."
          }
        },
        "required": [
          "status"
        ],
        "examples": [
          {
            "UpdateBillPayment_Example": {
              "$ref": "#/components/examples/UpdateBillPayment_Example"
            }
          }
        ]
      },
      "CreateUpdateBillPaymentRequest": {
        "type": "object",
        "properties": {
          "bill_payment": {
            "$ref": "#/components/schemas/UpdateBillPayment"
          }
        },
        "required": [
          "bill_payment"
        ],
        "examples": [
          {
            "CreateUpdateBillPaymentRequest_Example": {
              "$ref": "#/components/examples/CreateUpdateBillPaymentRequest_Example"
            }
          }
        ]
      },
      "UpdateBillPaymentResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The Rutter generated unique ID of the bill payment."
          },
          "platform_id": {
            "type": "string",
            "description": "The platform specific ID of the bill payment."
          },
          "account_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The Rutter ID of the [Account](/rest/version/accounts) linked to the bill payment. Represents the account being credited."
          },
          "vendor_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The Rutter ID of the [Vendor](/rest/version/vendors) linked to the bill payment."
          },
          "transaction_date": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp for when the transaction was logged."
          },
          "currency_code": {
            "type": "string",
            "enum": [
              "AED",
              "AFN",
              "ALL",
              "AMD",
              "ANG",
              "AOA",
              "ARS",
              "AUD",
              "AWG",
              "AZN",
              "BAM",
              "BBD",
              "BDT",
              "BGN",
              "BHD",
              "BIF",
              "BMD",
              "BND",
              "BOB",
              "BOV",
              "BRL",
              "BSD",
              "BTN",
              "BWP",
              "BYR",
              "BZD",
              "CAD",
              "CDF",
              "CHE",
              "CHF",
              "CHW",
              "CLF",
              "CLP",
              "CNY",
              "COP",
              "COU",
              "CRC",
              "CUC",
              "CUP",
              "CVE",
              "CZK",
              "DJF",
              "DKK",
              "DOP",
              "DZD",
              "EGP",
              "ERN",
              "ETB",
              "EUR",
              "FJD",
              "FKP",
              "GBP",
              "GEL",
              "GHS",
              "GIP",
              "GMD",
              "GNF",
              "GTQ",
              "GYD",
              "HKD",
              "HNL",
              "HRK",
              "HTG",
              "HUF",
              "IDR",
              "ILS",
              "INR",
              "IQD",
              "IRR",
              "ISK",
              "JMD",
              "JOD",
              "JPY",
              "KES",
              "KGS",
              "KHR",
              "KMF",
              "KPW",
              "KRW",
              "KWD",
              "KYD",
              "KZT",
              "LAK",
              "LBP",
              "LKR",
              "LRD",
              "LSL",
              "LTL",
              "LVL",
              "LYD",
              "MAD",
              "MDL",
              "MGA",
              "MKD",
              "MMK",
              "MNT",
              "MOP",
              "MRO",
              "MUR",
              "MVR",
              "MWK",
              "MXN",
              "MXV",
              "MYR",
              "MZN",
              "NAD",
              "NGN",
              "NIO",
              "NOK",
              "NPR",
              "NZD",
              "OMR",
              "PAB",
              "PEN",
              "PGK",
              "PHP",
              "PKR",
              "PLN",
              "PYG",
              "QAR",
              "RON",
              "RSD",
              "RUB",
              "RWF",
              "SAR",
              "SBD",
              "SCR",
              "SDG",
              "SEK",
              "SGD",
              "SHP",
              "SLL",
              "SOS",
              "SRD",
              "SSP",
              "STD",
              "SVC",
              "SYP",
              "SZL",
              "THB",
              "TJS",
              "TMT",
              "TND",
              "TOP",
              "TRY",
              "TTD",
              "TWD",
              "TZS",
              "UAH",
              "UGX",
              "USD",
              "USN",
              "USS",
              "UYI",
              "UYU",
              "UYW",
              "UZS",
              "VEF",
              "VND",
              "VUV",
              "WST",
              "XAF",
              "XAG",
              "XAU",
              "XBA",
              "XBB",
              "XBC",
              "XBD",
              "XCD",
              "XDR",
              "XFU",
              "XOF",
              "XPD",
              "XPF",
              "XPT",
              "XTS",
              "XXX",
              "YER",
              "ZAR",
              "ZMW"
            ],
            "description": "The [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code of the bill payment."
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "description": "The memo of the bill payment."
          },
          "status": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "active",
              "void"
            ],
            "description": "The status of the bill payment."
          },
          "total_amount": {
            "type": [
              "number",
              "null"
            ],
            "description": "The total amount of the bill payment."
          },
          "currency_rate": {
            "type": [
              "string",
              "null"
            ],
            "description": "The exchange rate between the currency of the bill payment and the business default currency."
          },
          "linked_bills": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The Rutter ID of the [Bill](/rest/version/bills) linked to the line item."
                },
                "allocated_date": {
                  "type": "string",
                  "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp for when the line item payment was made."
                },
                "allocated_amount": {
                  "type": "number",
                  "description": "The total amount of of the allocated payment for this line item."
                }
              },
              "required": [
                "id",
                "allocated_date",
                "allocated_amount"
              ],
              "additionalProperties": false
            },
            "description": "An array of bills linked to the bill payment."
          },
          "created_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the bill payment was created."
          },
          "updated_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the bill payment was last updated."
          },
          "last_synced_at": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp when the bill payment was last synced by Rutter."
          }
        },
        "required": [
          "id",
          "platform_id",
          "account_id",
          "vendor_id",
          "transaction_date",
          "currency_code",
          "memo",
          "status",
          "total_amount",
          "currency_rate",
          "linked_bills",
          "created_at",
          "updated_at",
          "last_synced_at"
        ],
        "examples": [
          {
            "UpdateBillPaymentResponse_Example": {
              "$ref": "#/components/examples/UpdateBillPaymentResponse_Example"
            }
          }
        ]
      },
      "UpdateBillPaymentResponseResponse": {
        "type": "object",
        "properties": {
          "bill_payment": {
            "$ref": "#/components/schemas/UpdateBillPaymentResponse"
          }
        },
        "required": [
          "bill_payment"
        ],
        "examples": [
          {
            "UpdateBillPaymentResponseResponse_Example": {
              "$ref": "#/components/examples/UpdateBillPaymentResponseResponse_Example"
            }
          }
        ]
      },
      "CreateUpdateBillPaymentResponseResponse": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/UpdateBillPaymentResponseResponse"
          },
          {
            "$ref": "#/components/schemas/AsyncResponsePayload"
          }
        ],
        "examples": [
          {
            "CreateUpdateBillPaymentResponseResponse_Example": {
              "$ref": "#/components/examples/CreateUpdateBillPaymentResponseResponse_Example"
            }
          }
        ]
      },
      "ListBillsParams": {
        "type": "object",
        "properties": {
          "access_token": {
            "type": "string",
            "format": "uuid",
            "description": "The access token of the connection."
          },
          "cursor": {
            "type": "string",
            "description": "The cursor to use for pagination. Use the value of `next_cursor` provided in a previous response."
          },
          "document_number": {
            "type": "string",
            "description": "The document number to filter on. Supported for QuickBooks Desktop."
          },
          "expand": {
            "type": "string",
            "enum": [
              "platform_data"
            ],
            "description": "Used to request inclusion of optional objects."
          },
          "force_fetch": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ],
            "description": "Force a response even if the underlying connection hasn't finished the initial sync."
          },
          "last_synced_at_min": {
            "type": "integer",
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum last_synced_at datetime to fetch entities from."
          },
          "limit": {
            "type": "integer",
            "description": "The number of entities to return. Defaults to 50. Maximum is 500."
          },
          "sort": {
            "type": "string",
            "description": "The field and direction to sort by (`ASC` or `DESC`), e.g. `last_synced_at ASC`. Currently supports the fields: `updated_at`, `last_synced_at`. If a field is provided but `ASC` or `DESC` is not, defaults to `ASC`. If this field is omitted, defaults, to `updated_at DESC`."
          },
          "updated_at_max": {
            "type": "integer",
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum updated_at datetime to fetch entities from."
          },
          "updated_at_min": {
            "type": "integer",
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum updated_at datetime to fetch entities from."
          }
        },
        "required": [
          "access_token"
        ]
      },
      "Bill": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The Rutter generated unique ID of the bill."
          },
          "platform_id": {
            "type": "string",
            "description": "The platform specific ID of the bill."
          },
          "account_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The Rutter ID of the [Account](/rest/version/accounts) linked to the bill. Represents the AP account being credited."
          },
          "payment_terms_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "An array of Rutter IDs of [Payment Terms](/rest/version/payment-terms) linked to the bill."
          },
          "subsidiary_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The Rutter ID of the [Subsidiary](/rest/version/subsidiaries) linked to the bill. Supported for NetSuite."
          },
          "vendor_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The Rutter ID of the [Vendor](/rest/version/vendors) linked to the bill."
          },
          "due_date": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp for the due date of the bill."
          },
          "issue_date": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp for the issue date of the bill."
          },
          "amount_due": {
            "type": "number",
            "description": "The current amount due on the bill. Represents the remainder after bill payments or bill credit memos are applied against the total amount."
          },
          "currency_code": {
            "type": "string",
            "enum": [
              "AED",
              "AFN",
              "ALL",
              "AMD",
              "ANG",
              "AOA",
              "ARS",
              "AUD",
              "AWG",
              "AZN",
              "BAM",
              "BBD",
              "BDT",
              "BGN",
              "BHD",
              "BIF",
              "BMD",
              "BND",
              "BOB",
              "BOV",
              "BRL",
              "BSD",
              "BTN",
              "BWP",
              "BYR",
              "BZD",
              "CAD",
              "CDF",
              "CHE",
              "CHF",
              "CHW",
              "CLF",
              "CLP",
              "CNY",
              "COP",
              "COU",
              "CRC",
              "CUC",
              "CUP",
              "CVE",
              "CZK",
              "DJF",
              "DKK",
              "DOP",
              "DZD",
              "EGP",
              "ERN",
              "ETB",
              "EUR",
              "FJD",
              "FKP",
              "GBP",
              "GEL",
              "GHS",
              "GIP",
              "GMD",
              "GNF",
              "GTQ",
              "GYD",
              "HKD",
              "HNL",
              "HRK",
              "HTG",
              "HUF",
              "IDR",
              "ILS",
              "INR",
              "IQD",
              "IRR",
              "ISK",
              "JMD",
              "JOD",
              "JPY",
              "KES",
              "KGS",
              "KHR",
              "KMF",
              "KPW",
              "KRW",
              "KWD",
              "KYD",
              "KZT",
              "LAK",
              "LBP",
              "LKR",
              "LRD",
              "LSL",
              "LTL",
              "LVL",
              "LYD",
              "MAD",
              "MDL",
              "MGA",
              "MKD",
              "MMK",
              "MNT",
              "MOP",
              "MRO",
              "MUR",
              "MVR",
              "MWK",
              "MXN",
              "MXV",
              "MYR",
              "MZN",
              "NAD",
              "NGN",
              "NIO",
              "NOK",
              "NPR",
              "NZD",
              "OMR",
              "PAB",
              "PEN",
              "PGK",
              "PHP",
              "PKR",
              "PLN",
              "PYG",
              "QAR",
              "RON",
              "RSD",
              "RUB",
              "RWF",
              "SAR",
              "SBD",
              "SCR",
              "SDG",
              "SEK",
              "SGD",
              "SHP",
              "SLL",
              "SOS",
              "SRD",
              "SSP",
              "STD",
              "SVC",
              "SYP",
              "SZL",
              "THB",
              "TJS",
              "TMT",
              "TND",
              "TOP",
              "TRY",
              "TTD",
              "TWD",
              "TZS",
              "UAH",
              "UGX",
              "USD",
              "USN",
              "USS",
              "UYI",
              "UYU",
              "UYW",
              "UZS",
              "VEF",
              "VND",
              "VUV",
              "WST",
              "XAF",
              "XAG",
              "XAU",
              "XBA",
              "XBB",
              "XBC",
              "XBD",
              "XCD",
              "XDR",
              "XFU",
              "XOF",
              "XPD",
              "XPF",
              "XPT",
              "XTS",
              "XXX",
              "YER",
              "ZAR",
              "ZMW"
            ],
            "description": "The [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code of the bill."
          },
          "status": {
            "type": "string",
            "enum": [
              "open",
              "partially_paid",
              "paid",
              "void",
              "draft",
              "unknown",
              "submitted"
            ],
            "description": "The status of the bill."
          },
          "total_amount": {
            "type": "number",
            "description": "The total amount of the bill."
          },
          "document_number": {
            "type": [
              "string",
              "null"
            ],
            "description": "The buyer facing document number of the bill."
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "description": "The memo of the bill."
          },
          "sub_total": {
            "type": [
              "number",
              "null"
            ],
            "description": "The subtotal of the bill, without the tax amount."
          },
          "tax_amount": {
            "type": [
              "number",
              "null"
            ],
            "description": "The tax amount applied to the bill."
          },
          "total_discount": {
            "type": [
              "number",
              "null"
            ],
            "description": "The discount amount applied to the bill."
          },
          "linked_purchase_orders": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                }
              },
              "required": [
                "id"
              ],
              "additionalProperties": false
            },
            "description": "An array of Rutter IDs of [Purchase Orders](/rest/version/purchase-orders) linked to the bill."
          },
          "currency_rate": {
            "type": [
              "string",
              "null"
            ],
            "description": "The exchange rate between the currency of the bill and the business default currency. Supported for NetSuite, QuickBooks, and Xero."
          },
          "linked_credit_memos": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "allocated_date": {
                  "type": "string"
                },
                "allocated_amount": {
                  "type": "number"
                }
              },
              "required": [
                "id",
                "allocated_date",
                "allocated_amount"
              ],
              "additionalProperties": false
            },
            "description": "An array of Rutter IDs of [Bill Credit Memos](/reference/bill-credit-memos) applied against the bill."
          },
          "linked_payments": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "allocated_date": {
                  "type": "string"
                },
                "allocated_amount": {
                  "type": "number"
                }
              },
              "required": [
                "id",
                "allocated_date",
                "allocated_amount"
              ],
              "additionalProperties": false
            },
            "description": "An array of Rutter IDs of [Bill Payments](/reference/bill-payments) applied against the bill."
          },
          "line_items": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "account_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The Rutter ID of the [Account](/rest/version/accounts) linked to the bill line item."
                },
                "class_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The Rutter ID of the [Class](/rest/version/classes) linked to the bill line item. Supported for NetSuite, QuickBooks, and Xero."
                },
                "customer_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The Rutter ID of the [Customer](/rest/version/customers) linked to the bill line item. Supported for QuickBooks."
                },
                "department_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The Rutter ID of the [Department](/rest/version/departments) linked to the bill line item. Supported for NetSuite, QuickBooks, and Sage Intacct."
                },
                "location_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The Rutter ID of the [Location](/rest/version/locations) linked to the bill line item. Supported for NetSuite and Sage Intacct."
                },
                "tax_rate_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The Rutter ID of the [Tax Rate](/rest/version/tax-rates) linked to the bill line item."
                },
                "description": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The description of the bill line item."
                },
                "discount_amount": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "description": "The discount amount applied to the bill line item."
                },
                "discount_percentage": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "description": "The percentage discount applied to the bill line item."
                },
                "sub_total": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "description": "The subtotal of the bill line item, without tax."
                },
                "tax_amount": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "description": "The tax amount applied to the bill line item."
                },
                "total_amount": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "description": "The total amount of the bill line item. The total amount for line items can either be inclusive of tax, or exclusive of tax. If it's exclusive, it will be the same amount as `sub_total`; if inclusive, it will differ. If the `sub_total` field is null, it cannot be determined."
                },
                "item": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "id": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "The Rutter ID of the [Item](/rest/version/items) linked to the bill line item."
                    },
                    "quantity": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "The quantity of items in the bill line item."
                    },
                    "unit_amount": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "The unit amount of the items in the bill line item."
                    }
                  },
                  "required": [
                    "id",
                    "quantity",
                    "unit_amount"
                  ],
                  "additionalProperties": false,
                  "description": "The product or service associated with the bill line item. Supported for Dynamics Business Central, FreeAgent, NetSuite, QuickBooks, QuickBooks Desktop, and Xero."
                }
              },
              "required": [
                "account_id",
                "class_id",
                "customer_id",
                "department_id",
                "location_id",
                "tax_rate_id",
                "description",
                "discount_amount",
                "discount_percentage",
                "sub_total",
                "tax_amount",
                "total_amount",
                "item"
              ],
              "additionalProperties": false
            },
            "description": "An array of line items associated with the bill."
          },
          "created_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the bill was created."
          },
          "updated_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the bill was last updated."
          },
          "last_synced_at": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp when the bill was last synced by Rutter."
          },
          "platform_data": {
            "type": "object",
            "additionalProperties": {},
            "description": "The raw platform data corresponding to the Rutter object."
          }
        },
        "required": [
          "id",
          "platform_id",
          "account_id",
          "payment_terms_id",
          "subsidiary_id",
          "vendor_id",
          "due_date",
          "issue_date",
          "amount_due",
          "currency_code",
          "status",
          "total_amount",
          "document_number",
          "memo",
          "sub_total",
          "tax_amount",
          "total_discount",
          "linked_purchase_orders",
          "linked_credit_memos",
          "linked_payments",
          "line_items",
          "created_at",
          "updated_at",
          "last_synced_at"
        ],
        "examples": [
          {
            "Bill_Example": {
              "$ref": "#/components/examples/Bill_Example"
            }
          }
        ]
      },
      "ListBillResponseWithConnection": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "bills": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Bill"
            }
          },
          "next_cursor": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "connection",
          "bills"
        ],
        "examples": [
          {
            "ListBillResponseWithConnection_Example": {
              "$ref": "#/components/examples/ListBillResponseWithConnection_Example"
            }
          }
        ]
      },
      "CreateBill": {
        "type": "object",
        "properties": {
          "account_id": {
            "type": "string",
            "format": "uuid",
            "description": "The Rutter ID of the [Account](/rest/version/accounts) linked to the bill. Represents the AP account being credited. Supported for NetSuite."
          },
          "payment_terms_id": {
            "type": "string",
            "description": "An array of Rutter IDs of [Payment Terms](/rest/version/payment-terms) linked to the bill. Supported for NetSuite and QuickBooks."
          },
          "subsidiary_id": {
            "type": "string",
            "format": "uuid",
            "description": "The Rutter ID of the [Subsidiary](/rest/version/subsidiaries) linked to the bill. Supported for NetSuite."
          },
          "vendor_id": {
            "type": "string",
            "format": "uuid",
            "description": "The Rutter ID of the [Vendor](/rest/version/vendors) linked to the bill."
          },
          "due_date": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp for the due date of the bill. Required for FreeAgent."
          },
          "issue_date": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp for the issue date of the bill."
          },
          "currency_code": {
            "type": "string",
            "enum": [
              "AED",
              "AFN",
              "ALL",
              "AMD",
              "ANG",
              "AOA",
              "ARS",
              "AUD",
              "AWG",
              "AZN",
              "BAM",
              "BBD",
              "BDT",
              "BGN",
              "BHD",
              "BIF",
              "BMD",
              "BND",
              "BOB",
              "BOV",
              "BRL",
              "BSD",
              "BTN",
              "BWP",
              "BYR",
              "BZD",
              "CAD",
              "CDF",
              "CHE",
              "CHF",
              "CHW",
              "CLF",
              "CLP",
              "CNY",
              "COP",
              "COU",
              "CRC",
              "CUC",
              "CUP",
              "CVE",
              "CZK",
              "DJF",
              "DKK",
              "DOP",
              "DZD",
              "EGP",
              "ERN",
              "ETB",
              "EUR",
              "FJD",
              "FKP",
              "GBP",
              "GEL",
              "GHS",
              "GIP",
              "GMD",
              "GNF",
              "GTQ",
              "GYD",
              "HKD",
              "HNL",
              "HRK",
              "HTG",
              "HUF",
              "IDR",
              "ILS",
              "INR",
              "IQD",
              "IRR",
              "ISK",
              "JMD",
              "JOD",
              "JPY",
              "KES",
              "KGS",
              "KHR",
              "KMF",
              "KPW",
              "KRW",
              "KWD",
              "KYD",
              "KZT",
              "LAK",
              "LBP",
              "LKR",
              "LRD",
              "LSL",
              "LTL",
              "LVL",
              "LYD",
              "MAD",
              "MDL",
              "MGA",
              "MKD",
              "MMK",
              "MNT",
              "MOP",
              "MRO",
              "MUR",
              "MVR",
              "MWK",
              "MXN",
              "MXV",
              "MYR",
              "MZN",
              "NAD",
              "NGN",
              "NIO",
              "NOK",
              "NPR",
              "NZD",
              "OMR",
              "PAB",
              "PEN",
              "PGK",
              "PHP",
              "PKR",
              "PLN",
              "PYG",
              "QAR",
              "RON",
              "RSD",
              "RUB",
              "RWF",
              "SAR",
              "SBD",
              "SCR",
              "SDG",
              "SEK",
              "SGD",
              "SHP",
              "SLL",
              "SOS",
              "SRD",
              "SSP",
              "STD",
              "SVC",
              "SYP",
              "SZL",
              "THB",
              "TJS",
              "TMT",
              "TND",
              "TOP",
              "TRY",
              "TTD",
              "TWD",
              "TZS",
              "UAH",
              "UGX",
              "USD",
              "USN",
              "USS",
              "UYI",
              "UYU",
              "UYW",
              "UZS",
              "VEF",
              "VND",
              "VUV",
              "WST",
              "XAF",
              "XAG",
              "XAU",
              "XBA",
              "XBB",
              "XBC",
              "XBD",
              "XCD",
              "XDR",
              "XFU",
              "XOF",
              "XPD",
              "XPF",
              "XPT",
              "XTS",
              "XXX",
              "YER",
              "ZAR",
              "ZMW"
            ],
            "description": "The [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code of the bill."
          },
          "document_number": {
            "type": "string",
            "description": "The buyer facing document number of the bill."
          },
          "memo": {
            "type": "string",
            "description": "The memo of the bill."
          },
          "currency_rate": {
            "type": "string",
            "description": "The exchange rate between the currency of the bill and the business default currency. Supported for NetSuite, QuickBooks, and Xero."
          },
          "linked_purchase_orders": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                }
              },
              "required": [
                "id"
              ],
              "additionalProperties": false
            },
            "description": "An array of Rutter IDs of [Purchase Orders](/rest/version/purchase-orders) linked to the bill."
          },
          "additional_fields": {
            "type": "object",
            "properties": {
              "class_id": {
                "type": "string",
                "format": "uuid",
                "description": "The Rutter ID of the [Class](/rest/version/classes) linked to the bill. Supported for NetSuite."
              },
              "department_id": {
                "type": "string",
                "format": "uuid",
                "description": "The Rutter ID of the [Department](/rest/version/departments) linked to the bill. Supported for NetSuite."
              },
              "location_id": {
                "type": "string",
                "format": "uuid",
                "description": "The Rutter ID of the [Location](/rest/version/locations) linked to the bill. Supported for NetSuite."
              },
              "tax_rate_percent": {
                "type": "number",
                "description": "The tax rate percentage to apply to the line item, e.g. 10%. Supported for FreshBooks."
              }
            },
            "additionalProperties": false,
            "description": "Additional fields required only for a narrow set of use cases."
          },
          "line_items": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "account_id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "The Rutter ID of the [Account](/rest/version/accounts) linked to the bill line item. For NetSuite, please define only one of `line_item.account_id` field or `line_item.item` field, to bill either an expense line_item or an item line_item respectively. For FreeAgent, please define an `account_id` for every line_item. For FreshBooks, please define an `account_id` for every line_item."
                },
                "class_id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "The Rutter ID of the [Class](/rest/version/classes) linked to the bill line item. Supported for NetSuite, QuickBooks, and Xero."
                },
                "customer_id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "The Rutter ID of the [Customer](/rest/version/customers) linked to the bill line item. Supported for QuickBooks and QuickBooks Desktop."
                },
                "department_id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "The Rutter ID of the [Department](/rest/version/departments) linked to the bill line item. Supported for NetSuite and QuickBooks."
                },
                "discount_item_id": {
                  "type": "string",
                  "description": "The Rutter ID of the [Discount Item](/rest/version/items) linked to the bill line item. Supported for NetSuite."
                },
                "location_id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "The Rutter ID of the [Location](/rest/version/locations) linked to the bill line item. Supported for NetSuite."
                },
                "tax_rate_id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "The Rutter ID of the [Tax Rate](/rest/version/tax-rates) linked to the bill line item. Supported for NetSuite, QuickBooks, and Xero."
                },
                "total_amount": {
                  "type": "number",
                  "description": "The total amount of the bill line item."
                },
                "description": {
                  "type": "string",
                  "description": "The description of the bill line item."
                },
                "discount_amount": {
                  "type": "number",
                  "minimum": 0,
                  "description": "The discount amount to apply on the bill line item."
                },
                "item": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "The Rutter ID of the [Item](/rest/version/items) linked to the bill line item. For NetSuite, please defined a `location_id` if the input item is an Inventory Item."
                    },
                    "quantity": {
                      "type": "number",
                      "description": "The quantity of items in the bill line item."
                    },
                    "unit_amount": {
                      "type": "number",
                      "description": "The unit amount of the items in the bill line item."
                    }
                  },
                  "required": [
                    "id",
                    "quantity",
                    "unit_amount"
                  ],
                  "additionalProperties": false,
                  "description": "The product or service associated with the bill line item. For NetSuite, please define only one of `line_item.account_id` field or `line_item.item` field, to bill either an expense line_item or an item line_item respectively. Supported for NetSuite, QuickBooks, QuickBooks Desktop, and Xero."
                }
              },
              "required": [
                "total_amount"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "vendor_id",
          "issue_date",
          "currency_code",
          "line_items"
        ],
        "examples": [
          {
            "CreateBill_Example": {
              "$ref": "#/components/examples/CreateBill_Example"
            }
          }
        ]
      },
      "CreateCreateBillRequest": {
        "type": "object",
        "properties": {
          "bill": {
            "$ref": "#/components/schemas/CreateBill"
          }
        },
        "required": [
          "bill"
        ],
        "examples": [
          {
            "CreateCreateBillRequest_Example": {
              "$ref": "#/components/examples/CreateCreateBillRequest_Example"
            }
          }
        ]
      },
      "BillResponse": {
        "type": "object",
        "properties": {
          "bill": {
            "$ref": "#/components/schemas/Bill"
          }
        },
        "required": [
          "bill"
        ],
        "examples": [
          {
            "BillResponse_Example": {
              "$ref": "#/components/examples/BillResponse_Example"
            }
          }
        ]
      },
      "CreateBillResponse": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/BillResponse"
          },
          {
            "$ref": "#/components/schemas/AsyncResponsePayload"
          }
        ],
        "examples": [
          {
            "CreateBillResponse_Example": {
              "$ref": "#/components/examples/CreateBillResponse_Example"
            }
          }
        ]
      },
      "BillResponseWithConnection": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "bill": {
            "$ref": "#/components/schemas/Bill"
          }
        },
        "required": [
          "connection",
          "bill"
        ],
        "examples": [
          {
            "BillResponseWithConnection_Example": {
              "$ref": "#/components/examples/BillResponseWithConnection_Example"
            }
          }
        ]
      },
      "UpdateBillBody": {
        "type": "object",
        "properties": {
          "vendor_id": {
            "type": "string",
            "format": "uuid",
            "description": "The Rutter ID of the [Vendor](/rest/version/vendors) linked to the bill."
          },
          "due_date": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp for the due date of the bill."
          },
          "issue_date": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp for the issue date of the bill."
          },
          "document_number": {
            "type": "string",
            "description": "The buyer facing document number of the bill."
          },
          "memo": {
            "type": "string",
            "description": "The memo of the bill."
          },
          "status": {
            "type": "string",
            "enum": [
              "submitted",
              "open"
            ],
            "description": "The status of the bill. Supported for NetSuite."
          },
          "additional_fields": {
            "type": "object",
            "properties": {
              "class_id": {
                "type": "string",
                "format": "uuid",
                "description": "The Rutter ID of the [Class](/rest/version/classes) linked to the bill. Supported for NetSuite."
              },
              "department_id": {
                "type": "string",
                "format": "uuid",
                "description": "The Rutter ID of the [Department](/rest/version/departments) linked to the bill. Supported for NetSuite."
              },
              "location_id": {
                "type": "string",
                "format": "uuid",
                "description": "The Rutter ID of the [Location](/rest/version/locations) linked to the bill. Supported for NetSuite."
              }
            },
            "additionalProperties": false,
            "description": "Additional fields required only for a narrow set of use cases."
          },
          "line_items": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "account_id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "The Rutter ID of the [Account](/rest/version/accounts) linked to the bill line item. For NetSuite, please define only one of `line_item.account_id` field or `line_item.item` field, to bill either an expense line_item or an item line_item respectively. For FreeAgent, please define an `account_id` for every line_item. For FreshBooks, please define an `account_id` for every line_item."
                },
                "class_id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "The Rutter ID of the [Class](/rest/version/classes) linked to the bill line item. Supported for NetSuite, QuickBooks, and Xero."
                },
                "customer_id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "The Rutter ID of the [Customer](/rest/version/customers) linked to the bill line item. Supported for QuickBooks and QuickBooks Desktop."
                },
                "department_id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "The Rutter ID of the [Department](/rest/version/departments) linked to the bill line item. Supported for NetSuite and QuickBooks."
                },
                "discount_item_id": {
                  "type": "string",
                  "description": "The Rutter ID of the [Discount Item](/rest/version/items) linked to the bill line item. Supported for NetSuite."
                },
                "location_id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "The Rutter ID of the [Location](/rest/version/locations) linked to the bill line item. Supported for NetSuite."
                },
                "tax_rate_id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "The Rutter ID of the [Tax Rate](/rest/version/tax-rates) linked to the bill line item. Supported for NetSuite, QuickBooks, and Xero."
                },
                "total_amount": {
                  "type": "number",
                  "description": "The total amount of the bill line item."
                },
                "description": {
                  "type": "string",
                  "description": "The description of the bill line item."
                },
                "discount_amount": {
                  "type": "number",
                  "minimum": 0,
                  "description": "The discount amount to apply on the bill line item."
                },
                "item": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "The Rutter ID of the [Item](/rest/version/items) linked to the bill line item. For NetSuite, please defined a `location_id` if the input item is an Inventory Item."
                    },
                    "quantity": {
                      "type": "number",
                      "description": "The quantity of items in the bill line item."
                    },
                    "unit_amount": {
                      "type": "number",
                      "description": "The unit amount of the items in the bill line item."
                    }
                  },
                  "required": [
                    "id",
                    "quantity",
                    "unit_amount"
                  ],
                  "additionalProperties": false,
                  "description": "The product or service associated with the bill line item. For NetSuite, please define only one of `line_item.account_id` field or `line_item.item` field, to bill either an expense line_item or an item line_item respectively. Supported for NetSuite, QuickBooks, QuickBooks Desktop, and Xero."
                }
              },
              "required": [
                "total_amount"
              ],
              "additionalProperties": false
            },
            "description": "An array of line items associated with the bill. If provided, the old `line_items` will be removed and completely replaced by the new `line_items` input. Supported for NetSuite, QuickBooks, Sage Business Cloud, and Xero."
          }
        },
        "examples": [
          {
            "UpdateBillBody_Example": {
              "$ref": "#/components/examples/UpdateBillBody_Example"
            }
          }
        ]
      },
      "CreateUpdateBillBodyRequest": {
        "type": "object",
        "properties": {
          "bill": {
            "$ref": "#/components/schemas/UpdateBillBody"
          }
        },
        "required": [
          "bill"
        ],
        "examples": [
          {
            "CreateUpdateBillBodyRequest_Example": {
              "$ref": "#/components/examples/CreateUpdateBillBodyRequest_Example"
            }
          }
        ]
      },
      "UpdateBillResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The Rutter generated unique ID of the bill."
          },
          "platform_id": {
            "type": "string",
            "description": "The platform specific ID of the bill."
          },
          "account_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The Rutter ID of the [Account](/rest/version/accounts) linked to the bill. Represents the AP account being credited."
          },
          "payment_terms_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "An array of Rutter IDs of [Payment Terms](/rest/version/payment-terms) linked to the bill."
          },
          "subsidiary_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The Rutter ID of the [Subsidiary](/rest/version/subsidiaries) linked to the bill. Supported for NetSuite."
          },
          "vendor_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The Rutter ID of the [Vendor](/rest/version/vendors) linked to the bill."
          },
          "due_date": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp for the due date of the bill."
          },
          "issue_date": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp for the issue date of the bill."
          },
          "amount_due": {
            "type": "number",
            "description": "The current amount due on the bill. Represents the remainder after bill payments or bill credit memos are applied against the total amount."
          },
          "currency_code": {
            "type": "string",
            "enum": [
              "AED",
              "AFN",
              "ALL",
              "AMD",
              "ANG",
              "AOA",
              "ARS",
              "AUD",
              "AWG",
              "AZN",
              "BAM",
              "BBD",
              "BDT",
              "BGN",
              "BHD",
              "BIF",
              "BMD",
              "BND",
              "BOB",
              "BOV",
              "BRL",
              "BSD",
              "BTN",
              "BWP",
              "BYR",
              "BZD",
              "CAD",
              "CDF",
              "CHE",
              "CHF",
              "CHW",
              "CLF",
              "CLP",
              "CNY",
              "COP",
              "COU",
              "CRC",
              "CUC",
              "CUP",
              "CVE",
              "CZK",
              "DJF",
              "DKK",
              "DOP",
              "DZD",
              "EGP",
              "ERN",
              "ETB",
              "EUR",
              "FJD",
              "FKP",
              "GBP",
              "GEL",
              "GHS",
              "GIP",
              "GMD",
              "GNF",
              "GTQ",
              "GYD",
              "HKD",
              "HNL",
              "HRK",
              "HTG",
              "HUF",
              "IDR",
              "ILS",
              "INR",
              "IQD",
              "IRR",
              "ISK",
              "JMD",
              "JOD",
              "JPY",
              "KES",
              "KGS",
              "KHR",
              "KMF",
              "KPW",
              "KRW",
              "KWD",
              "KYD",
              "KZT",
              "LAK",
              "LBP",
              "LKR",
              "LRD",
              "LSL",
              "LTL",
              "LVL",
              "LYD",
              "MAD",
              "MDL",
              "MGA",
              "MKD",
              "MMK",
              "MNT",
              "MOP",
              "MRO",
              "MUR",
              "MVR",
              "MWK",
              "MXN",
              "MXV",
              "MYR",
              "MZN",
              "NAD",
              "NGN",
              "NIO",
              "NOK",
              "NPR",
              "NZD",
              "OMR",
              "PAB",
              "PEN",
              "PGK",
              "PHP",
              "PKR",
              "PLN",
              "PYG",
              "QAR",
              "RON",
              "RSD",
              "RUB",
              "RWF",
              "SAR",
              "SBD",
              "SCR",
              "SDG",
              "SEK",
              "SGD",
              "SHP",
              "SLL",
              "SOS",
              "SRD",
              "SSP",
              "STD",
              "SVC",
              "SYP",
              "SZL",
              "THB",
              "TJS",
              "TMT",
              "TND",
              "TOP",
              "TRY",
              "TTD",
              "TWD",
              "TZS",
              "UAH",
              "UGX",
              "USD",
              "USN",
              "USS",
              "UYI",
              "UYU",
              "UYW",
              "UZS",
              "VEF",
              "VND",
              "VUV",
              "WST",
              "XAF",
              "XAG",
              "XAU",
              "XBA",
              "XBB",
              "XBC",
              "XBD",
              "XCD",
              "XDR",
              "XFU",
              "XOF",
              "XPD",
              "XPF",
              "XPT",
              "XTS",
              "XXX",
              "YER",
              "ZAR",
              "ZMW"
            ],
            "description": "The [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code of the bill."
          },
          "status": {
            "type": "string",
            "enum": [
              "open",
              "partially_paid",
              "paid",
              "void",
              "draft",
              "unknown",
              "submitted"
            ],
            "description": "The status of the bill."
          },
          "total_amount": {
            "type": "number",
            "description": "The total amount of the bill."
          },
          "document_number": {
            "type": [
              "string",
              "null"
            ],
            "description": "The buyer facing document number of the bill."
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "description": "The memo of the bill."
          },
          "sub_total": {
            "type": [
              "number",
              "null"
            ],
            "description": "The subtotal of the bill, without the tax amount."
          },
          "tax_amount": {
            "type": [
              "number",
              "null"
            ],
            "description": "The tax amount applied to the bill."
          },
          "total_discount": {
            "type": [
              "number",
              "null"
            ],
            "description": "The discount amount applied to the bill."
          },
          "linked_purchase_orders": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                }
              },
              "required": [
                "id"
              ],
              "additionalProperties": false
            },
            "description": "An array of Rutter IDs of [Purchase Orders](/rest/version/purchase-orders) linked to the bill."
          },
          "currency_rate": {
            "type": [
              "string",
              "null"
            ],
            "description": "The exchange rate between the currency of the bill and the business default currency. Supported for NetSuite, QuickBooks, and Xero."
          },
          "linked_credit_memos": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "allocated_date": {
                  "type": "string"
                },
                "allocated_amount": {
                  "type": "number"
                }
              },
              "required": [
                "id",
                "allocated_date",
                "allocated_amount"
              ],
              "additionalProperties": false
            },
            "description": "An array of Rutter IDs of [Bill Credit Memos](/reference/bill-credit-memos) applied against the bill."
          },
          "linked_payments": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "allocated_date": {
                  "type": "string"
                },
                "allocated_amount": {
                  "type": "number"
                }
              },
              "required": [
                "id",
                "allocated_date",
                "allocated_amount"
              ],
              "additionalProperties": false
            },
            "description": "An array of Rutter IDs of [Bill Payments](/reference/bill-payments) applied against the bill."
          },
          "line_items": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "account_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The Rutter ID of the [Account](/rest/version/accounts) linked to the bill line item."
                },
                "class_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The Rutter ID of the [Class](/rest/version/classes) linked to the bill line item. Supported for NetSuite, QuickBooks, and Xero."
                },
                "customer_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The Rutter ID of the [Customer](/rest/version/customers) linked to the bill line item. Supported for QuickBooks."
                },
                "department_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The Rutter ID of the [Department](/rest/version/departments) linked to the bill line item. Supported for NetSuite, QuickBooks, and Sage Intacct."
                },
                "location_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The Rutter ID of the [Location](/rest/version/locations) linked to the bill line item. Supported for NetSuite and Sage Intacct."
                },
                "tax_rate_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The Rutter ID of the [Tax Rate](/rest/version/tax-rates) linked to the bill line item."
                },
                "description": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The description of the bill line item."
                },
                "discount_amount": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "description": "The discount amount applied to the bill line item."
                },
                "discount_percentage": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "description": "The percentage discount applied to the bill line item."
                },
                "sub_total": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "description": "The subtotal of the bill line item, without tax."
                },
                "tax_amount": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "description": "The tax amount applied to the bill line item."
                },
                "total_amount": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "description": "The total amount of the bill line item. The total amount for line items can either be inclusive of tax, or exclusive of tax. If it's exclusive, it will be the same amount as `sub_total`; if inclusive, it will differ. If the `sub_total` field is null, it cannot be determined."
                },
                "item": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "id": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "The Rutter ID of the [Item](/rest/version/items) linked to the bill line item."
                    },
                    "quantity": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "The quantity of items in the bill line item."
                    },
                    "unit_amount": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "The unit amount of the items in the bill line item."
                    }
                  },
                  "required": [
                    "id",
                    "quantity",
                    "unit_amount"
                  ],
                  "additionalProperties": false,
                  "description": "The product or service associated with the bill line item. Supported for Dynamics Business Central, FreeAgent, NetSuite, QuickBooks, QuickBooks Desktop, and Xero."
                }
              },
              "required": [
                "account_id",
                "class_id",
                "customer_id",
                "department_id",
                "location_id",
                "tax_rate_id",
                "description",
                "discount_amount",
                "discount_percentage",
                "sub_total",
                "tax_amount",
                "total_amount",
                "item"
              ],
              "additionalProperties": false
            },
            "description": "An array of line items associated with the bill."
          },
          "created_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the bill was created."
          },
          "updated_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the bill was last updated."
          },
          "last_synced_at": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp when the bill was last synced by Rutter."
          },
          "platform_data": {
            "type": "object",
            "additionalProperties": {},
            "description": "The raw platform data corresponding to the Rutter object."
          }
        },
        "required": [
          "id",
          "platform_id",
          "account_id",
          "payment_terms_id",
          "subsidiary_id",
          "vendor_id",
          "due_date",
          "issue_date",
          "amount_due",
          "currency_code",
          "status",
          "total_amount",
          "document_number",
          "memo",
          "sub_total",
          "tax_amount",
          "total_discount",
          "linked_purchase_orders",
          "linked_credit_memos",
          "linked_payments",
          "line_items",
          "created_at",
          "updated_at",
          "last_synced_at"
        ],
        "examples": [
          {
            "UpdateBillResponse_Example": {
              "$ref": "#/components/examples/UpdateBillResponse_Example"
            }
          }
        ]
      },
      "UpdateBillResponseResponse": {
        "type": "object",
        "properties": {
          "bill": {
            "$ref": "#/components/schemas/UpdateBillResponse"
          }
        },
        "required": [
          "bill"
        ],
        "examples": [
          {
            "UpdateBillResponseResponse_Example": {
              "$ref": "#/components/examples/UpdateBillResponseResponse_Example"
            }
          }
        ]
      },
      "CreateUpdateBillResponseResponse": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/UpdateBillResponseResponse"
          },
          {
            "$ref": "#/components/schemas/AsyncResponsePayload"
          }
        ],
        "examples": [
          {
            "CreateUpdateBillResponseResponse_Example": {
              "$ref": "#/components/examples/CreateUpdateBillResponseResponse_Example"
            }
          }
        ]
      },
      "DeleteBill_2023_02_07": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "enum": [
              "deleted",
              "not_found"
            ],
            "description": "Returns the status of the requested object: `deleted` indicates object was deleted by this operation, whereas `not_found` indicates object was not found (allowing us to make DELETE operations idempotent)."
          },
          "success": {
            "type": "boolean",
            "description": "Indicates whether deletion was successful"
          }
        },
        "required": [
          "code",
          "success"
        ],
        "examples": [
          {
            "DeleteBill_2023_02_07_Example": {
              "$ref": "#/components/examples/DeleteBill_2023_02_07_Example"
            }
          }
        ]
      },
      "DeleteBill_2023_02_07Response": {
        "type": "object",
        "properties": {
          "deleted_bill": {
            "$ref": "#/components/schemas/DeleteBill_2023_02_07"
          }
        },
        "required": [
          "deleted_bill"
        ],
        "examples": [
          {
            "DeleteBill_2023_02_07Response_Example": {
              "$ref": "#/components/examples/DeleteBill_2023_02_07Response_Example"
            }
          }
        ]
      },
      "BillAttachmentsResponse": {
        "type": "object",
        "properties": {
          "attachments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Attachment"
            }
          }
        },
        "required": [
          "attachments"
        ],
        "examples": [
          {
            "BillAttachmentsResponse_Example": {
              "$ref": "#/components/examples/BillAttachmentsResponse_Example"
            }
          }
        ]
      },
      "CashFlowStatement": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The Rutter generated unique ID of the cash flow statement."
          },
          "start_date": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp for the start date of the cash flow statement."
          },
          "end_date": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp for the end date of the cash flow statement."
          },
          "currency_code": {
            "type": "string",
            "description": "The [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code of the cash flow statement."
          },
          "ending_balance": {
            "type": [
              "string",
              "null"
            ],
            "description": "The amount of cash and cash equivalents at the end of the given period."
          },
          "starting_balance": {
            "type": [
              "string",
              "null"
            ],
            "description": "The amount of cash and cash equivalents at the start of the given period."
          },
          "total_financing": {
            "type": [
              "string",
              "null"
            ],
            "description": "The total amount of Financing Activities."
          },
          "total_investing": {
            "type": [
              "string",
              "null"
            ],
            "description": "The total amount of Investing Activities."
          },
          "total_operating": {
            "type": [
              "string",
              "null"
            ],
            "description": "The total amount of Operating Activities."
          },
          "gross_cash_in_flow": {
            "type": [
              "string",
              "null"
            ]
          },
          "gross_cash_out_flow": {
            "type": [
              "string",
              "null"
            ]
          },
          "financing_activities": {
            "$ref": "#/components/schemas/GeneralLedgerLineItem"
          },
          "investing_activities": {
            "$ref": "#/components/schemas/GeneralLedgerLineItem"
          },
          "operating_activities": {
            "$ref": "#/components/schemas/GeneralLedgerLineItem"
          },
          "created_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the cash flow statement was created."
          },
          "updated_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the cash flow statement was last updated."
          },
          "platform_data": {
            "type": "object",
            "additionalProperties": {},
            "description": "The raw platform data corresponding to the Rutter object."
          }
        },
        "required": [
          "id",
          "start_date",
          "end_date",
          "currency_code",
          "ending_balance",
          "starting_balance",
          "total_financing",
          "total_investing",
          "total_operating",
          "financing_activities",
          "investing_activities",
          "operating_activities",
          "created_at",
          "updated_at"
        ],
        "examples": [
          {
            "CashFlowStatement_Example": {
              "$ref": "#/components/examples/CashFlowStatement_Example"
            }
          }
        ]
      },
      "ListCashFlowStatementResponseWithConnection": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "cash_flows": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CashFlowStatement"
            }
          },
          "next_cursor": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "connection",
          "cash_flows"
        ],
        "examples": [
          {
            "ListCashFlowStatementResponseWithConnection_Example": {
              "$ref": "#/components/examples/ListCashFlowStatementResponseWithConnection_Example"
            }
          }
        ]
      },
      "Class": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The Rutter generated unique ID of the class."
          },
          "platform_id": {
            "type": "string",
            "description": "The platform specific ID of the class."
          },
          "parent_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The Rutter ID of the [Parent Class](/rest/version/classes) linked to the class."
          },
          "has_children": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Describes whether the class has child classes."
          },
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "The name of the class."
          },
          "status": {
            "type": "string",
            "enum": [
              "active",
              "archived"
            ],
            "description": "The status of the class."
          },
          "created_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the class was created."
          },
          "updated_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the class was last updated."
          },
          "last_synced_at": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp when the class was last synced by Rutter."
          },
          "platform_data": {
            "type": "object",
            "additionalProperties": {},
            "description": "The raw platform data corresponding to the Rutter object."
          }
        },
        "required": [
          "id",
          "platform_id",
          "parent_id",
          "has_children",
          "name",
          "created_at",
          "updated_at",
          "last_synced_at"
        ],
        "examples": [
          {
            "Class_Example": {
              "$ref": "#/components/examples/Class_Example"
            }
          }
        ]
      },
      "ListClassResponseWithConnection": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "classes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Class"
            }
          },
          "next_cursor": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "connection",
          "classes"
        ],
        "examples": [
          {
            "ListClassResponseWithConnection_Example": {
              "$ref": "#/components/examples/ListClassResponseWithConnection_Example"
            }
          }
        ]
      },
      "CompanyInfo_2023_03_14": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The Rutter generated unique ID of the object."
          },
          "platform_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The platform specific ID of the object."
          },
          "currency_code": {
            "type": "string",
            "enum": [
              "AED",
              "AFN",
              "ALL",
              "AMD",
              "ANG",
              "AOA",
              "ARS",
              "AUD",
              "AWG",
              "AZN",
              "BAM",
              "BBD",
              "BDT",
              "BGN",
              "BHD",
              "BIF",
              "BMD",
              "BND",
              "BOB",
              "BOV",
              "BRL",
              "BSD",
              "BTN",
              "BWP",
              "BYR",
              "BZD",
              "CAD",
              "CDF",
              "CHE",
              "CHF",
              "CHW",
              "CLF",
              "CLP",
              "CNY",
              "COP",
              "COU",
              "CRC",
              "CUC",
              "CUP",
              "CVE",
              "CZK",
              "DJF",
              "DKK",
              "DOP",
              "DZD",
              "EGP",
              "ERN",
              "ETB",
              "EUR",
              "FJD",
              "FKP",
              "GBP",
              "GEL",
              "GHS",
              "GIP",
              "GMD",
              "GNF",
              "GTQ",
              "GYD",
              "HKD",
              "HNL",
              "HRK",
              "HTG",
              "HUF",
              "IDR",
              "ILS",
              "INR",
              "IQD",
              "IRR",
              "ISK",
              "JMD",
              "JOD",
              "JPY",
              "KES",
              "KGS",
              "KHR",
              "KMF",
              "KPW",
              "KRW",
              "KWD",
              "KYD",
              "KZT",
              "LAK",
              "LBP",
              "LKR",
              "LRD",
              "LSL",
              "LTL",
              "LVL",
              "LYD",
              "MAD",
              "MDL",
              "MGA",
              "MKD",
              "MMK",
              "MNT",
              "MOP",
              "MRO",
              "MUR",
              "MVR",
              "MWK",
              "MXN",
              "MXV",
              "MYR",
              "MZN",
              "NAD",
              "NGN",
              "NIO",
              "NOK",
              "NPR",
              "NZD",
              "OMR",
              "PAB",
              "PEN",
              "PGK",
              "PHP",
              "PKR",
              "PLN",
              "PYG",
              "QAR",
              "RON",
              "RSD",
              "RUB",
              "RWF",
              "SAR",
              "SBD",
              "SCR",
              "SDG",
              "SEK",
              "SGD",
              "SHP",
              "SLL",
              "SOS",
              "SRD",
              "SSP",
              "STD",
              "SVC",
              "SYP",
              "SZL",
              "THB",
              "TJS",
              "TMT",
              "TND",
              "TOP",
              "TRY",
              "TTD",
              "TWD",
              "TZS",
              "UAH",
              "UGX",
              "USD",
              "USN",
              "USS",
              "UYI",
              "UYU",
              "UYW",
              "UZS",
              "VEF",
              "VND",
              "VUV",
              "WST",
              "XAF",
              "XAG",
              "XAU",
              "XBA",
              "XBB",
              "XBC",
              "XBD",
              "XCD",
              "XDR",
              "XFU",
              "XOF",
              "XPD",
              "XPF",
              "XPT",
              "XTS",
              "XXX",
              "YER",
              "ZAR",
              "ZMW"
            ],
            "description": "The [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code of the company."
          },
          "name": {
            "type": "string",
            "description": "The DBA name of the company."
          },
          "addresses": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "A list of addresses linked to the company."
          },
          "legal_name": {
            "type": [
              "string",
              "null"
            ],
            "description": "The legal name of the company."
          },
          "created_at": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the object was created."
          },
          "updated_at": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the object was last updated."
          },
          "last_synced_at": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp when the company info was last synced by Rutter."
          },
          "platform_data": {
            "type": "object",
            "additionalProperties": {},
            "description": "The raw platform data corresponding to the Rutter object."
          }
        },
        "required": [
          "id",
          "platform_id",
          "currency_code",
          "name",
          "addresses",
          "legal_name",
          "created_at",
          "updated_at",
          "last_synced_at"
        ],
        "examples": [
          {
            "CompanyInfo_2023_03_14_Example": {
              "$ref": "#/components/examples/CompanyInfo_2023_03_14_Example"
            }
          }
        ]
      },
      "CompanyInfo_2023_03_14ResponseWithConnection": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "company_info": {
            "$ref": "#/components/schemas/CompanyInfo_2023_03_14"
          }
        },
        "required": [
          "connection",
          "company_info"
        ],
        "examples": [
          {
            "CompanyInfo_2023_03_14ResponseWithConnection_Example": {
              "$ref": "#/components/examples/CompanyInfo_2023_03_14ResponseWithConnection_Example"
            }
          }
        ]
      },
      "Currency": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The Rutter generated unique ID of the object."
          },
          "currency_code": {
            "type": "string",
            "enum": [
              "AED",
              "AFN",
              "ALL",
              "AMD",
              "ANG",
              "AOA",
              "ARS",
              "AUD",
              "AWG",
              "AZN",
              "BAM",
              "BBD",
              "BDT",
              "BGN",
              "BHD",
              "BIF",
              "BMD",
              "BND",
              "BOB",
              "BOV",
              "BRL",
              "BSD",
              "BTN",
              "BWP",
              "BYR",
              "BZD",
              "CAD",
              "CDF",
              "CHE",
              "CHF",
              "CHW",
              "CLF",
              "CLP",
              "CNY",
              "COP",
              "COU",
              "CRC",
              "CUC",
              "CUP",
              "CVE",
              "CZK",
              "DJF",
              "DKK",
              "DOP",
              "DZD",
              "EGP",
              "ERN",
              "ETB",
              "EUR",
              "FJD",
              "FKP",
              "GBP",
              "GEL",
              "GHS",
              "GIP",
              "GMD",
              "GNF",
              "GTQ",
              "GYD",
              "HKD",
              "HNL",
              "HRK",
              "HTG",
              "HUF",
              "IDR",
              "ILS",
              "INR",
              "IQD",
              "IRR",
              "ISK",
              "JMD",
              "JOD",
              "JPY",
              "KES",
              "KGS",
              "KHR",
              "KMF",
              "KPW",
              "KRW",
              "KWD",
              "KYD",
              "KZT",
              "LAK",
              "LBP",
              "LKR",
              "LRD",
              "LSL",
              "LTL",
              "LVL",
              "LYD",
              "MAD",
              "MDL",
              "MGA",
              "MKD",
              "MMK",
              "MNT",
              "MOP",
              "MRO",
              "MUR",
              "MVR",
              "MWK",
              "MXN",
              "MXV",
              "MYR",
              "MZN",
              "NAD",
              "NGN",
              "NIO",
              "NOK",
              "NPR",
              "NZD",
              "OMR",
              "PAB",
              "PEN",
              "PGK",
              "PHP",
              "PKR",
              "PLN",
              "PYG",
              "QAR",
              "RON",
              "RSD",
              "RUB",
              "RWF",
              "SAR",
              "SBD",
              "SCR",
              "SDG",
              "SEK",
              "SGD",
              "SHP",
              "SLL",
              "SOS",
              "SRD",
              "SSP",
              "STD",
              "SVC",
              "SYP",
              "SZL",
              "THB",
              "TJS",
              "TMT",
              "TND",
              "TOP",
              "TRY",
              "TTD",
              "TWD",
              "TZS",
              "UAH",
              "UGX",
              "USD",
              "USN",
              "USS",
              "UYI",
              "UYU",
              "UYW",
              "UZS",
              "VEF",
              "VND",
              "VUV",
              "WST",
              "XAF",
              "XAG",
              "XAU",
              "XBA",
              "XBB",
              "XBC",
              "XBD",
              "XCD",
              "XDR",
              "XFU",
              "XOF",
              "XPD",
              "XPF",
              "XPT",
              "XTS",
              "XXX",
              "YER",
              "ZAR",
              "ZMW"
            ],
            "description": "The [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code of the currency."
          },
          "currency_name": {
            "type": [
              "string",
              "null"
            ],
            "description": "The currency name."
          },
          "updated_at": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the object was last updated."
          },
          "last_synced_at": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp when the currency was last synced by Rutter."
          }
        },
        "required": [
          "id",
          "currency_code",
          "currency_name",
          "updated_at",
          "last_synced_at"
        ],
        "examples": [
          {
            "Currency_Example": {
              "$ref": "#/components/examples/Currency_Example"
            }
          }
        ]
      },
      "ListCurrencyResponseWithConnection": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "currencies": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Currency"
            }
          },
          "next_cursor": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "connection",
          "currencies"
        ],
        "examples": [
          {
            "ListCurrencyResponseWithConnection_Example": {
              "$ref": "#/components/examples/ListCurrencyResponseWithConnection_Example"
            }
          }
        ]
      },
      "CustomersParams": {
        "type": "object",
        "properties": {
          "access_token": {
            "type": "string",
            "format": "uuid",
            "description": "The access token of the connection."
          },
          "cursor": {
            "type": "string",
            "description": "The cursor to use for pagination. Use the value of `next_cursor` provided in a previous response."
          },
          "customer_name": {
            "type": "string",
            "description": "The exact customer name to filter on. Supported for QuickBooks Desktop."
          },
          "expand": {
            "type": "string",
            "enum": [
              "platform_data"
            ],
            "description": "Used to request inclusion of optional objects."
          },
          "force_fetch": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ],
            "description": "Force a response even if the underlying connection hasn't finished the initial sync."
          },
          "last_synced_at_min": {
            "type": "integer",
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum last_synced_at datetime to fetch entities from."
          },
          "limit": {
            "type": "integer",
            "description": "The number of entities to return. Defaults to 50. Maximum is 500."
          },
          "sort": {
            "type": "string",
            "description": "The field and direction to sort by (`ASC` or `DESC`), e.g. `last_synced_at ASC`. Currently supports the fields: `updated_at`, `last_synced_at`. If a field is provided but `ASC` or `DESC` is not, defaults to `ASC`. If this field is omitted, defaults, to `updated_at DESC`."
          },
          "updated_at_max": {
            "type": "integer",
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum updated_at datetime to fetch entities from."
          },
          "updated_at_min": {
            "type": "integer",
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum updated_at datetime to fetch entities from."
          }
        },
        "required": [
          "access_token"
        ]
      },
      "AccountingCustomer_2023_02_07": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The Rutter generated unique ID of the customer."
          },
          "platform_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The platform specific ID of the customer."
          },
          "parent_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The Rutter ID of the [Parent Customer](/rest/version/customers) linked to the customer. Supported for QuickBooks."
          },
          "subsidiary_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The Rutter ID of the [Subsidiary](/rest/version/subsidiaries) linked to the customer. Supported for NetSuite."
          },
          "status": {
            "type": "string",
            "enum": [
              "ACTIVE",
              "INACTIVE",
              "UNKNOWN"
            ]
          },
          "contact_name": {
            "type": [
              "string",
              "null"
            ],
            "description": "The name of the primary contact of the customer."
          },
          "currency_code": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code of the customer."
          },
          "customer_name": {
            "type": [
              "string",
              "null"
            ],
            "description": "The business name of the customer."
          },
          "email": {
            "type": [
              "string",
              "null"
            ],
            "description": "The email of the customer."
          },
          "phone": {
            "type": [
              "string",
              "null"
            ],
            "description": "The phone number of the customer."
          },
          "registration_number": {
            "type": [
              "string",
              "null"
            ],
            "description": "The registration number of the customer"
          },
          "tax_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "addresses": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "enum": [
                    "billing",
                    "shipping",
                    "po_box",
                    "unknown"
                  ],
                  "description": "The type of the address."
                },
                "address1": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The first address line of the address."
                },
                "address2": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The second address line of the address."
                },
                "city": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The city of the address."
                },
                "country": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The country of the address."
                },
                "postal_code": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The postal code of the address."
                },
                "region": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The region or state of the address."
                }
              },
              "required": [
                "type",
                "address1",
                "address2",
                "city",
                "country",
                "postal_code",
                "region"
              ],
              "additionalProperties": false
            },
            "description": "An array of addresses linked to the customer."
          },
          "updated_at": {
            "type": "string"
          },
          "last_synced_at": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp when the customer was last synced by Rutter."
          },
          "platform_data": {
            "type": "object",
            "additionalProperties": {},
            "description": "The raw platform data corresponding to the Rutter object."
          }
        },
        "required": [
          "id",
          "platform_id",
          "subsidiary_id",
          "status",
          "contact_name",
          "currency_code",
          "customer_name",
          "email",
          "phone",
          "registration_number",
          "tax_number",
          "addresses",
          "updated_at",
          "last_synced_at"
        ],
        "examples": [
          {
            "AccountingCustomer_2023_02_07_Example": {
              "$ref": "#/components/examples/AccountingCustomer_2023_02_07_Example"
            }
          }
        ]
      },
      "ListAccountingCustomer_2023_02_07ResponseWithConnection": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "customers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AccountingCustomer_2023_02_07"
            }
          },
          "next_cursor": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "connection",
          "customers"
        ],
        "examples": [
          {
            "ListAccountingCustomer_2023_02_07ResponseWithConnection_Example": {
              "$ref": "#/components/examples/ListAccountingCustomer_2023_02_07ResponseWithConnection_Example"
            }
          }
        ]
      },
      "CreateAccountingCustomer": {
        "type": "object",
        "properties": {
          "subsidiary_id": {
            "type": "string",
            "format": "uuid",
            "description": "The Rutter ID of the [Subsidiary](/rest/version/subsidiaries) linked to the customer. Supported for NetSuite."
          },
          "contact_name": {
            "type": "string",
            "description": "The name of the contact person for the customer. This will frequently be the name of the person who owns the contract."
          },
          "customer_name": {
            "type": "string",
            "description": "The name of the customer. This will frequently be the company name."
          },
          "email": {
            "type": "string",
            "description": "The email address of the customer contact."
          },
          "phone": {
            "type": "string",
            "description": "The phone number of the customer contact."
          },
          "additional_fields": {
            "type": "object",
            "properties": {
              "parent_id": {
                "type": "string",
                "description": "The Rutter ID of the [Parent Customer](/rest/version/customers) linked to the customer. Supported for QuickBooks."
              },
              "currency_code": {
                "type": "string",
                "enum": [
                  "AED",
                  "AFN",
                  "ALL",
                  "AMD",
                  "ANG",
                  "AOA",
                  "ARS",
                  "AUD",
                  "AWG",
                  "AZN",
                  "BAM",
                  "BBD",
                  "BDT",
                  "BGN",
                  "BHD",
                  "BIF",
                  "BMD",
                  "BND",
                  "BOB",
                  "BOV",
                  "BRL",
                  "BSD",
                  "BTN",
                  "BWP",
                  "BYR",
                  "BZD",
                  "CAD",
                  "CDF",
                  "CHE",
                  "CHF",
                  "CHW",
                  "CLF",
                  "CLP",
                  "CNY",
                  "COP",
                  "COU",
                  "CRC",
                  "CUC",
                  "CUP",
                  "CVE",
                  "CZK",
                  "DJF",
                  "DKK",
                  "DOP",
                  "DZD",
                  "EGP",
                  "ERN",
                  "ETB",
                  "EUR",
                  "FJD",
                  "FKP",
                  "GBP",
                  "GEL",
                  "GHS",
                  "GIP",
                  "GMD",
                  "GNF",
                  "GTQ",
                  "GYD",
                  "HKD",
                  "HNL",
                  "HRK",
                  "HTG",
                  "HUF",
                  "IDR",
                  "ILS",
                  "INR",
                  "IQD",
                  "IRR",
                  "ISK",
                  "JMD",
                  "JOD",
                  "JPY",
                  "KES",
                  "KGS",
                  "KHR",
                  "KMF",
                  "KPW",
                  "KRW",
                  "KWD",
                  "KYD",
                  "KZT",
                  "LAK",
                  "LBP",
                  "LKR",
                  "LRD",
                  "LSL",
                  "LTL",
                  "LVL",
                  "LYD",
                  "MAD",
                  "MDL",
                  "MGA",
                  "MKD",
                  "MMK",
                  "MNT",
                  "MOP",
                  "MRO",
                  "MUR",
                  "MVR",
                  "MWK",
                  "MXN",
                  "MXV",
                  "MYR",
                  "MZN",
                  "NAD",
                  "NGN",
                  "NIO",
                  "NOK",
                  "NPR",
                  "NZD",
                  "OMR",
                  "PAB",
                  "PEN",
                  "PGK",
                  "PHP",
                  "PKR",
                  "PLN",
                  "PYG",
                  "QAR",
                  "RON",
                  "RSD",
                  "RUB",
                  "RWF",
                  "SAR",
                  "SBD",
                  "SCR",
                  "SDG",
                  "SEK",
                  "SGD",
                  "SHP",
                  "SLL",
                  "SOS",
                  "SRD",
                  "SSP",
                  "STD",
                  "SVC",
                  "SYP",
                  "SZL",
                  "THB",
                  "TJS",
                  "TMT",
                  "TND",
                  "TOP",
                  "TRY",
                  "TTD",
                  "TWD",
                  "TZS",
                  "UAH",
                  "UGX",
                  "USD",
                  "USN",
                  "USS",
                  "UYI",
                  "UYU",
                  "UYW",
                  "UZS",
                  "VEF",
                  "VND",
                  "VUV",
                  "WST",
                  "XAF",
                  "XAG",
                  "XAU",
                  "XBA",
                  "XBB",
                  "XBC",
                  "XBD",
                  "XCD",
                  "XDR",
                  "XFU",
                  "XOF",
                  "XPD",
                  "XPF",
                  "XPT",
                  "XTS",
                  "XXX",
                  "YER",
                  "ZAR",
                  "ZMW"
                ],
                "description": "FreshBooks only: required to create customer."
              },
              "language": {
                "type": "string",
                "description": "FreshBooks only: required to create customer."
              }
            },
            "additionalProperties": false,
            "description": "Additional fields required only for a narrow set of use cases."
          },
          "addresses": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "enum": [
                    "billing",
                    "shipping",
                    "po_box",
                    "unknown"
                  ],
                  "description": "The type of the address."
                },
                "address1": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The first address line of the address."
                },
                "address2": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The second address line of the address."
                },
                "city": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The city of the address."
                },
                "country": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The country of the address."
                },
                "postal_code": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The postal code of the address."
                },
                "region": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The region or state of the address."
                }
              },
              "required": [
                "type",
                "address1",
                "address2",
                "city",
                "country",
                "postal_code",
                "region"
              ],
              "additionalProperties": false
            },
            "description": "An array of addresses linked to the customer. Supported for QuickBooks and QuickBooks Desktop."
          }
        },
        "required": [
          "contact_name",
          "customer_name",
          "email",
          "phone"
        ],
        "examples": [
          {
            "CreateAccountingCustomer_Example": {
              "$ref": "#/components/examples/CreateAccountingCustomer_Example"
            }
          }
        ]
      },
      "CreateCreateAccountingCustomerRequest": {
        "type": "object",
        "properties": {
          "customer": {
            "$ref": "#/components/schemas/CreateAccountingCustomer"
          }
        },
        "required": [
          "customer"
        ],
        "examples": [
          {
            "CreateCreateAccountingCustomerRequest_Example": {
              "$ref": "#/components/examples/CreateCreateAccountingCustomerRequest_Example"
            }
          }
        ]
      },
      "AccountingCustomer_2023_02_07Response": {
        "type": "object",
        "properties": {
          "customer": {
            "$ref": "#/components/schemas/AccountingCustomer_2023_02_07"
          }
        },
        "required": [
          "customer"
        ],
        "examples": [
          {
            "AccountingCustomer_2023_02_07Response_Example": {
              "$ref": "#/components/examples/AccountingCustomer_2023_02_07Response_Example"
            }
          }
        ]
      },
      "CreateAccountingCustomer_2023_02_07Response": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/AccountingCustomer_2023_02_07Response"
          },
          {
            "$ref": "#/components/schemas/AsyncResponsePayload"
          }
        ],
        "examples": [
          {
            "CreateAccountingCustomer_2023_02_07Response_Example": {
              "$ref": "#/components/examples/CreateAccountingCustomer_2023_02_07Response_Example"
            }
          }
        ]
      },
      "AccountingCustomer_2023_02_07ResponseWithConnection": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "customer": {
            "$ref": "#/components/schemas/AccountingCustomer_2023_02_07"
          }
        },
        "required": [
          "connection",
          "customer"
        ],
        "examples": [
          {
            "AccountingCustomer_2023_02_07ResponseWithConnection_Example": {
              "$ref": "#/components/examples/AccountingCustomer_2023_02_07ResponseWithConnection_Example"
            }
          }
        ]
      },
      "UpdateAccountingCustomer": {
        "type": "object",
        "properties": {
          "contact_name": {
            "type": "string",
            "description": "The name of the contact person for the customer. This will frequently be the name of the person who owns the contract."
          },
          "customer_name": {
            "type": "string",
            "description": "The name of the customer. This will frequently be the company name."
          },
          "email": {
            "type": "string",
            "description": "The email address of the customer contact."
          },
          "phone": {
            "type": "string",
            "description": "The phone number of the customer contact."
          },
          "additional_fields": {
            "type": "object",
            "properties": {
              "parent_id": {
                "type": "string",
                "description": "The Rutter ID of the [Parent Customer](/rest/version/customers) linked to the customer. Supported for QuickBooks."
              }
            },
            "additionalProperties": false,
            "description": "Additional fields required only for a narrow set of use cases."
          },
          "addresses": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "enum": [
                    "billing",
                    "shipping",
                    "po_box",
                    "unknown"
                  ],
                  "description": "The type of the address."
                },
                "address1": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The first address line of the address."
                },
                "address2": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The second address line of the address."
                },
                "city": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The city of the address."
                },
                "country": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The country of the address."
                },
                "postal_code": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The postal code of the address."
                },
                "region": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The region or state of the address."
                }
              },
              "required": [
                "type",
                "address1",
                "address2",
                "city",
                "country",
                "postal_code",
                "region"
              ],
              "additionalProperties": false
            },
            "description": "An array of addresses linked to the customer. Supported for QuickBooks."
          }
        }
      },
      "CreateUpdateAccountingCustomerRequest": {
        "type": "object",
        "properties": {
          "customer": {
            "$ref": "#/components/schemas/UpdateAccountingCustomer"
          }
        },
        "required": [
          "customer"
        ]
      },
      "Department": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The Rutter generated unique ID of the department."
          },
          "platform_id": {
            "type": "string",
            "description": "The platform specific ID of the department."
          },
          "parent_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The Rutter ID of the [Parent Department](/rest/version/departments) linked to the department."
          },
          "has_children": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Describes whether the department has child departments."
          },
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "The name of the department."
          },
          "status": {
            "type": "string",
            "enum": [
              "active",
              "archived"
            ],
            "description": "The status of the department."
          },
          "created_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the department was created."
          },
          "updated_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the department was last updated."
          },
          "last_synced_at": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp when the department was last synced by Rutter."
          },
          "platform_data": {
            "type": "object",
            "additionalProperties": {},
            "description": "The raw platform data corresponding to the Rutter object."
          }
        },
        "required": [
          "id",
          "platform_id",
          "parent_id",
          "has_children",
          "name",
          "created_at",
          "updated_at",
          "last_synced_at"
        ],
        "examples": [
          {
            "Department_Example": {
              "$ref": "#/components/examples/Department_Example"
            }
          }
        ]
      },
      "ListDepartmentResponse": {
        "type": "object",
        "properties": {
          "departments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Department"
            }
          },
          "next_cursor": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "departments"
        ],
        "examples": [
          {
            "ListDepartmentResponse_Example": {
              "$ref": "#/components/examples/ListDepartmentResponse_Example"
            }
          }
        ]
      },
      "ListExpensesPaginationParams": {
        "type": "object",
        "properties": {
          "access_token": {
            "type": "string",
            "format": "uuid",
            "description": "The access token of the connection."
          },
          "cursor": {
            "type": "string",
            "description": "The cursor to use for pagination. Use the value of `next_cursor` provided in a previous response."
          },
          "expand": {
            "type": "string",
            "enum": [
              "platform_data"
            ],
            "description": "Used to request inclusion of optional objects."
          },
          "expense_type": {
            "type": "string",
            "enum": [
              "expense",
              "refund"
            ],
            "description": "Filter results on the supplied expense type. Returns only expenses if not provided."
          },
          "force_fetch": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ],
            "description": "Force a response even if the underlying connection hasn't finished the initial sync."
          },
          "last_synced_at_min": {
            "type": "integer",
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum last_synced_at datetime to fetch entities from."
          },
          "limit": {
            "type": "integer",
            "description": "The number of entities to return. Defaults to 50. Maximum is 500."
          },
          "sort": {
            "type": "string",
            "description": "The field and direction to sort by (`ASC` or `DESC`), e.g. `last_synced_at ASC`. Currently supports the fields: `updated_at`, `last_synced_at`. If a field is provided but `ASC` or `DESC` is not, defaults to `ASC`. If this field is omitted, defaults, to `updated_at DESC`."
          },
          "transaction_date_max": {
            "type": "integer",
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum transaction_date datetime to fetch entities from. Supported for the following platforms: NETSUITE, QUICKBOOKS, XERO, ZOHOBOOKS."
          },
          "transaction_date_min": {
            "type": "integer",
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum transaction_date datetime to fetch entities from. Supported for the following platforms: NETSUITE, QUICKBOOKS, XERO, ZOHOBOOKS."
          },
          "updated_at_max": {
            "type": "integer",
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum updated_at datetime to fetch entities from."
          },
          "updated_at_min": {
            "type": "integer",
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum updated_at datetime to fetch entities from."
          }
        },
        "required": [
          "access_token"
        ]
      },
      "Expense": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The Rutter generated unique ID of the expense."
          },
          "platform_id": {
            "type": "string",
            "description": "The platform specific ID of the expense."
          },
          "account_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The Rutter ID of the [Account](/rest/version/accounts) linked to the expense. Represents the account being credited."
          },
          "subsidiary_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The Rutter ID of the [Subsidiary](/rest/version/subsidiaries) linked to the expense. Supported for NetSuite."
          },
          "vendor_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The Rutter ID of the [Vendor](/rest/version/vendors) linked to the expense."
          },
          "transaction_date": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the expense was created."
          },
          "currency_code": {
            "type": "string",
            "enum": [
              "AED",
              "AFN",
              "ALL",
              "AMD",
              "ANG",
              "AOA",
              "ARS",
              "AUD",
              "AWG",
              "AZN",
              "BAM",
              "BBD",
              "BDT",
              "BGN",
              "BHD",
              "BIF",
              "BMD",
              "BND",
              "BOB",
              "BOV",
              "BRL",
              "BSD",
              "BTN",
              "BWP",
              "BYR",
              "BZD",
              "CAD",
              "CDF",
              "CHE",
              "CHF",
              "CHW",
              "CLF",
              "CLP",
              "CNY",
              "COP",
              "COU",
              "CRC",
              "CUC",
              "CUP",
              "CVE",
              "CZK",
              "DJF",
              "DKK",
              "DOP",
              "DZD",
              "EGP",
              "ERN",
              "ETB",
              "EUR",
              "FJD",
              "FKP",
              "GBP",
              "GEL",
              "GHS",
              "GIP",
              "GMD",
              "GNF",
              "GTQ",
              "GYD",
              "HKD",
              "HNL",
              "HRK",
              "HTG",
              "HUF",
              "IDR",
              "ILS",
              "INR",
              "IQD",
              "IRR",
              "ISK",
              "JMD",
              "JOD",
              "JPY",
              "KES",
              "KGS",
              "KHR",
              "KMF",
              "KPW",
              "KRW",
              "KWD",
              "KYD",
              "KZT",
              "LAK",
              "LBP",
              "LKR",
              "LRD",
              "LSL",
              "LTL",
              "LVL",
              "LYD",
              "MAD",
              "MDL",
              "MGA",
              "MKD",
              "MMK",
              "MNT",
              "MOP",
              "MRO",
              "MUR",
              "MVR",
              "MWK",
              "MXN",
              "MXV",
              "MYR",
              "MZN",
              "NAD",
              "NGN",
              "NIO",
              "NOK",
              "NPR",
              "NZD",
              "OMR",
              "PAB",
              "PEN",
              "PGK",
              "PHP",
              "PKR",
              "PLN",
              "PYG",
              "QAR",
              "RON",
              "RSD",
              "RUB",
              "RWF",
              "SAR",
              "SBD",
              "SCR",
              "SDG",
              "SEK",
              "SGD",
              "SHP",
              "SLL",
              "SOS",
              "SRD",
              "SSP",
              "STD",
              "SVC",
              "SYP",
              "SZL",
              "THB",
              "TJS",
              "TMT",
              "TND",
              "TOP",
              "TRY",
              "TTD",
              "TWD",
              "TZS",
              "UAH",
              "UGX",
              "USD",
              "USN",
              "USS",
              "UYI",
              "UYU",
              "UYW",
              "UZS",
              "VEF",
              "VND",
              "VUV",
              "WST",
              "XAF",
              "XAG",
              "XAU",
              "XBA",
              "XBB",
              "XBC",
              "XBD",
              "XCD",
              "XDR",
              "XFU",
              "XOF",
              "XPD",
              "XPF",
              "XPT",
              "XTS",
              "XXX",
              "YER",
              "ZAR",
              "ZMW"
            ],
            "description": "The [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code of the expense."
          },
          "expense_type": {
            "type": "string",
            "enum": [
              "expense",
              "refund"
            ],
            "description": "The type of expense."
          },
          "currency_rate": {
            "type": "number",
            "description": "The exchange rate between the currency of the expense and the business default currency."
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "description": "The memo of the expense."
          },
          "line_items": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "account_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The Rutter ID of the [Account](/rest/version/accounts) linked to the expense line item. Represents the account being debited and is usually an expense account."
                },
                "class_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The Rutter ID of the [Class](/rest/version/classes) linked to the expense line item."
                },
                "customer_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The Rutter ID of the [Customer](/rest/version/customers) linked to the expense line item. This is used when expenses should be marked as billable to customers. Supported for QuickBooks and QuickBooks Desktop."
                },
                "department_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The Rutter ID of the [Department](/rest/version/departments) linked to the expense line item."
                },
                "location_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The Rutter ID of the [Location](/rest/version/locations) linked to the expense line item."
                },
                "tax_rate_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The Rutter ID of the [Tax Rate](/rest/version/tax-rates) linked to the expense line item."
                },
                "total_amount": {
                  "type": "number",
                  "description": "The total amount of the expense line item."
                },
                "description": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The description of the expense line item."
                }
              },
              "required": [
                "account_id",
                "class_id",
                "customer_id",
                "department_id",
                "location_id",
                "tax_rate_id",
                "total_amount",
                "description"
              ],
              "additionalProperties": false
            },
            "description": "An array of line items associated with the expense."
          },
          "created_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the expense was created."
          },
          "updated_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the expense was last updated."
          },
          "last_synced_at": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp when the expense was last synced by Rutter."
          },
          "platform_data": {
            "type": "object",
            "additionalProperties": {},
            "description": "The raw platform data corresponding to the Rutter object."
          }
        },
        "required": [
          "id",
          "platform_id",
          "account_id",
          "subsidiary_id",
          "vendor_id",
          "transaction_date",
          "currency_code",
          "expense_type",
          "memo",
          "line_items",
          "created_at",
          "updated_at",
          "last_synced_at"
        ],
        "examples": [
          {
            "Expense_Example": {
              "$ref": "#/components/examples/Expense_Example"
            }
          }
        ]
      },
      "ListExpenseResponseWithConnection": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "expenses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Expense"
            }
          },
          "next_cursor": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "connection",
          "expenses"
        ],
        "examples": [
          {
            "ListExpenseResponseWithConnection_Example": {
              "$ref": "#/components/examples/ListExpenseResponseWithConnection_Example"
            }
          }
        ]
      },
      "CreateExpense": {
        "type": "object",
        "properties": {
          "account_id": {
            "type": "string",
            "format": "uuid",
            "description": "The Rutter ID of the [Account](/rest/version/accounts) linked to the expense. Represents the account being credited."
          },
          "subsidiary_id": {
            "type": "string",
            "format": "uuid",
            "description": "The Rutter ID of the [Subsidiary](/rest/version/subsidiaries) linked to the expense. Supported for NetSuite."
          },
          "vendor_id": {
            "type": "string",
            "format": "uuid",
            "description": "The Rutter ID of the [Vendor](/rest/version/vendors) linked to the expense."
          },
          "transaction_date": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the expense was created."
          },
          "currency_code": {
            "type": "string",
            "enum": [
              "AED",
              "AFN",
              "ALL",
              "AMD",
              "ANG",
              "AOA",
              "ARS",
              "AUD",
              "AWG",
              "AZN",
              "BAM",
              "BBD",
              "BDT",
              "BGN",
              "BHD",
              "BIF",
              "BMD",
              "BND",
              "BOB",
              "BOV",
              "BRL",
              "BSD",
              "BTN",
              "BWP",
              "BYR",
              "BZD",
              "CAD",
              "CDF",
              "CHE",
              "CHF",
              "CHW",
              "CLF",
              "CLP",
              "CNY",
              "COP",
              "COU",
              "CRC",
              "CUC",
              "CUP",
              "CVE",
              "CZK",
              "DJF",
              "DKK",
              "DOP",
              "DZD",
              "EGP",
              "ERN",
              "ETB",
              "EUR",
              "FJD",
              "FKP",
              "GBP",
              "GEL",
              "GHS",
              "GIP",
              "GMD",
              "GNF",
              "GTQ",
              "GYD",
              "HKD",
              "HNL",
              "HRK",
              "HTG",
              "HUF",
              "IDR",
              "ILS",
              "INR",
              "IQD",
              "IRR",
              "ISK",
              "JMD",
              "JOD",
              "JPY",
              "KES",
              "KGS",
              "KHR",
              "KMF",
              "KPW",
              "KRW",
              "KWD",
              "KYD",
              "KZT",
              "LAK",
              "LBP",
              "LKR",
              "LRD",
              "LSL",
              "LTL",
              "LVL",
              "LYD",
              "MAD",
              "MDL",
              "MGA",
              "MKD",
              "MMK",
              "MNT",
              "MOP",
              "MRO",
              "MUR",
              "MVR",
              "MWK",
              "MXN",
              "MXV",
              "MYR",
              "MZN",
              "NAD",
              "NGN",
              "NIO",
              "NOK",
              "NPR",
              "NZD",
              "OMR",
              "PAB",
              "PEN",
              "PGK",
              "PHP",
              "PKR",
              "PLN",
              "PYG",
              "QAR",
              "RON",
              "RSD",
              "RUB",
              "RWF",
              "SAR",
              "SBD",
              "SCR",
              "SDG",
              "SEK",
              "SGD",
              "SHP",
              "SLL",
              "SOS",
              "SRD",
              "SSP",
              "STD",
              "SVC",
              "SYP",
              "SZL",
              "THB",
              "TJS",
              "TMT",
              "TND",
              "TOP",
              "TRY",
              "TTD",
              "TWD",
              "TZS",
              "UAH",
              "UGX",
              "USD",
              "USN",
              "USS",
              "UYI",
              "UYU",
              "UYW",
              "UZS",
              "VEF",
              "VND",
              "VUV",
              "WST",
              "XAF",
              "XAG",
              "XAU",
              "XBA",
              "XBB",
              "XBC",
              "XBD",
              "XCD",
              "XDR",
              "XFU",
              "XOF",
              "XPD",
              "XPF",
              "XPT",
              "XTS",
              "XXX",
              "YER",
              "ZAR",
              "ZMW"
            ],
            "description": "The [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code of the expense."
          },
          "expense_type": {
            "type": "string",
            "enum": [
              "expense",
              "refund"
            ],
            "description": "The type of expense."
          },
          "currency_rate": {
            "type": "number",
            "description": "The exchange rate between the currency of the expense and the business default currency."
          },
          "memo": {
            "type": "string",
            "description": "The memo of the expense."
          },
          "additional_fields": {
            "type": "object",
            "properties": {
              "location_id": {
                "type": "string",
                "format": "uuid",
                "description": "The Rutter ID of the [Location](/rest/version/locations) linked to the expense top-level. Supported for NetSuite."
              },
              "is_reconciled": {
                "type": "boolean",
                "description": "If true, this will mark a transaction as reconciled. Supported for Xero."
              },
              "place_of_supply": {
                "type": "string",
                "enum": [
                  "abu_dhabi",
                  "ajman",
                  "dubai",
                  "fujairah",
                  "ras_al_khaimah",
                  "sharjah",
                  "umm_al_quwain",
                  "united_arab_emirates",
                  "saudi_arabia",
                  "bahrain",
                  "kuwait",
                  "oman",
                  "qatar"
                ],
                "description": "Zohobooks only: The place of supply is where the expense is considered to have occurred for VAT purposes. For items, it is the location of the items when the expense occurs. For services, it is where the vendor is established."
              },
              "reference_number": {
                "type": "string",
                "description": "The reference number of the expense. Supported for ZohoBooks."
              },
              "tax_inclusive": {
                "type": "boolean",
                "description": "Specifies if the total amount of the expense includes the applicable taxes, or if it is exclusive of taxes. QUICKBOOKS,XERO,ZOHOBOOKS"
              },
              "tax_treatment": {
                "type": "string",
                "enum": [
                  "vat_registered",
                  "vat_not_registered",
                  "gcc_vat_not_registered",
                  "gcc_vat_registered",
                  "non_gcc",
                  "dz_vat_registered",
                  "dz_vat_not_registered"
                ],
                "description": "Zohobooks only: VAT treatment for the expense."
              }
            },
            "additionalProperties": false,
            "description": "Additional fields required only for a narrow set of use cases."
          },
          "line_items": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "account_id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "The Rutter ID of the [Account](/rest/version/accounts) linked to the expense line item. Represents the account being debited and is usually an expense account."
                },
                "class_id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "The Rutter ID of the [Class](/rest/version/classes) linked to the expense line item."
                },
                "customer_id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "The Rutter ID of the [Customer](/rest/version/customers) linked to the expense line item. Providing a value here will mark the expense as billable. Supported for QuickBooks and QuickBooks Desktop."
                },
                "department_id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "The Rutter ID of the [Department](/rest/version/departments) linked to the expense line item."
                },
                "location_id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "The Rutter ID of the [Location](/rest/version/locations) linked to the expense line item."
                },
                "tax_rate_id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "The Rutter ID of the [Tax Rate](/rest/version/tax-rates) linked to the expense line item."
                },
                "total_amount": {
                  "type": "number",
                  "exclusiveMinimum": true,
                  "minimum": 0,
                  "description": "The total amount of the expense line item."
                },
                "description": {
                  "type": "string",
                  "description": "The description of the expense line item."
                }
              },
              "required": [
                "account_id",
                "total_amount"
              ],
              "additionalProperties": false
            },
            "description": "An array of line items associated with the expense or expense refund."
          }
        },
        "required": [
          "account_id",
          "currency_code",
          "expense_type",
          "line_items"
        ],
        "examples": [
          {
            "CreateExpense_Example": {
              "$ref": "#/components/examples/CreateExpense_Example"
            }
          }
        ]
      },
      "CreateCreateExpenseRequest": {
        "type": "object",
        "properties": {
          "expense": {
            "$ref": "#/components/schemas/CreateExpense"
          }
        },
        "required": [
          "expense"
        ],
        "examples": [
          {
            "CreateCreateExpenseRequest_Example": {
              "$ref": "#/components/examples/CreateCreateExpenseRequest_Example"
            }
          }
        ]
      },
      "ExpenseResponse": {
        "type": "object",
        "properties": {
          "expense": {
            "$ref": "#/components/schemas/Expense"
          }
        },
        "required": [
          "expense"
        ],
        "examples": [
          {
            "ExpenseResponse_Example": {
              "$ref": "#/components/examples/ExpenseResponse_Example"
            }
          }
        ]
      },
      "CreateExpenseResponse": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/ExpenseResponse"
          },
          {
            "$ref": "#/components/schemas/AsyncResponsePayload"
          }
        ],
        "examples": [
          {
            "CreateExpenseResponse_Example": {
              "$ref": "#/components/examples/CreateExpenseResponse_Example"
            }
          }
        ]
      },
      "ExpenseResponseWithConnection": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "expense": {
            "$ref": "#/components/schemas/Expense"
          }
        },
        "required": [
          "connection",
          "expense"
        ],
        "examples": [
          {
            "ExpenseResponseWithConnection_Example": {
              "$ref": "#/components/examples/ExpenseResponseWithConnection_Example"
            }
          }
        ]
      },
      "UpdateExpenseBody": {
        "type": "object",
        "properties": {
          "account_id": {
            "type": "string",
            "format": "uuid",
            "description": "The Rutter ID of the [Account](/rest/version/accounts) linked to the expense. Represents the account being credited."
          },
          "vendor_id": {
            "type": "string",
            "format": "uuid",
            "description": "The Rutter ID of the [Vendor](/rest/version/vendors) linked to the expense."
          },
          "line_items": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "account_id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "The Rutter ID of the [Account](/rest/version/accounts) linked to the expense line item. Represents the account being debited and is usually an expense account."
                },
                "class_id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "The Rutter ID of the [Class](/rest/version/classes) linked to the expense line item."
                },
                "customer_id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "The Rutter ID of the [Customer](/rest/version/customers) linked to the expense line item. Providing a value here will mark the expense as billable. Supported for QuickBooks and QuickBooks Desktop."
                },
                "department_id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "The Rutter ID of the [Department](/rest/version/departments) linked to the expense line item."
                },
                "location_id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "The Rutter ID of the [Location](/rest/version/locations) linked to the expense line item."
                },
                "tax_rate_id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "The Rutter ID of the [Tax Rate](/rest/version/tax-rates) linked to the expense line item."
                },
                "total_amount": {
                  "type": "number",
                  "exclusiveMinimum": true,
                  "minimum": 0,
                  "description": "The total amount of the expense line item."
                },
                "description": {
                  "type": "string",
                  "description": "The description of the expense line item."
                }
              },
              "required": [
                "account_id",
                "total_amount"
              ],
              "additionalProperties": false
            },
            "description": "An array of line items associated with the expense. If provided, the old line_items will be removed and completely replaced by the new line_items input."
          }
        },
        "examples": [
          {
            "UpdateExpenseBody_Example": {
              "$ref": "#/components/examples/UpdateExpenseBody_Example"
            }
          }
        ]
      },
      "CreateUpdateExpenseBodyRequest": {
        "type": "object",
        "properties": {
          "expense": {
            "$ref": "#/components/schemas/UpdateExpenseBody"
          }
        },
        "required": [
          "expense"
        ],
        "examples": [
          {
            "CreateUpdateExpenseBodyRequest_Example": {
              "$ref": "#/components/examples/CreateUpdateExpenseBodyRequest_Example"
            }
          }
        ]
      },
      "UpdateExpenseResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The Rutter generated unique ID of the expense."
          },
          "platform_id": {
            "type": "string",
            "description": "The platform specific ID of the expense."
          },
          "account_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The Rutter ID of the [Account](/rest/version/accounts) linked to the expense. Represents the account being credited."
          },
          "subsidiary_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The Rutter ID of the [Subsidiary](/rest/version/subsidiaries) linked to the expense. Supported for NetSuite."
          },
          "vendor_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The Rutter ID of the [Vendor](/rest/version/vendors) linked to the expense."
          },
          "transaction_date": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the expense was created."
          },
          "currency_code": {
            "type": "string",
            "enum": [
              "AED",
              "AFN",
              "ALL",
              "AMD",
              "ANG",
              "AOA",
              "ARS",
              "AUD",
              "AWG",
              "AZN",
              "BAM",
              "BBD",
              "BDT",
              "BGN",
              "BHD",
              "BIF",
              "BMD",
              "BND",
              "BOB",
              "BOV",
              "BRL",
              "BSD",
              "BTN",
              "BWP",
              "BYR",
              "BZD",
              "CAD",
              "CDF",
              "CHE",
              "CHF",
              "CHW",
              "CLF",
              "CLP",
              "CNY",
              "COP",
              "COU",
              "CRC",
              "CUC",
              "CUP",
              "CVE",
              "CZK",
              "DJF",
              "DKK",
              "DOP",
              "DZD",
              "EGP",
              "ERN",
              "ETB",
              "EUR",
              "FJD",
              "FKP",
              "GBP",
              "GEL",
              "GHS",
              "GIP",
              "GMD",
              "GNF",
              "GTQ",
              "GYD",
              "HKD",
              "HNL",
              "HRK",
              "HTG",
              "HUF",
              "IDR",
              "ILS",
              "INR",
              "IQD",
              "IRR",
              "ISK",
              "JMD",
              "JOD",
              "JPY",
              "KES",
              "KGS",
              "KHR",
              "KMF",
              "KPW",
              "KRW",
              "KWD",
              "KYD",
              "KZT",
              "LAK",
              "LBP",
              "LKR",
              "LRD",
              "LSL",
              "LTL",
              "LVL",
              "LYD",
              "MAD",
              "MDL",
              "MGA",
              "MKD",
              "MMK",
              "MNT",
              "MOP",
              "MRO",
              "MUR",
              "MVR",
              "MWK",
              "MXN",
              "MXV",
              "MYR",
              "MZN",
              "NAD",
              "NGN",
              "NIO",
              "NOK",
              "NPR",
              "NZD",
              "OMR",
              "PAB",
              "PEN",
              "PGK",
              "PHP",
              "PKR",
              "PLN",
              "PYG",
              "QAR",
              "RON",
              "RSD",
              "RUB",
              "RWF",
              "SAR",
              "SBD",
              "SCR",
              "SDG",
              "SEK",
              "SGD",
              "SHP",
              "SLL",
              "SOS",
              "SRD",
              "SSP",
              "STD",
              "SVC",
              "SYP",
              "SZL",
              "THB",
              "TJS",
              "TMT",
              "TND",
              "TOP",
              "TRY",
              "TTD",
              "TWD",
              "TZS",
              "UAH",
              "UGX",
              "USD",
              "USN",
              "USS",
              "UYI",
              "UYU",
              "UYW",
              "UZS",
              "VEF",
              "VND",
              "VUV",
              "WST",
              "XAF",
              "XAG",
              "XAU",
              "XBA",
              "XBB",
              "XBC",
              "XBD",
              "XCD",
              "XDR",
              "XFU",
              "XOF",
              "XPD",
              "XPF",
              "XPT",
              "XTS",
              "XXX",
              "YER",
              "ZAR",
              "ZMW"
            ],
            "description": "The [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code of the expense."
          },
          "expense_type": {
            "type": "string",
            "enum": [
              "expense",
              "refund"
            ],
            "description": "The type of expense."
          },
          "currency_rate": {
            "type": "number",
            "description": "The exchange rate between the currency of the expense and the business default currency."
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "description": "The memo of the expense."
          },
          "line_items": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "account_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The Rutter ID of the [Account](/rest/version/accounts) linked to the expense line item. Represents the account being debited and is usually an expense account."
                },
                "class_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The Rutter ID of the [Class](/rest/version/classes) linked to the expense line item."
                },
                "customer_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The Rutter ID of the [Customer](/rest/version/customers) linked to the expense line item. This is used when expenses should be marked as billable to customers. Supported for QuickBooks and QuickBooks Desktop."
                },
                "department_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The Rutter ID of the [Department](/rest/version/departments) linked to the expense line item."
                },
                "location_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The Rutter ID of the [Location](/rest/version/locations) linked to the expense line item."
                },
                "tax_rate_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The Rutter ID of the [Tax Rate](/rest/version/tax-rates) linked to the expense line item."
                },
                "total_amount": {
                  "type": "number",
                  "description": "The total amount of the expense line item."
                },
                "description": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The description of the expense line item."
                }
              },
              "required": [
                "account_id",
                "class_id",
                "customer_id",
                "department_id",
                "location_id",
                "tax_rate_id",
                "total_amount",
                "description"
              ],
              "additionalProperties": false
            },
            "description": "An array of line items associated with the expense."
          },
          "created_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the expense was created."
          },
          "updated_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the expense was last updated."
          },
          "last_synced_at": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp when the expense was last synced by Rutter."
          },
          "platform_data": {
            "type": "object",
            "additionalProperties": {},
            "description": "The raw platform data corresponding to the Rutter object."
          }
        },
        "required": [
          "id",
          "platform_id",
          "account_id",
          "subsidiary_id",
          "vendor_id",
          "transaction_date",
          "currency_code",
          "expense_type",
          "memo",
          "line_items",
          "created_at",
          "updated_at",
          "last_synced_at"
        ],
        "examples": [
          {
            "UpdateExpenseResponse_Example": {
              "$ref": "#/components/examples/UpdateExpenseResponse_Example"
            }
          }
        ]
      },
      "UpdateExpenseResponseResponse": {
        "type": "object",
        "properties": {
          "expense": {
            "$ref": "#/components/schemas/UpdateExpenseResponse"
          }
        },
        "required": [
          "expense"
        ],
        "examples": [
          {
            "UpdateExpenseResponseResponse_Example": {
              "$ref": "#/components/examples/UpdateExpenseResponseResponse_Example"
            }
          }
        ]
      },
      "CreateUpdateExpenseResponseResponse": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/UpdateExpenseResponseResponse"
          },
          {
            "$ref": "#/components/schemas/AsyncResponsePayload"
          }
        ],
        "examples": [
          {
            "CreateUpdateExpenseResponseResponse_Example": {
              "$ref": "#/components/examples/CreateUpdateExpenseResponseResponse_Example"
            }
          }
        ]
      },
      "DeleteExpense_2023_02_07": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "enum": [
              "deleted",
              "not_found"
            ],
            "description": "Returns the status of the requested object: `deleted` indicates object was deleted by this operation, whereas `not_found` indicates object was not found (allowing us to make DELETE operations idempotent)."
          },
          "success": {
            "type": "boolean",
            "description": "Indicates whether deletion was successful"
          }
        },
        "required": [
          "code",
          "success"
        ],
        "examples": [
          {
            "DeleteExpense_2023_02_07_Example": {
              "$ref": "#/components/examples/DeleteExpense_2023_02_07_Example"
            }
          }
        ]
      },
      "DeleteExpense_2023_02_07Response": {
        "type": "object",
        "properties": {
          "deleted_expense": {
            "$ref": "#/components/schemas/DeleteExpense_2023_02_07"
          }
        },
        "required": [
          "deleted_expense"
        ],
        "examples": [
          {
            "DeleteExpense_2023_02_07Response_Example": {
              "$ref": "#/components/examples/DeleteExpense_2023_02_07Response_Example"
            }
          }
        ]
      },
      "ExpenseAttachmentsResponse": {
        "type": "object",
        "properties": {
          "attachments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Attachment"
            }
          }
        },
        "required": [
          "attachments"
        ],
        "examples": [
          {
            "ExpenseAttachmentsResponse_Example": {
              "$ref": "#/components/examples/ExpenseAttachmentsResponse_Example"
            }
          }
        ]
      },
      "IncomeStatement": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The Rutter generated unique ID of the income statement."
          },
          "start_date": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp for the start date of the income statement accounting period."
          },
          "end_date": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp for the end date of the income statement accounting period."
          },
          "accounting_standard": {
            "type": "string",
            "enum": [
              "cash",
              "accrual",
              "unknown"
            ],
            "description": "The accounting standard used to generate the income statement."
          },
          "currency_code": {
            "type": "string",
            "description": "The [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code of the income statement."
          },
          "gross_profit": {
            "type": [
              "string",
              "null"
            ],
            "description": "Total profit after deducting the cost of sales."
          },
          "net_income": {
            "type": [
              "string",
              "null"
            ],
            "description": "Total Net Income in the given period."
          },
          "total_cost_of_sales": {
            "type": [
              "string",
              "null"
            ],
            "description": "The total cost of sales in the given period."
          },
          "total_expenses": {
            "type": [
              "string",
              "null"
            ],
            "description": "The total expense in the given period."
          },
          "total_income": {
            "type": [
              "string",
              "null"
            ],
            "description": "The total income in the given period."
          },
          "net_operating_income": {
            "type": [
              "string",
              "null"
            ],
            "description": "Total Net Operating Income in the given period."
          },
          "net_profit": {
            "type": [
              "string",
              "null"
            ]
          },
          "net_sales": {
            "type": [
              "string",
              "null"
            ]
          },
          "expenses": {
            "$ref": "#/components/schemas/GeneralLedgerLineItem"
          },
          "income": {
            "$ref": "#/components/schemas/GeneralLedgerLineItem"
          },
          "cost_of_sales": {
            "$ref": "#/components/schemas/GeneralLedgerLineItem",
            "type": [
              "null"
            ]
          },
          "created_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the income statement was created."
          },
          "updated_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the income statement was last updated."
          },
          "platform_data": {
            "type": "object",
            "additionalProperties": {},
            "description": "The raw platform data corresponding to the Rutter object."
          }
        },
        "required": [
          "id",
          "start_date",
          "end_date",
          "accounting_standard",
          "currency_code",
          "gross_profit",
          "net_income",
          "total_cost_of_sales",
          "total_expenses",
          "total_income",
          "expenses",
          "income",
          "cost_of_sales",
          "created_at",
          "updated_at"
        ],
        "examples": [
          {
            "IncomeStatement_Example": {
              "$ref": "#/components/examples/IncomeStatement_Example"
            }
          }
        ]
      },
      "ListIncomeStatementResponseWithConnection": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "income_statements": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/IncomeStatement"
            }
          },
          "next_cursor": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "connection",
          "income_statements"
        ],
        "examples": [
          {
            "ListIncomeStatementResponseWithConnection_Example": {
              "$ref": "#/components/examples/ListIncomeStatementResponseWithConnection_Example"
            }
          }
        ]
      },
      "CreateInvoiceCreditApplication": {
        "type": "object",
        "properties": {
          "account_id": {
            "type": "string",
            "format": "uuid",
            "description": "The Rutter ID of the [Account](/rest/version/accounts) linked to the invoice credit memo. This should be a bank account."
          },
          "customer_id": {
            "type": "string",
            "format": "uuid",
            "description": "The Rutter ID of the [Customer](/rest/version/customers) linked to the Invoice credit application."
          },
          "invoice_credit_memo_id": {
            "type": "string",
            "format": "uuid",
            "description": "The Rutter ID of the [Invoice Credit Memo](/rest/version/invoice-credit-memos) linked to the invoice credit application."
          },
          "transaction_date": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp for the Invoice credit application."
          },
          "currency_code": {
            "type": "string",
            "enum": [
              "AED",
              "AFN",
              "ALL",
              "AMD",
              "ANG",
              "AOA",
              "ARS",
              "AUD",
              "AWG",
              "AZN",
              "BAM",
              "BBD",
              "BDT",
              "BGN",
              "BHD",
              "BIF",
              "BMD",
              "BND",
              "BOB",
              "BOV",
              "BRL",
              "BSD",
              "BTN",
              "BWP",
              "BYR",
              "BZD",
              "CAD",
              "CDF",
              "CHE",
              "CHF",
              "CHW",
              "CLF",
              "CLP",
              "CNY",
              "COP",
              "COU",
              "CRC",
              "CUC",
              "CUP",
              "CVE",
              "CZK",
              "DJF",
              "DKK",
              "DOP",
              "DZD",
              "EGP",
              "ERN",
              "ETB",
              "EUR",
              "FJD",
              "FKP",
              "GBP",
              "GEL",
              "GHS",
              "GIP",
              "GMD",
              "GNF",
              "GTQ",
              "GYD",
              "HKD",
              "HNL",
              "HRK",
              "HTG",
              "HUF",
              "IDR",
              "ILS",
              "INR",
              "IQD",
              "IRR",
              "ISK",
              "JMD",
              "JOD",
              "JPY",
              "KES",
              "KGS",
              "KHR",
              "KMF",
              "KPW",
              "KRW",
              "KWD",
              "KYD",
              "KZT",
              "LAK",
              "LBP",
              "LKR",
              "LRD",
              "LSL",
              "LTL",
              "LVL",
              "LYD",
              "MAD",
              "MDL",
              "MGA",
              "MKD",
              "MMK",
              "MNT",
              "MOP",
              "MRO",
              "MUR",
              "MVR",
              "MWK",
              "MXN",
              "MXV",
              "MYR",
              "MZN",
              "NAD",
              "NGN",
              "NIO",
              "NOK",
              "NPR",
              "NZD",
              "OMR",
              "PAB",
              "PEN",
              "PGK",
              "PHP",
              "PKR",
              "PLN",
              "PYG",
              "QAR",
              "RON",
              "RSD",
              "RUB",
              "RWF",
              "SAR",
              "SBD",
              "SCR",
              "SDG",
              "SEK",
              "SGD",
              "SHP",
              "SLL",
              "SOS",
              "SRD",
              "SSP",
              "STD",
              "SVC",
              "SYP",
              "SZL",
              "THB",
              "TJS",
              "TMT",
              "TND",
              "TOP",
              "TRY",
              "TTD",
              "TWD",
              "TZS",
              "UAH",
              "UGX",
              "USD",
              "USN",
              "USS",
              "UYI",
              "UYU",
              "UYW",
              "UZS",
              "VEF",
              "VND",
              "VUV",
              "WST",
              "XAF",
              "XAG",
              "XAU",
              "XBA",
              "XBB",
              "XBC",
              "XBD",
              "XCD",
              "XDR",
              "XFU",
              "XOF",
              "XPD",
              "XPF",
              "XPT",
              "XTS",
              "XXX",
              "YER",
              "ZAR",
              "ZMW"
            ],
            "description": "The [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code of the Invoice credit application."
          },
          "memo": {
            "type": "string",
            "description": "The description of the Invoice credit application."
          },
          "linked_invoices": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "The Rutter ID of the [Invoice](/rest/version/invoice) linked to the invoice credit application."
                },
                "allocated_amount": {
                  "type": "number",
                  "exclusiveMinimum": true,
                  "minimum": 0,
                  "description": "Amount allocated to the linked invoice."
                }
              },
              "required": [
                "id",
                "allocated_amount"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "customer_id",
          "invoice_credit_memo_id",
          "transaction_date",
          "currency_code",
          "linked_invoices"
        ],
        "examples": [
          {
            "CreateInvoiceCreditApplication_Example": {
              "$ref": "#/components/examples/CreateInvoiceCreditApplication_Example"
            }
          }
        ]
      },
      "CreateCreateInvoiceCreditApplicationRequest": {
        "type": "object",
        "properties": {
          "invoice_credit_application": {
            "$ref": "#/components/schemas/CreateInvoiceCreditApplication"
          }
        },
        "required": [
          "invoice_credit_application"
        ],
        "examples": [
          {
            "CreateCreateInvoiceCreditApplicationRequest_Example": {
              "$ref": "#/components/examples/CreateCreateInvoiceCreditApplicationRequest_Example"
            }
          }
        ]
      },
      "InvoiceCreditApplication": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Whether the request was successful."
          }
        },
        "required": [
          "success"
        ],
        "examples": [
          {
            "InvoiceCreditApplication_Example": {
              "$ref": "#/components/examples/InvoiceCreditApplication_Example"
            }
          }
        ]
      },
      "InvoiceCreditApplicationResponse": {
        "type": "object",
        "properties": {
          "invoice_credit_application": {
            "$ref": "#/components/schemas/InvoiceCreditApplication"
          }
        },
        "required": [
          "invoice_credit_application"
        ],
        "examples": [
          {
            "InvoiceCreditApplicationResponse_Example": {
              "$ref": "#/components/examples/InvoiceCreditApplicationResponse_Example"
            }
          }
        ]
      },
      "CreateInvoiceCreditApplicationResponse": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/InvoiceCreditApplicationResponse"
          },
          {
            "$ref": "#/components/schemas/AsyncResponsePayload"
          }
        ],
        "examples": [
          {
            "CreateInvoiceCreditApplicationResponse_Example": {
              "$ref": "#/components/examples/CreateInvoiceCreditApplicationResponse_Example"
            }
          }
        ]
      },
      "InvoiceCreditMemo_2023_02_07": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The Rutter generated unique ID of the invoice credit memo."
          },
          "platform_id": {
            "type": "string",
            "description": "The platform specific ID of the invoice credit memo."
          },
          "account_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The Rutter ID of the [Account](/rest/version/accounts) linked to the invoice. Represents the account being debited. This is typically the primary Accounts Receivable account."
          },
          "customer_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The Rutter ID of the [Customer](/rest/version/accounting-customers) linked to the invoice credit memo."
          },
          "allocated_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp for when the invoice credit memo was allocated."
          },
          "issue_date": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp for when the invoice credit memo was issued."
          },
          "currency_code": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code of the invoice credit memo."
          },
          "document_number": {
            "type": [
              "string",
              "null"
            ],
            "description": "The buyer facing document number of the invoice credit memo."
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "description": "The memo of the invoice credit memo."
          },
          "status": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "OPEN",
              "APPLIED",
              "PARTIALLY_APPLIED",
              "DRAFT",
              "UNKNOWN"
            ],
            "description": "The status of the invoice credit memo."
          },
          "remaining_amount": {
            "type": [
              "string",
              "null"
            ],
            "description": "The remaining unapplied amount of the invoice credit memo."
          },
          "total_amount": {
            "type": [
              "string",
              "null"
            ],
            "description": "The total amount of the invoice credit memo."
          },
          "linked_invoices": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "allocated_date": {
                  "type": "string"
                },
                "allocated_amount": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "required": [
                "id",
                "allocated_amount"
              ],
              "additionalProperties": false
            },
            "description": "An array of Rutter IDs of [Invoices](/rest/version/invoices) linked to the invoice credit memo."
          },
          "line_items": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The Rutter generated unique ID of the invoice line item."
                },
                "platform_id": {
                  "type": "string",
                  "description": "The platform specific ID of the invoice line item."
                },
                "account_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The account being credited for the invoice line item"
                },
                "class_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The Rutter ID of the [Class](/rest/version/classes) linked to the invoice line item."
                },
                "item_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The Rutter ID of the [Item](/rest/version/items) linked to the invoice line item."
                },
                "tax_rate_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The Rutter ID of the [Tax Rate](/rest/version/tax-rates) linked to the invoice line item."
                },
                "description": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The description of the invoice line item."
                },
                "quantity": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "description": "The quantity of the invoice line item."
                },
                "amount": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The total amount of the sales order line item."
                },
                "discount_amount": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The discount amount applied to the invoice line item."
                },
                "discount_percentage": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The percentage discount applied to the invoice line item."
                },
                "sub_total": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The subtotal of the invoice line item, without tax."
                },
                "tax_amount": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The total tax amount applied to the invoice line item."
                },
                "unit_amount": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The price per unit of the invoice line item."
                },
                "additional_fields": {
                  "type": "object",
                  "properties": {
                    "rev_rec_end_date": {
                      "type": "string",
                      "description": "The end date for the revenue recognition element of this line item. Supported for NetSuite."
                    },
                    "rev_rec_start_date": {
                      "type": "string",
                      "description": "The start date for the revenue recognition element of this line item. Supported for NetSuite."
                    }
                  },
                  "additionalProperties": false,
                  "description": "Additional fields required only for a narrow set of use cases."
                }
              },
              "required": [
                "id",
                "platform_id",
                "account_id",
                "class_id",
                "item_id",
                "tax_rate_id",
                "description",
                "quantity",
                "amount",
                "discount_amount",
                "discount_percentage",
                "sub_total",
                "tax_amount",
                "unit_amount"
              ],
              "additionalProperties": false
            },
            "description": "An array of line items containing details about the invoice credit memo."
          },
          "created_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the invoice credit memo was created."
          },
          "updated_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the invoice credit memo was last updated."
          },
          "last_synced_at": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp when the invoice credit memo was last synced by Rutter."
          },
          "platform_data": {
            "type": "object",
            "additionalProperties": {},
            "description": "The raw platform data corresponding to the Rutter object."
          }
        },
        "required": [
          "id",
          "platform_id",
          "account_id",
          "customer_id",
          "allocated_at",
          "issue_date",
          "currency_code",
          "document_number",
          "memo",
          "status",
          "remaining_amount",
          "total_amount",
          "linked_invoices",
          "line_items",
          "created_at",
          "updated_at",
          "last_synced_at"
        ],
        "examples": [
          {
            "InvoiceCreditMemo_2023_02_07_Example": {
              "$ref": "#/components/examples/InvoiceCreditMemo_2023_02_07_Example"
            }
          }
        ]
      },
      "ListInvoiceCreditMemo_2023_02_07ResponseWithConnection": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "invoice_credit_memos": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InvoiceCreditMemo_2023_02_07"
            }
          },
          "next_cursor": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "connection",
          "invoice_credit_memos"
        ],
        "examples": [
          {
            "ListInvoiceCreditMemo_2023_02_07ResponseWithConnection_Example": {
              "$ref": "#/components/examples/ListInvoiceCreditMemo_2023_02_07ResponseWithConnection_Example"
            }
          }
        ]
      },
      "CreateInvoiceCreditMemo": {
        "type": "object",
        "properties": {
          "account_id": {
            "type": "string",
            "format": "uuid",
            "description": "The Rutter ID of the [Account](/rest/version/accounts) linked to the invoice credit memo. Represents the account being credited. This is typically the primary Accounts Receivable account."
          },
          "customer_id": {
            "type": "string",
            "format": "uuid",
            "description": "The accounting customer ID that is going to get this credit."
          },
          "issue_date": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp for when the credit memo was issued."
          },
          "currency_code": {
            "type": "string",
            "description": "The currency code of the credit memo."
          },
          "line_items": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "account_id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "The Rutter ID of the [credited account](/rest/version/accounts) linked to the invoice credit memo line item."
                },
                "description": {
                  "type": "string",
                  "description": "The description of the invoice credit memo line item."
                },
                "total_amount": {
                  "type": "string",
                  "description": "The total amount of the invoice credit memo line item."
                },
                "item": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid",
                      "description": "The Rutter ID of the accounting item."
                    },
                    "quantity": {
                      "type": "number",
                      "description": "The quantity of the accounting item."
                    },
                    "unit_amount": {
                      "type": "string",
                      "description": "The price per unit of the accounting item."
                    }
                  },
                  "required": [
                    "id",
                    "quantity",
                    "unit_amount"
                  ],
                  "additionalProperties": false,
                  "description": "The accounting item of the invoice credit memo line item."
                }
              },
              "required": [
                "description",
                "total_amount",
                "item"
              ],
              "additionalProperties": false
            },
            "description": "The line items of the credit memo."
          }
        },
        "required": [
          "account_id",
          "customer_id",
          "issue_date",
          "currency_code",
          "line_items"
        ],
        "examples": [
          {
            "CreateInvoiceCreditMemo_Example": {
              "$ref": "#/components/examples/CreateInvoiceCreditMemo_Example"
            }
          }
        ]
      },
      "CreateCreateInvoiceCreditMemoRequest": {
        "type": "object",
        "properties": {
          "invoice_credit_memo": {
            "$ref": "#/components/schemas/CreateInvoiceCreditMemo"
          }
        },
        "required": [
          "invoice_credit_memo"
        ],
        "examples": [
          {
            "CreateCreateInvoiceCreditMemoRequest_Example": {
              "$ref": "#/components/examples/CreateCreateInvoiceCreditMemoRequest_Example"
            }
          }
        ]
      },
      "InvoiceCreditMemo_2023_02_07Response": {
        "type": "object",
        "properties": {
          "invoice_credit_memo": {
            "$ref": "#/components/schemas/InvoiceCreditMemo_2023_02_07"
          }
        },
        "required": [
          "invoice_credit_memo"
        ],
        "examples": [
          {
            "InvoiceCreditMemo_2023_02_07Response_Example": {
              "$ref": "#/components/examples/InvoiceCreditMemo_2023_02_07Response_Example"
            }
          }
        ]
      },
      "CreateInvoiceCreditMemo_2023_02_07Response": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/InvoiceCreditMemo_2023_02_07Response"
          },
          {
            "$ref": "#/components/schemas/AsyncResponsePayload"
          }
        ],
        "examples": [
          {
            "CreateInvoiceCreditMemo_2023_02_07Response_Example": {
              "$ref": "#/components/examples/CreateInvoiceCreditMemo_2023_02_07Response_Example"
            }
          }
        ]
      },
      "InvoiceCreditMemo_2023_02_07ResponseWithConnection": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "invoice_credit_memo": {
            "$ref": "#/components/schemas/InvoiceCreditMemo_2023_02_07"
          }
        },
        "required": [
          "connection",
          "invoice_credit_memo"
        ],
        "examples": [
          {
            "InvoiceCreditMemo_2023_02_07ResponseWithConnection_Example": {
              "$ref": "#/components/examples/InvoiceCreditMemo_2023_02_07ResponseWithConnection_Example"
            }
          }
        ]
      },
      "DeleteInvoiceCreditMemo_2023_02_07": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "enum": [
              "deleted",
              "not_found"
            ],
            "description": "Returns the status of the requested object: `deleted` indicates object was deleted by this operation, whereas `not_found` indicates object was not found (allowing us to make DELETE operations idempotent)."
          },
          "success": {
            "type": "boolean",
            "description": "Indicates whether deletion was successful."
          }
        },
        "required": [
          "code",
          "success"
        ],
        "examples": [
          {
            "DeleteInvoiceCreditMemo_2023_02_07_Example": {
              "$ref": "#/components/examples/DeleteInvoiceCreditMemo_2023_02_07_Example"
            }
          }
        ]
      },
      "DeleteInvoiceCreditMemo_2023_02_07Response": {
        "type": "object",
        "properties": {
          "deleted_invoice_credit_memo": {
            "$ref": "#/components/schemas/DeleteInvoiceCreditMemo_2023_02_07"
          }
        },
        "required": [
          "deleted_invoice_credit_memo"
        ],
        "examples": [
          {
            "DeleteInvoiceCreditMemo_2023_02_07Response_Example": {
              "$ref": "#/components/examples/DeleteInvoiceCreditMemo_2023_02_07Response_Example"
            }
          }
        ]
      },
      "CreateDeleteInvoiceCreditMemo_2023_02_07Response": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/DeleteInvoiceCreditMemo_2023_02_07Response"
          },
          {
            "$ref": "#/components/schemas/AsyncResponsePayload"
          }
        ],
        "examples": [
          {
            "CreateDeleteInvoiceCreditMemo_2023_02_07Response_Example": {
              "$ref": "#/components/examples/CreateDeleteInvoiceCreditMemo_2023_02_07Response_Example"
            }
          }
        ]
      },
      "InvoicePayment_2023_02_07": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The Rutter generated unique ID of the invoice payment."
          },
          "platform_id": {
            "type": "string",
            "description": "The platform specific ID of the invoice payment."
          },
          "account_id": {
            "type": "string",
            "description": "The Rutter ID of the [Account](/rest/version/accounts) linked to the invoice payment."
          },
          "ar_account_id": {
            "type": "string",
            "description": "The Rutter ID of the [AR Account](/rest/version/accounts) linked to the invoice payment."
          },
          "customer_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The Rutter ID of the [Customer](/rest/version/accounting-customers) linked to the invoice payment."
          },
          "payment_method_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The Rutter ID of the [Payment Method](/rest/version/payment_methods) linked to the invoice payment method. Supported for NetSuite."
          },
          "txn_date": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp for when the transaction was logged."
          },
          "currency_code": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "AED",
              "AFN",
              "ALL",
              "AMD",
              "ANG",
              "AOA",
              "ARS",
              "AUD",
              "AWG",
              "AZN",
              "BAM",
              "BBD",
              "BDT",
              "BGN",
              "BHD",
              "BIF",
              "BMD",
              "BND",
              "BOB",
              "BOV",
              "BRL",
              "BSD",
              "BTN",
              "BWP",
              "BYR",
              "BZD",
              "CAD",
              "CDF",
              "CHE",
              "CHF",
              "CHW",
              "CLF",
              "CLP",
              "CNY",
              "COP",
              "COU",
              "CRC",
              "CUC",
              "CUP",
              "CVE",
              "CZK",
              "DJF",
              "DKK",
              "DOP",
              "DZD",
              "EGP",
              "ERN",
              "ETB",
              "EUR",
              "FJD",
              "FKP",
              "GBP",
              "GEL",
              "GHS",
              "GIP",
              "GMD",
              "GNF",
              "GTQ",
              "GYD",
              "HKD",
              "HNL",
              "HRK",
              "HTG",
              "HUF",
              "IDR",
              "ILS",
              "INR",
              "IQD",
              "IRR",
              "ISK",
              "JMD",
              "JOD",
              "JPY",
              "KES",
              "KGS",
              "KHR",
              "KMF",
              "KPW",
              "KRW",
              "KWD",
              "KYD",
              "KZT",
              "LAK",
              "LBP",
              "LKR",
              "LRD",
              "LSL",
              "LTL",
              "LVL",
              "LYD",
              "MAD",
              "MDL",
              "MGA",
              "MKD",
              "MMK",
              "MNT",
              "MOP",
              "MRO",
              "MUR",
              "MVR",
              "MWK",
              "MXN",
              "MXV",
              "MYR",
              "MZN",
              "NAD",
              "NGN",
              "NIO",
              "NOK",
              "NPR",
              "NZD",
              "OMR",
              "PAB",
              "PEN",
              "PGK",
              "PHP",
              "PKR",
              "PLN",
              "PYG",
              "QAR",
              "RON",
              "RSD",
              "RUB",
              "RWF",
              "SAR",
              "SBD",
              "SCR",
              "SDG",
              "SEK",
              "SGD",
              "SHP",
              "SLL",
              "SOS",
              "SRD",
              "SSP",
              "STD",
              "SVC",
              "SYP",
              "SZL",
              "THB",
              "TJS",
              "TMT",
              "TND",
              "TOP",
              "TRY",
              "TTD",
              "TWD",
              "TZS",
              "UAH",
              "UGX",
              "USD",
              "USN",
              "USS",
              "UYI",
              "UYU",
              "UYW",
              "UZS",
              "VEF",
              "VND",
              "VUV",
              "WST",
              "XAF",
              "XAG",
              "XAU",
              "XBA",
              "XBB",
              "XBC",
              "XBD",
              "XCD",
              "XDR",
              "XFU",
              "XOF",
              "XPD",
              "XPF",
              "XPT",
              "XTS",
              "XXX",
              "YER",
              "ZAR",
              "ZMW"
            ],
            "description": "The [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code of the invoice payment."
          },
          "deposited": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "If the invoice payment debits the 'Undeposited Funds' account, this field will show whether the invoice payment has been deposited (usually in another Bank Deposit transaction). Null if the invoice payment doesn't debit the 'Undeposited Funds' account or if the platform does not support this field."
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "description": "The memo of the invoice payment."
          },
          "additional_fields": {
            "type": "object",
            "properties": {
              "reference_number": {
                "type": "string",
                "description": "The reference number of the invoice payment. Supported for QuickBooks Desktop."
              }
            },
            "additionalProperties": false,
            "description": "Additional fields required only for a narrow set of use cases."
          },
          "total_amount": {
            "type": [
              "string",
              "null"
            ],
            "description": "The total amount on the invoice payment."
          },
          "linked_invoices": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "allocated_at": {
                  "type": "string"
                },
                "amount": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "required": [
                "id",
                "allocated_at",
                "amount"
              ],
              "additionalProperties": false
            },
            "description": "An array of [Invoices](/rest/version/invoices) linked to the invoice payment."
          },
          "updated_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the invoice payment was last updated."
          },
          "last_synced_at": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp when the invoice payment was last synced by Rutter."
          },
          "platform_data": {
            "type": "object",
            "additionalProperties": {},
            "description": "The raw platform data corresponding to the Rutter object."
          }
        },
        "required": [
          "id",
          "platform_id",
          "account_id",
          "customer_id",
          "payment_method_id",
          "txn_date",
          "currency_code",
          "deposited",
          "memo",
          "total_amount",
          "linked_invoices",
          "updated_at",
          "last_synced_at"
        ],
        "examples": [
          {
            "InvoicePayment_2023_02_07_Example": {
              "$ref": "#/components/examples/InvoicePayment_2023_02_07_Example"
            }
          }
        ]
      },
      "ListInvoicePayment_2023_02_07ResponseWithConnection": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "invoice_payments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InvoicePayment_2023_02_07"
            }
          },
          "next_cursor": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "connection",
          "invoice_payments"
        ],
        "examples": [
          {
            "ListInvoicePayment_2023_02_07ResponseWithConnection_Example": {
              "$ref": "#/components/examples/ListInvoicePayment_2023_02_07ResponseWithConnection_Example"
            }
          }
        ]
      },
      "CreateInvoicePayment": {
        "type": "object",
        "properties": {
          "account_id": {
            "type": "string",
            "format": "uuid",
            "description": "The Rutter ID of the [Account](/rest/version/accounts) linked to the invoice payment. This should be a bank account."
          },
          "customer_id": {
            "type": "string",
            "format": "uuid",
            "description": "The Rutter ID of the [Customer](/rest/version/accounting-customers) linked to the invoice payment."
          },
          "payment_method_id": {
            "type": "string",
            "format": "uuid",
            "description": "The Rutter ID of the [Payment Method](/rest/version/payment_methods) linked to the invoice payment method. Supported for NetSuite."
          },
          "txn_date": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp for when the transaction was logged."
          },
          "currency_code": {
            "type": "string",
            "enum": [
              "AED",
              "AFN",
              "ALL",
              "AMD",
              "ANG",
              "AOA",
              "ARS",
              "AUD",
              "AWG",
              "AZN",
              "BAM",
              "BBD",
              "BDT",
              "BGN",
              "BHD",
              "BIF",
              "BMD",
              "BND",
              "BOB",
              "BOV",
              "BRL",
              "BSD",
              "BTN",
              "BWP",
              "BYR",
              "BZD",
              "CAD",
              "CDF",
              "CHE",
              "CHF",
              "CHW",
              "CLF",
              "CLP",
              "CNY",
              "COP",
              "COU",
              "CRC",
              "CUC",
              "CUP",
              "CVE",
              "CZK",
              "DJF",
              "DKK",
              "DOP",
              "DZD",
              "EGP",
              "ERN",
              "ETB",
              "EUR",
              "FJD",
              "FKP",
              "GBP",
              "GEL",
              "GHS",
              "GIP",
              "GMD",
              "GNF",
              "GTQ",
              "GYD",
              "HKD",
              "HNL",
              "HRK",
              "HTG",
              "HUF",
              "IDR",
              "ILS",
              "INR",
              "IQD",
              "IRR",
              "ISK",
              "JMD",
              "JOD",
              "JPY",
              "KES",
              "KGS",
              "KHR",
              "KMF",
              "KPW",
              "KRW",
              "KWD",
              "KYD",
              "KZT",
              "LAK",
              "LBP",
              "LKR",
              "LRD",
              "LSL",
              "LTL",
              "LVL",
              "LYD",
              "MAD",
              "MDL",
              "MGA",
              "MKD",
              "MMK",
              "MNT",
              "MOP",
              "MRO",
              "MUR",
              "MVR",
              "MWK",
              "MXN",
              "MXV",
              "MYR",
              "MZN",
              "NAD",
              "NGN",
              "NIO",
              "NOK",
              "NPR",
              "NZD",
              "OMR",
              "PAB",
              "PEN",
              "PGK",
              "PHP",
              "PKR",
              "PLN",
              "PYG",
              "QAR",
              "RON",
              "RSD",
              "RUB",
              "RWF",
              "SAR",
              "SBD",
              "SCR",
              "SDG",
              "SEK",
              "SGD",
              "SHP",
              "SLL",
              "SOS",
              "SRD",
              "SSP",
              "STD",
              "SVC",
              "SYP",
              "SZL",
              "THB",
              "TJS",
              "TMT",
              "TND",
              "TOP",
              "TRY",
              "TTD",
              "TWD",
              "TZS",
              "UAH",
              "UGX",
              "USD",
              "USN",
              "USS",
              "UYI",
              "UYU",
              "UYW",
              "UZS",
              "VEF",
              "VND",
              "VUV",
              "WST",
              "XAF",
              "XAG",
              "XAU",
              "XBA",
              "XBB",
              "XBC",
              "XBD",
              "XCD",
              "XDR",
              "XFU",
              "XOF",
              "XPD",
              "XPF",
              "XPT",
              "XTS",
              "XXX",
              "YER",
              "ZAR",
              "ZMW"
            ],
            "description": "The [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code of the invoice payment."
          },
          "total_amount": {
            "type": "number",
            "minimum": 0,
            "description": "The total amount on the invoice payment."
          },
          "memo": {
            "type": "string",
            "description": "The memo of the invoice payment."
          },
          "linked_invoices": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "format": "uuid"
                },
                "allocated_at": {
                  "type": "string"
                },
                "amount": {
                  "type": "number",
                  "minimum": 0
                }
              },
              "required": [
                "id",
                "amount"
              ],
              "additionalProperties": false
            },
            "description": "An array of [Invoices](/rest/version/invoices) linked to the invoice payment. Netsuite supports creating invoice payment transactions without any linked_invoices."
          },
          "additional_fields": {
            "type": "object",
            "properties": {
              "check_number": {
                "type": "string",
                "description": "The reference of the check number of the invoice payment. Supported for NetSuite."
              },
              "reconciled": {
                "type": "boolean",
                "description": "If true, this will mark a transaction as reconciled. Supported for Xero."
              },
              "reference_number": {
                "type": "string",
                "description": "The reference number of the invoice payment. Supported for QuickBooks Desktop."
              }
            },
            "additionalProperties": false,
            "description": "Additional fields required only for a narrow set of use cases."
          }
        },
        "required": [
          "account_id",
          "customer_id",
          "txn_date",
          "currency_code",
          "total_amount"
        ],
        "examples": [
          {
            "CreateInvoicePayment_Example": {
              "$ref": "#/components/examples/CreateInvoicePayment_Example"
            }
          }
        ]
      },
      "CreateCreateInvoicePaymentRequest": {
        "type": "object",
        "properties": {
          "invoice_payment": {
            "$ref": "#/components/schemas/CreateInvoicePayment"
          }
        },
        "required": [
          "invoice_payment"
        ],
        "examples": [
          {
            "CreateCreateInvoicePaymentRequest_Example": {
              "$ref": "#/components/examples/CreateCreateInvoicePaymentRequest_Example"
            }
          }
        ]
      },
      "InvoicePayment_2023_02_07Response": {
        "type": "object",
        "properties": {
          "invoice_payment": {
            "$ref": "#/components/schemas/InvoicePayment_2023_02_07"
          }
        },
        "required": [
          "invoice_payment"
        ],
        "examples": [
          {
            "InvoicePayment_2023_02_07Response_Example": {
              "$ref": "#/components/examples/InvoicePayment_2023_02_07Response_Example"
            }
          }
        ]
      },
      "CreateInvoicePayment_2023_02_07Response": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/InvoicePayment_2023_02_07Response"
          },
          {
            "$ref": "#/components/schemas/AsyncResponsePayload"
          }
        ],
        "examples": [
          {
            "CreateInvoicePayment_2023_02_07Response_Example": {
              "$ref": "#/components/examples/CreateInvoicePayment_2023_02_07Response_Example"
            }
          }
        ]
      },
      "InvoicePayment_2023_02_07ResponseWithConnection": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "invoice_payment": {
            "$ref": "#/components/schemas/InvoicePayment_2023_02_07"
          }
        },
        "required": [
          "connection",
          "invoice_payment"
        ],
        "examples": [
          {
            "InvoicePayment_2023_02_07ResponseWithConnection_Example": {
              "$ref": "#/components/examples/InvoicePayment_2023_02_07ResponseWithConnection_Example"
            }
          }
        ]
      },
      "UpdateInvoicePayment": {
        "type": "object",
        "properties": {
          "account_id": {
            "type": "string",
            "format": "uuid",
            "description": "The Rutter ID of the [Account](/rest/version/accounts) linked to the invoice payment. This should be a bank account."
          },
          "customer_id": {
            "type": "string",
            "format": "uuid",
            "description": "The Rutter ID of the [Customer](/rest/version/accounting-customers) linked to the invoice payment."
          },
          "txn_date": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp for when the transaction was logged."
          },
          "memo": {
            "type": "string",
            "description": "The memo of the invoice payment."
          },
          "total_amount": {
            "type": "number",
            "minimum": 0,
            "description": "The total amount on the invoice payment."
          },
          "linked_invoices": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "format": "uuid"
                },
                "allocated_at": {
                  "type": "string"
                },
                "amount": {
                  "type": "number",
                  "minimum": 0
                }
              },
              "required": [
                "id",
                "amount"
              ],
              "additionalProperties": false
            },
            "description": "An array of [Invoices](/rest/version/invoices) linked to the invoice payment."
          }
        },
        "examples": [
          {
            "UpdateInvoicePayment_Example": {
              "$ref": "#/components/examples/UpdateInvoicePayment_Example"
            }
          }
        ]
      },
      "CreateUpdateInvoicePaymentRequest": {
        "type": "object",
        "properties": {
          "invoice_payment": {
            "$ref": "#/components/schemas/UpdateInvoicePayment"
          }
        },
        "required": [
          "invoice_payment"
        ],
        "examples": [
          {
            "CreateUpdateInvoicePaymentRequest_Example": {
              "$ref": "#/components/examples/CreateUpdateInvoicePaymentRequest_Example"
            }
          }
        ]
      },
      "DeleteInvoicePayment_2023_02_07": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "enum": [
              "deleted",
              "not_found"
            ],
            "description": "Returns the status of the requested object: `deleted` indicates object was deleted by this operation, whereas `not_found` indicates object was not found (allowing us to make DELETE operations idempotent)."
          },
          "success": {
            "type": "boolean",
            "description": "Indicates whether deletion was successful"
          }
        },
        "required": [
          "code",
          "success"
        ],
        "examples": [
          {
            "DeleteInvoicePayment_2023_02_07_Example": {
              "$ref": "#/components/examples/DeleteInvoicePayment_2023_02_07_Example"
            }
          }
        ]
      },
      "DeleteInvoicePayment_2023_02_07Response": {
        "type": "object",
        "properties": {
          "deleted_invoice_payment": {
            "$ref": "#/components/schemas/DeleteInvoicePayment_2023_02_07"
          }
        },
        "required": [
          "deleted_invoice_payment"
        ],
        "examples": [
          {
            "DeleteInvoicePayment_2023_02_07Response_Example": {
              "$ref": "#/components/examples/DeleteInvoicePayment_2023_02_07Response_Example"
            }
          }
        ]
      },
      "CreateDeleteInvoicePayment_2023_02_07Response": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/DeleteInvoicePayment_2023_02_07Response"
          },
          {
            "$ref": "#/components/schemas/AsyncResponsePayload"
          }
        ],
        "examples": [
          {
            "CreateDeleteInvoicePayment_2023_02_07Response_Example": {
              "$ref": "#/components/examples/CreateDeleteInvoicePayment_2023_02_07Response_Example"
            }
          }
        ]
      },
      "InvoicesParams": {
        "type": "object",
        "properties": {
          "access_token": {
            "type": "string",
            "format": "uuid",
            "description": "The access token of the connection."
          },
          "cursor": {
            "type": "string",
            "description": "The cursor to use for pagination. Use the value of `next_cursor` provided in a previous response."
          },
          "document_number": {
            "type": "string",
            "description": "The document_number to filter on. Supported for QuickBooks Desktop."
          },
          "expand": {
            "type": "string",
            "enum": [
              "platform_data"
            ],
            "description": "Used to request inclusion of optional objects."
          },
          "force_fetch": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ],
            "description": "Force a response even if the underlying connection hasn't finished the initial sync."
          },
          "last_synced_at_min": {
            "type": "integer",
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum last_synced_at datetime to fetch entities from."
          },
          "limit": {
            "type": "integer",
            "description": "The number of entities to return. Defaults to 50. Maximum is 500."
          },
          "sort": {
            "type": "string",
            "description": "The field and direction to sort by (`ASC` or `DESC`), e.g. `last_synced_at ASC`. Currently supports the fields: `updated_at`, `last_synced_at`. If a field is provided but `ASC` or `DESC` is not, defaults to `ASC`. If this field is omitted, defaults, to `updated_at DESC`."
          },
          "updated_at_max": {
            "type": "integer",
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum updated_at datetime to fetch entities from."
          },
          "updated_at_min": {
            "type": "integer",
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum updated_at datetime to fetch entities from."
          }
        },
        "required": [
          "access_token"
        ]
      },
      "Invoice": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The Rutter generated unique ID of the invoice."
          },
          "platform_id": {
            "type": "string",
            "description": "The platform specific ID of the invoice."
          },
          "account_id": {
            "type": "string",
            "description": "The Rutter ID of the [Account](/rest/version/accounts) linked to the invoice. Represents the account being debited."
          },
          "customer_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The Rutter ID of the [Customers](/rest/version/accounting-customers) linked to the invoice."
          },
          "subsidiary_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The Rutter ID of the [Subsidiary](/rest/version/subsidiaries) linked to the invoice. Supported for NetSuite."
          },
          "due_date": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp for when the invoice is/was due."
          },
          "issue_date": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp for when the invoice was issued."
          },
          "status": {
            "type": "string",
            "enum": [
              "open",
              "partially_paid",
              "paid",
              "void",
              "draft",
              "unknown",
              "submitted"
            ],
            "description": "The status of the invoice."
          },
          "currency_code": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code of the invoice."
          },
          "document_number": {
            "type": [
              "string",
              "null"
            ],
            "description": "The seller facing document number of the invoice."
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "description": "The memo of the invoice."
          },
          "amount_due": {
            "type": [
              "string",
              "null"
            ],
            "description": "The current amount due on the invoice. Represents the remainder after invoice payments or invoice credit memos are applied against the total amount."
          },
          "sub_total": {
            "type": [
              "string",
              "null"
            ],
            "description": "The subtotal of the invoice, without the tax amount."
          },
          "tax_amount": {
            "type": [
              "string",
              "null"
            ],
            "description": "The total tax amount applied to the invoice."
          },
          "total_amount": {
            "type": [
              "string",
              "null"
            ],
            "description": "The total amount due on the invoice."
          },
          "total_discount": {
            "type": [
              "string",
              "null"
            ],
            "description": "The total amount of discounts applied to the invoice."
          },
          "linked_payments": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "date": {
                  "type": "string"
                },
                "type": {
                  "type": "string",
                  "enum": [
                    "INVOICE_PAYMENT",
                    "INVOICE_CREDIT_MEMO",
                    "UNKNOWN"
                  ]
                },
                "amount": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "required": [
                "id",
                "date",
                "type",
                "amount"
              ],
              "additionalProperties": false
            },
            "description": "An array of Rutter IDs of [Invoice Payments](/rest/version/invoice-payments) and [Invoice Credit Memos](/rest/version/invoice-credit-memos) applied against the invoice."
          },
          "line_items": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The Rutter generated unique ID of the invoice line item."
                },
                "platform_id": {
                  "type": "string",
                  "description": "The platform specific ID of the invoice line item."
                },
                "account_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The account being credited for the invoice line item"
                },
                "class_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The Rutter ID of the [Class](/rest/version/classes) linked to the invoice line item."
                },
                "item_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The Rutter ID of the [Item](/rest/version/items) linked to the invoice line item."
                },
                "tax_rate_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The Rutter ID of the [Tax Rate](/rest/version/tax-rates) linked to the invoice line item."
                },
                "description": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The description of the invoice line item."
                },
                "quantity": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "description": "The quantity of the invoice line item."
                },
                "amount": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The total amount of the sales order line item."
                },
                "discount_amount": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The discount amount applied to the invoice line item."
                },
                "discount_percentage": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The percentage discount applied to the invoice line item."
                },
                "sub_total": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The subtotal of the invoice line item, without tax."
                },
                "tax_amount": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The total tax amount applied to the invoice line item."
                },
                "unit_amount": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The price per unit of the invoice line item."
                },
                "additional_fields": {
                  "type": "object",
                  "properties": {
                    "rev_rec_end_date": {
                      "type": "string",
                      "description": "The end date for the revenue recognition element of this line item. Supported for NetSuite."
                    },
                    "rev_rec_start_date": {
                      "type": "string",
                      "description": "The start date for the revenue recognition element of this line item. Supported for NetSuite."
                    }
                  },
                  "additionalProperties": false,
                  "description": "Additional fields required only for a narrow set of use cases."
                }
              },
              "required": [
                "id",
                "platform_id",
                "account_id",
                "class_id",
                "item_id",
                "tax_rate_id",
                "description",
                "quantity",
                "amount",
                "discount_amount",
                "discount_percentage",
                "sub_total",
                "tax_amount",
                "unit_amount"
              ],
              "additionalProperties": false
            },
            "description": "An array of line items associated with the invoice."
          },
          "created_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the invoice was created."
          },
          "updated_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the invoice was last updated."
          },
          "last_synced_at": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp when the invoice was last synced by Rutter."
          },
          "platform_data": {
            "type": "object",
            "additionalProperties": {},
            "description": "The raw platform data corresponding to the Rutter object."
          }
        },
        "required": [
          "id",
          "platform_id",
          "account_id",
          "customer_id",
          "subsidiary_id",
          "due_date",
          "issue_date",
          "status",
          "currency_code",
          "document_number",
          "amount_due",
          "sub_total",
          "tax_amount",
          "total_amount",
          "total_discount",
          "linked_payments",
          "line_items",
          "created_at",
          "updated_at",
          "last_synced_at"
        ],
        "examples": [
          {
            "Invoice_Example": {
              "$ref": "#/components/examples/Invoice_Example"
            }
          }
        ]
      },
      "ListInvoiceResponseWithConnection": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "invoices": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Invoice"
            }
          },
          "next_cursor": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "connection",
          "invoices"
        ],
        "examples": [
          {
            "ListInvoiceResponseWithConnection_Example": {
              "$ref": "#/components/examples/ListInvoiceResponseWithConnection_Example"
            }
          }
        ]
      },
      "CreateInvoice": {
        "type": "object",
        "properties": {
          "customer_id": {
            "type": "string",
            "format": "uuid",
            "description": "The Rutter ID of the [Customers](/rest/version/accounting-customers) linked to the invoice. This is the customer to whom the invoice was issued."
          },
          "payment_terms_id": {
            "type": "string",
            "format": "uuid",
            "description": "The Rutter ID of the [Payment Terms](/rest/version/payment-terms) linked to the invoice. Supported for QuickBooks Desktop."
          },
          "subsidiary_id": {
            "type": "string",
            "format": "uuid",
            "description": "The Rutter ID of the [Subsidiary](/rest/version/subsidiaries) linked to the bill. Supported for NetSuite."
          },
          "due_date": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp for the due date of the invoice."
          },
          "issue_date": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp for the issue date of the invoice."
          },
          "currency_code": {
            "type": "string",
            "enum": [
              "AED",
              "AFN",
              "ALL",
              "AMD",
              "ANG",
              "AOA",
              "ARS",
              "AUD",
              "AWG",
              "AZN",
              "BAM",
              "BBD",
              "BDT",
              "BGN",
              "BHD",
              "BIF",
              "BMD",
              "BND",
              "BOB",
              "BOV",
              "BRL",
              "BSD",
              "BTN",
              "BWP",
              "BYR",
              "BZD",
              "CAD",
              "CDF",
              "CHE",
              "CHF",
              "CHW",
              "CLF",
              "CLP",
              "CNY",
              "COP",
              "COU",
              "CRC",
              "CUC",
              "CUP",
              "CVE",
              "CZK",
              "DJF",
              "DKK",
              "DOP",
              "DZD",
              "EGP",
              "ERN",
              "ETB",
              "EUR",
              "FJD",
              "FKP",
              "GBP",
              "GEL",
              "GHS",
              "GIP",
              "GMD",
              "GNF",
              "GTQ",
              "GYD",
              "HKD",
              "HNL",
              "HRK",
              "HTG",
              "HUF",
              "IDR",
              "ILS",
              "INR",
              "IQD",
              "IRR",
              "ISK",
              "JMD",
              "JOD",
              "JPY",
              "KES",
              "KGS",
              "KHR",
              "KMF",
              "KPW",
              "KRW",
              "KWD",
              "KYD",
              "KZT",
              "LAK",
              "LBP",
              "LKR",
              "LRD",
              "LSL",
              "LTL",
              "LVL",
              "LYD",
              "MAD",
              "MDL",
              "MGA",
              "MKD",
              "MMK",
              "MNT",
              "MOP",
              "MRO",
              "MUR",
              "MVR",
              "MWK",
              "MXN",
              "MXV",
              "MYR",
              "MZN",
              "NAD",
              "NGN",
              "NIO",
              "NOK",
              "NPR",
              "NZD",
              "OMR",
              "PAB",
              "PEN",
              "PGK",
              "PHP",
              "PKR",
              "PLN",
              "PYG",
              "QAR",
              "RON",
              "RSD",
              "RUB",
              "RWF",
              "SAR",
              "SBD",
              "SCR",
              "SDG",
              "SEK",
              "SGD",
              "SHP",
              "SLL",
              "SOS",
              "SRD",
              "SSP",
              "STD",
              "SVC",
              "SYP",
              "SZL",
              "THB",
              "TJS",
              "TMT",
              "TND",
              "TOP",
              "TRY",
              "TTD",
              "TWD",
              "TZS",
              "UAH",
              "UGX",
              "USD",
              "USN",
              "USS",
              "UYI",
              "UYU",
              "UYW",
              "UZS",
              "VEF",
              "VND",
              "VUV",
              "WST",
              "XAF",
              "XAG",
              "XAU",
              "XBA",
              "XBB",
              "XBC",
              "XBD",
              "XCD",
              "XDR",
              "XFU",
              "XOF",
              "XPD",
              "XPF",
              "XPT",
              "XTS",
              "XXX",
              "YER",
              "ZAR",
              "ZMW"
            ],
            "description": "The [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code of the invoice."
          },
          "document_number": {
            "type": "string",
            "description": "The seller facing document number of the invoice. Supported for QuickBooks and QuickBooks Desktop."
          },
          "memo": {
            "type": "string",
            "description": "The memo of the invoice. Supported for QuickBooks and QuickBooks Desktop."
          },
          "additional_fields": {
            "type": "object",
            "properties": {
              "addresses": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "enum": [
                        "billing",
                        "shipping",
                        "po_box",
                        "unknown"
                      ],
                      "description": "The type of the address."
                    },
                    "address1": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "The first address line of the address."
                    },
                    "address2": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "The second address line of the address."
                    },
                    "city": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "The city of the address."
                    },
                    "country": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "The country of the address."
                    },
                    "postal_code": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "The postal code of the address."
                    },
                    "region": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "The region or state of the address."
                    }
                  },
                  "required": [
                    "type",
                    "address1",
                    "address2",
                    "city",
                    "country",
                    "postal_code",
                    "region"
                  ],
                  "additionalProperties": false
                },
                "description": "An array of addresses linked to the invoice. Supported for QuickBooks Desktop."
              }
            },
            "additionalProperties": false,
            "description": "Additional fields required only for a narrow set of use cases."
          },
          "line_items": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "account_id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "The account being credited for the invoice line item. Supported for Xero."
                },
                "class_id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "The Rutter ID of the [Class](/rest/version/classes) linked to the invoice line item. Supported for QuickBooks Desktop."
                },
                "discount_item_id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "The Rutter ID of the [Discount Item](/rest/version/items) linked to the invoice line item. Supported for NetSuite."
                },
                "tax_rate_id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "The Rutter ID of the [Tax Rate](/rest/version/tax-rates) linked to the invoice line item. For QuickBooks, only VAT tax rates are supported. Supported for NetSuite, QuickBooks, and Xero."
                },
                "total_amount": {
                  "type": "number",
                  "description": "The total amount of the invoice line item."
                },
                "description": {
                  "type": "string",
                  "description": "The description of the line item."
                },
                "discount_amount": {
                  "type": "number",
                  "minimum": 0,
                  "description": "The discount amount to apply on the invoice line item. Supported for NetSuite."
                },
                "additional_fields": {
                  "type": "object",
                  "properties": {
                    "rev_rec_end_date": {
                      "type": "string",
                      "description": "The end date for the revenue recognition element of this line item. Supported for NetSuite."
                    },
                    "rev_rec_start_date": {
                      "type": "string",
                      "description": "The start date for the revenue recognition element of this line item. Supported for NetSuite."
                    }
                  },
                  "additionalProperties": false
                },
                "item": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid",
                      "description": "The Rutter ID of the [Item](/rest/version/items) linked to the invoice line item. This is the item that is being ordered by the customer."
                    },
                    "quantity": {
                      "type": "number",
                      "description": "The quantity of the invoice line item."
                    },
                    "unit_amount": {
                      "type": "number",
                      "description": "The price per unit of the invoice line item."
                    }
                  },
                  "additionalProperties": false
                }
              },
              "required": [
                "total_amount",
                "item"
              ],
              "additionalProperties": false
            },
            "description": "The line items on the invoice."
          }
        },
        "required": [
          "customer_id",
          "due_date",
          "issue_date",
          "currency_code",
          "line_items"
        ],
        "examples": [
          {
            "CreateInvoice_Example": {
              "$ref": "#/components/examples/CreateInvoice_Example"
            }
          }
        ]
      },
      "CreateCreateInvoiceRequest": {
        "type": "object",
        "properties": {
          "invoice": {
            "$ref": "#/components/schemas/CreateInvoice"
          }
        },
        "required": [
          "invoice"
        ],
        "examples": [
          {
            "CreateCreateInvoiceRequest_Example": {
              "$ref": "#/components/examples/CreateCreateInvoiceRequest_Example"
            }
          }
        ]
      },
      "InvoiceResponse": {
        "type": "object",
        "properties": {
          "invoice": {
            "$ref": "#/components/schemas/Invoice"
          }
        },
        "required": [
          "invoice"
        ],
        "examples": [
          {
            "InvoiceResponse_Example": {
              "$ref": "#/components/examples/InvoiceResponse_Example"
            }
          }
        ]
      },
      "CreateInvoiceResponse": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/InvoiceResponse"
          },
          {
            "$ref": "#/components/schemas/AsyncResponsePayload"
          }
        ],
        "examples": [
          {
            "CreateInvoiceResponse_Example": {
              "$ref": "#/components/examples/CreateInvoiceResponse_Example"
            }
          }
        ]
      },
      "InvoiceResponseWithConnection": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "invoice": {
            "$ref": "#/components/schemas/Invoice"
          }
        },
        "required": [
          "connection",
          "invoice"
        ],
        "examples": [
          {
            "InvoiceResponseWithConnection_Example": {
              "$ref": "#/components/examples/InvoiceResponseWithConnection_Example"
            }
          }
        ]
      },
      "UpdateInvoice": {
        "type": "object",
        "properties": {
          "customer_id": {
            "type": "string",
            "format": "uuid",
            "description": "The Rutter ID of the [Customers](/rest/version/accounting-customers) linked to the invoice. This is the customer to whom the invoice was issued."
          },
          "due_date": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp for the due date of the invoice."
          },
          "issue_date": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp for the issue date of the invoice."
          },
          "currency_code": {
            "type": "string",
            "enum": [
              "AED",
              "AFN",
              "ALL",
              "AMD",
              "ANG",
              "AOA",
              "ARS",
              "AUD",
              "AWG",
              "AZN",
              "BAM",
              "BBD",
              "BDT",
              "BGN",
              "BHD",
              "BIF",
              "BMD",
              "BND",
              "BOB",
              "BOV",
              "BRL",
              "BSD",
              "BTN",
              "BWP",
              "BYR",
              "BZD",
              "CAD",
              "CDF",
              "CHE",
              "CHF",
              "CHW",
              "CLF",
              "CLP",
              "CNY",
              "COP",
              "COU",
              "CRC",
              "CUC",
              "CUP",
              "CVE",
              "CZK",
              "DJF",
              "DKK",
              "DOP",
              "DZD",
              "EGP",
              "ERN",
              "ETB",
              "EUR",
              "FJD",
              "FKP",
              "GBP",
              "GEL",
              "GHS",
              "GIP",
              "GMD",
              "GNF",
              "GTQ",
              "GYD",
              "HKD",
              "HNL",
              "HRK",
              "HTG",
              "HUF",
              "IDR",
              "ILS",
              "INR",
              "IQD",
              "IRR",
              "ISK",
              "JMD",
              "JOD",
              "JPY",
              "KES",
              "KGS",
              "KHR",
              "KMF",
              "KPW",
              "KRW",
              "KWD",
              "KYD",
              "KZT",
              "LAK",
              "LBP",
              "LKR",
              "LRD",
              "LSL",
              "LTL",
              "LVL",
              "LYD",
              "MAD",
              "MDL",
              "MGA",
              "MKD",
              "MMK",
              "MNT",
              "MOP",
              "MRO",
              "MUR",
              "MVR",
              "MWK",
              "MXN",
              "MXV",
              "MYR",
              "MZN",
              "NAD",
              "NGN",
              "NIO",
              "NOK",
              "NPR",
              "NZD",
              "OMR",
              "PAB",
              "PEN",
              "PGK",
              "PHP",
              "PKR",
              "PLN",
              "PYG",
              "QAR",
              "RON",
              "RSD",
              "RUB",
              "RWF",
              "SAR",
              "SBD",
              "SCR",
              "SDG",
              "SEK",
              "SGD",
              "SHP",
              "SLL",
              "SOS",
              "SRD",
              "SSP",
              "STD",
              "SVC",
              "SYP",
              "SZL",
              "THB",
              "TJS",
              "TMT",
              "TND",
              "TOP",
              "TRY",
              "TTD",
              "TWD",
              "TZS",
              "UAH",
              "UGX",
              "USD",
              "USN",
              "USS",
              "UYI",
              "UYU",
              "UYW",
              "UZS",
              "VEF",
              "VND",
              "VUV",
              "WST",
              "XAF",
              "XAG",
              "XAU",
              "XBA",
              "XBB",
              "XBC",
              "XBD",
              "XCD",
              "XDR",
              "XFU",
              "XOF",
              "XPD",
              "XPF",
              "XPT",
              "XTS",
              "XXX",
              "YER",
              "ZAR",
              "ZMW"
            ],
            "description": "The [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code of the invoice."
          },
          "document_number": {
            "type": "string",
            "description": "The seller facing document number of the invoice."
          },
          "status": {
            "type": "string",
            "enum": [
              "void"
            ],
            "description": "Set this field to void an invoice transaction. The ability to void an invoice is currently supported on NetSuite and QuickBooks."
          },
          "additional_fields": {
            "type": "object",
            "properties": {
              "addresses": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "enum": [
                        "billing",
                        "shipping",
                        "po_box",
                        "unknown"
                      ],
                      "description": "The type of the address."
                    },
                    "address1": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "The first address line of the address."
                    },
                    "address2": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "The second address line of the address."
                    },
                    "city": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "The city of the address."
                    },
                    "country": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "The country of the address."
                    },
                    "postal_code": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "The postal code of the address."
                    },
                    "region": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "The region or state of the address."
                    }
                  },
                  "required": [
                    "type",
                    "address1",
                    "address2",
                    "city",
                    "country",
                    "postal_code",
                    "region"
                  ],
                  "additionalProperties": false
                },
                "description": "An array of addresses linked to the invoice. Supported for QuickBooks Desktop."
              }
            },
            "additionalProperties": false,
            "description": "Additional fields required only for a narrow set of use cases."
          },
          "line_items": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "account_id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "The account being credited for the invoice line item. Supported for Xero."
                },
                "class_id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "The Rutter ID of the [Class](/rest/version/classes) linked to the invoice line item. Supported for QuickBooks Desktop."
                },
                "discount_item_id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "The Rutter ID of the [Discount Item](/rest/version/items) linked to the invoice line item. Supported for NetSuite."
                },
                "tax_rate_id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "The Rutter ID of the [Tax Rate](/rest/version/tax-rates) linked to the invoice line item. For QuickBooks, only VAT tax rates are supported. Supported for NetSuite, QuickBooks, and Xero."
                },
                "total_amount": {
                  "type": "number",
                  "description": "The total amount of the invoice line item."
                },
                "description": {
                  "type": "string",
                  "description": "The description of the line item."
                },
                "discount_amount": {
                  "type": "number",
                  "minimum": 0,
                  "description": "The discount amount to apply on the invoice line item. Supported for NetSuite."
                },
                "additional_fields": {
                  "type": "object",
                  "properties": {
                    "rev_rec_end_date": {
                      "type": "string",
                      "description": "The end date for the revenue recognition element of this line item. Supported for NetSuite."
                    },
                    "rev_rec_start_date": {
                      "type": "string",
                      "description": "The start date for the revenue recognition element of this line item. Supported for NetSuite."
                    }
                  },
                  "additionalProperties": false
                },
                "item": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid",
                      "description": "The Rutter ID of the [Item](/rest/version/items) linked to the invoice line item. This is the item that is being ordered by the customer."
                    },
                    "quantity": {
                      "type": "number",
                      "description": "The quantity of the invoice line item."
                    },
                    "unit_amount": {
                      "type": "number",
                      "description": "The price per unit of the invoice line item."
                    }
                  },
                  "additionalProperties": false
                }
              },
              "required": [
                "total_amount",
                "item"
              ],
              "additionalProperties": false
            },
            "description": "The line items on the invoice to update. Supported for NetSuite, QuickBooks, and Xero."
          }
        },
        "examples": [
          {
            "UpdateInvoice_Example": {
              "$ref": "#/components/examples/UpdateInvoice_Example"
            }
          }
        ]
      },
      "CreateUpdateInvoiceRequest": {
        "type": "object",
        "properties": {
          "invoice": {
            "$ref": "#/components/schemas/UpdateInvoice"
          }
        },
        "required": [
          "invoice"
        ],
        "examples": [
          {
            "CreateUpdateInvoiceRequest_Example": {
              "$ref": "#/components/examples/CreateUpdateInvoiceRequest_Example"
            }
          }
        ]
      },
      "DeleteInvoice_2023_02_07": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "enum": [
              "deleted",
              "not_found"
            ],
            "description": "Returns the status of the requested object: `deleted` indicates object was deleted by this operation, whereas `not_found` indicates object was not found (allowing us to make DELETE operations idempotent)."
          },
          "success": {
            "type": "boolean",
            "description": "Indicates whether deletion was successful"
          }
        },
        "required": [
          "code",
          "success"
        ],
        "examples": [
          {
            "DeleteInvoice_2023_02_07_Example": {
              "$ref": "#/components/examples/DeleteInvoice_2023_02_07_Example"
            }
          }
        ]
      },
      "DeleteInvoice_2023_02_07Response": {
        "type": "object",
        "properties": {
          "deleted_invoice": {
            "$ref": "#/components/schemas/DeleteInvoice_2023_02_07"
          }
        },
        "required": [
          "deleted_invoice"
        ],
        "examples": [
          {
            "DeleteInvoice_2023_02_07Response_Example": {
              "$ref": "#/components/examples/DeleteInvoice_2023_02_07Response_Example"
            }
          }
        ]
      },
      "CreateDeleteInvoice_2023_02_07Response": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/DeleteInvoice_2023_02_07Response"
          },
          {
            "$ref": "#/components/schemas/AsyncResponsePayload"
          }
        ],
        "examples": [
          {
            "CreateDeleteInvoice_2023_02_07Response_Example": {
              "$ref": "#/components/examples/CreateDeleteInvoice_2023_02_07Response_Example"
            }
          }
        ]
      },
      "ListItemsParams": {
        "type": "object",
        "properties": {
          "access_token": {
            "type": "string",
            "format": "uuid",
            "description": "The access token of the connection."
          },
          "cursor": {
            "type": "string",
            "description": "The cursor to use for pagination. Use the value of `next_cursor` provided in a previous response."
          },
          "expand": {
            "type": "string",
            "enum": [
              "platform_data"
            ],
            "description": "Used to request inclusion of optional objects."
          },
          "force_fetch": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ],
            "description": "Force a response even if the underlying connection hasn't finished the initial sync."
          },
          "last_synced_at_min": {
            "type": "integer",
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum last_synced_at datetime to fetch entities from."
          },
          "limit": {
            "type": "integer",
            "description": "The number of entities to return. Defaults to 50. Maximum is 500."
          },
          "name": {
            "type": "string",
            "description": "The exact name to filter on. Supported for QuickBooks Desktop."
          },
          "sort": {
            "type": "string",
            "description": "The field and direction to sort by (`ASC` or `DESC`), e.g. `last_synced_at ASC`. Currently supports the fields: `updated_at`, `last_synced_at`. If a field is provided but `ASC` or `DESC` is not, defaults to `ASC`. If this field is omitted, defaults, to `updated_at DESC`."
          },
          "updated_at_max": {
            "type": "integer",
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum updated_at datetime to fetch entities from."
          },
          "updated_at_min": {
            "type": "integer",
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum updated_at datetime to fetch entities from."
          }
        },
        "required": [
          "access_token"
        ]
      },
      "AccountingItem": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The Rutter generated unique ID of the item."
          },
          "platform_id": {
            "type": "string",
            "description": "The platform specific ID of the item."
          },
          "status": {
            "type": "string",
            "enum": [
              "active",
              "archived",
              "unknown"
            ],
            "description": "The status of the item."
          },
          "type": {
            "type": "string",
            "enum": [
              "inventory",
              "non_inventory",
              "service",
              "discount",
              "unknown"
            ],
            "description": "The type of the item."
          },
          "code": {
            "type": [
              "string",
              "null"
            ],
            "description": "The reference code of the item."
          },
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "The name of the item."
          },
          "quantity_on_hand": {
            "type": [
              "number",
              "null"
            ],
            "description": "The quantity on hand of an item. Only applicable to items with type inventory. Supported for QuickBooks and QuickBooks Desktop."
          },
          "subsidiaries": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                }
              },
              "required": [
                "id"
              ],
              "additionalProperties": false
            },
            "description": "An array of [Subsidiary](/rest/version/subsidiaries) linked to the item. Supported for NetSuite."
          },
          "bill_item": {
            "type": "object",
            "properties": {
              "description": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "The description of the line item."
              },
              "unit_price": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "The unit price of the line item."
              }
            },
            "required": [
              "description",
              "unit_price"
            ],
            "additionalProperties": false,
            "description": "Item details associated with a bill (when the item was purchased)."
          },
          "invoice_item": {
            "type": "object",
            "properties": {
              "description": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "The description of the line item."
              },
              "unit_price": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "The unit price of the line item."
              }
            },
            "required": [
              "description",
              "unit_price"
            ],
            "additionalProperties": false,
            "description": "Item details associated with an invoice (when the item was sold)."
          },
          "created_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the item was created."
          },
          "updated_at": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the item was last updated."
          },
          "last_synced_at": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp when the item was last synced by Rutter."
          },
          "platform_data": {
            "type": "object",
            "additionalProperties": {},
            "description": "The raw platform data corresponding to the Rutter object."
          }
        },
        "required": [
          "id",
          "platform_id",
          "status",
          "type",
          "code",
          "name",
          "quantity_on_hand",
          "subsidiaries",
          "bill_item",
          "invoice_item",
          "created_at",
          "updated_at",
          "last_synced_at"
        ],
        "examples": [
          {
            "AccountingItem_Example": {
              "$ref": "#/components/examples/AccountingItem_Example"
            }
          }
        ]
      },
      "ListAccountingItemResponseWithConnection": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AccountingItem"
            }
          },
          "next_cursor": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "connection",
          "items"
        ],
        "examples": [
          {
            "ListAccountingItemResponseWithConnection_Example": {
              "$ref": "#/components/examples/ListAccountingItemResponseWithConnection_Example"
            }
          }
        ]
      },
      "CreateItem": {
        "type": "object",
        "properties": {
          "asset_account_id": {
            "type": "string",
            "description": "The Rutter ID of the [Asset Account](/rest/version/accounts) linked to the item. Only applicable to items with type inventory. Supported for QuickBooks Desktop."
          },
          "name": {
            "type": "string",
            "description": "The name of the item."
          },
          "quantity_on_hand": {
            "type": "number",
            "description": "The quantity on hand of an item. Only applicable to items with type inventory. Supported for QuickBooks Desktop."
          },
          "type": {
            "type": "string",
            "enum": [
              "inventory",
              "non_inventory",
              "service",
              "discount",
              "unknown"
            ],
            "description": "The type of the item. `inventory` type items are only supported for QuickBooks Desktop. `discount` type items are not supported."
          },
          "additional_fields": {
            "type": "object",
            "properties": {
              "item_id": {
                "type": "string",
                "description": "Sage Intacct ID of the Item to create. Supported for Sage Intacct."
              }
            },
            "additionalProperties": false,
            "description": "Additional fields required only for a narrow set of use cases."
          },
          "bill_item": {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "description": "The default expense account debited to pay the vendor for this bill line item."
              },
              "description": {
                "type": "string",
                "description": "The description of the line item."
              },
              "unit_price": {
                "type": "string",
                "description": "The unit price of the line item."
              }
            },
            "additionalProperties": false,
            "description": "Item details associated with a bill (when the item was purchased)."
          },
          "invoice_item": {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "description": "The default income account credited with the proceeds from the sale of this invoice item."
              },
              "description": {
                "type": "string",
                "description": "The description of the line item."
              },
              "unit_price": {
                "type": "string",
                "description": "The unit price of the line item."
              }
            },
            "additionalProperties": false,
            "description": "Item details associated with an invoice (when the item was sold)."
          }
        },
        "required": [
          "name"
        ],
        "examples": [
          {
            "CreateItem_Example": {
              "$ref": "#/components/examples/CreateItem_Example"
            }
          }
        ]
      },
      "CreateCreateItemRequest": {
        "type": "object",
        "properties": {
          "item": {
            "$ref": "#/components/schemas/CreateItem"
          }
        },
        "required": [
          "item"
        ],
        "examples": [
          {
            "CreateCreateItemRequest_Example": {
              "$ref": "#/components/examples/CreateCreateItemRequest_Example"
            }
          }
        ]
      },
      "AccountingItemResponse": {
        "type": "object",
        "properties": {
          "item": {
            "$ref": "#/components/schemas/AccountingItem"
          }
        },
        "required": [
          "item"
        ],
        "examples": [
          {
            "AccountingItemResponse_Example": {
              "$ref": "#/components/examples/AccountingItemResponse_Example"
            }
          }
        ]
      },
      "CreateAccountingItemResponse": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/AccountingItemResponse"
          },
          {
            "$ref": "#/components/schemas/AsyncResponsePayload"
          }
        ],
        "examples": [
          {
            "CreateAccountingItemResponse_Example": {
              "$ref": "#/components/examples/CreateAccountingItemResponse_Example"
            }
          }
        ]
      },
      "AccountingItemResponseWithConnection": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "item": {
            "$ref": "#/components/schemas/AccountingItem"
          }
        },
        "required": [
          "connection",
          "item"
        ],
        "examples": [
          {
            "AccountingItemResponseWithConnection_Example": {
              "$ref": "#/components/examples/AccountingItemResponseWithConnection_Example"
            }
          }
        ]
      },
      "UpdateItem": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "The name of the product/service."
          },
          "quantity_on_hand": {
            "type": "number",
            "description": "The quantity on hand of the product/service. Supported for QuickBooks Desktop."
          },
          "additional_fields": {
            "type": "object",
            "properties": {
              "quantity_on_hand_adjustment_account_id": {
                "type": "string",
                "description": "Rutter ID of the Account used to adjust item quantity. Supported for QuickBooks Desktop."
              }
            },
            "additionalProperties": false,
            "description": "Additional fields required only for a narrow set of use cases."
          }
        }
      },
      "CreateUpdateItemRequest": {
        "type": "object",
        "properties": {
          "item": {
            "$ref": "#/components/schemas/UpdateItem"
          }
        },
        "required": [
          "item"
        ]
      },
      "JournalEntry": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The Rutter generated unique ID of the journal entry."
          },
          "platform_id": {
            "type": "string",
            "description": "The platform specific ID of the journal entry."
          },
          "subsidiary_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The Rutter ID of the [Subsidiary](/rest/version/subsidiaries) linked to the journal entry. Supported for NetSuite."
          },
          "transaction_date": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp for when the journal entry was issued."
          },
          "currency_code": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "AED",
              "AFN",
              "ALL",
              "AMD",
              "ANG",
              "AOA",
              "ARS",
              "AUD",
              "AWG",
              "AZN",
              "BAM",
              "BBD",
              "BDT",
              "BGN",
              "BHD",
              "BIF",
              "BMD",
              "BND",
              "BOB",
              "BOV",
              "BRL",
              "BSD",
              "BTN",
              "BWP",
              "BYR",
              "BZD",
              "CAD",
              "CDF",
              "CHE",
              "CHF",
              "CHW",
              "CLF",
              "CLP",
              "CNY",
              "COP",
              "COU",
              "CRC",
              "CUC",
              "CUP",
              "CVE",
              "CZK",
              "DJF",
              "DKK",
              "DOP",
              "DZD",
              "EGP",
              "ERN",
              "ETB",
              "EUR",
              "FJD",
              "FKP",
              "GBP",
              "GEL",
              "GHS",
              "GIP",
              "GMD",
              "GNF",
              "GTQ",
              "GYD",
              "HKD",
              "HNL",
              "HRK",
              "HTG",
              "HUF",
              "IDR",
              "ILS",
              "INR",
              "IQD",
              "IRR",
              "ISK",
              "JMD",
              "JOD",
              "JPY",
              "KES",
              "KGS",
              "KHR",
              "KMF",
              "KPW",
              "KRW",
              "KWD",
              "KYD",
              "KZT",
              "LAK",
              "LBP",
              "LKR",
              "LRD",
              "LSL",
              "LTL",
              "LVL",
              "LYD",
              "MAD",
              "MDL",
              "MGA",
              "MKD",
              "MMK",
              "MNT",
              "MOP",
              "MRO",
              "MUR",
              "MVR",
              "MWK",
              "MXN",
              "MXV",
              "MYR",
              "MZN",
              "NAD",
              "NGN",
              "NIO",
              "NOK",
              "NPR",
              "NZD",
              "OMR",
              "PAB",
              "PEN",
              "PGK",
              "PHP",
              "PKR",
              "PLN",
              "PYG",
              "QAR",
              "RON",
              "RSD",
              "RUB",
              "RWF",
              "SAR",
              "SBD",
              "SCR",
              "SDG",
              "SEK",
              "SGD",
              "SHP",
              "SLL",
              "SOS",
              "SRD",
              "SSP",
              "STD",
              "SVC",
              "SYP",
              "SZL",
              "THB",
              "TJS",
              "TMT",
              "TND",
              "TOP",
              "TRY",
              "TTD",
              "TWD",
              "TZS",
              "UAH",
              "UGX",
              "USD",
              "USN",
              "USS",
              "UYI",
              "UYU",
              "UYW",
              "UZS",
              "VEF",
              "VND",
              "VUV",
              "WST",
              "XAF",
              "XAG",
              "XAU",
              "XBA",
              "XBB",
              "XBC",
              "XBD",
              "XCD",
              "XDR",
              "XFU",
              "XOF",
              "XPD",
              "XPF",
              "XPT",
              "XTS",
              "XXX",
              "YER",
              "ZAR",
              "ZMW"
            ],
            "description": "The [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code of the journal entry."
          },
          "currency_rate": {
            "type": "number",
            "description": "The exchange rate between the currency of the journal entry and the business default currency."
          },
          "deposited": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "If the journal entry debits the 'Undeposited Funds' account, this field will show whether the journal entry has been deposited (usually in another Bank Deposit transaction). Null if the journal entry doesn't debit the 'Undeposited Funds' account or if the platform does not support this field."
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "description": "The memo of the journal entry."
          },
          "line_items": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "account_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The Rutter generated unique ID of the account."
                },
                "tax_rate_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The Rutter ID of the [Tax Rate](/rest/version/tax_rates) linked to the journal entry line item. Supported for NetSuite."
                },
                "total_amount": {
                  "type": "number",
                  "description": "The amount associated with the journal entry line item. Positive for debits and negative for credits."
                },
                "description": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The description of the journal entry line item."
                },
                "additional_fields": {
                  "type": "object",
                  "properties": {
                    "class_id": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "The Rutter ID of the [Class](/rest/version/classes) linked to the journal entry line item. Supported for NetSuite and QuickBooks."
                    },
                    "customer_id": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "The Rutter ID of the [Customer](/rest/version/customers) linked to the journal entry line item. Supported for NetSuite and QuickBooks."
                    },
                    "department_id": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "The Rutter ID of the [Department](/rest/version/departments) linked to the journal entry line item. Supported for NetSuite."
                    },
                    "location_id": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "The Rutter ID of the [Location](/rest/version/locations) linked to the journal entry line item. Supported for NetSuite."
                    },
                    "subsidiary_id": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "The Rutter ID of the [Subsidiary](/rest/version/subsidiaries) linked to the journal entry line item. Supported for NetSuite."
                    },
                    "vendor_id": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "The Rutter ID of the [Vendor](/rest/version/vendors) linked to the journal entry line item. Supported for NetSuite and QuickBooks."
                    }
                  },
                  "additionalProperties": false,
                  "description": "Additional fields required only for a narrow set of use cases."
                }
              },
              "required": [
                "account_id",
                "tax_rate_id",
                "total_amount",
                "description"
              ],
              "additionalProperties": false
            }
          },
          "created_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the journal entry was created."
          },
          "updated_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the journal entry was last updated."
          },
          "last_synced_at": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp when the journal entry was last synced by Rutter."
          },
          "platform_data": {
            "type": "object",
            "additionalProperties": {},
            "description": "The raw platform data corresponding to the Rutter object."
          }
        },
        "required": [
          "id",
          "platform_id",
          "subsidiary_id",
          "transaction_date",
          "currency_code",
          "deposited",
          "memo",
          "line_items",
          "created_at",
          "updated_at",
          "last_synced_at"
        ],
        "examples": [
          {
            "JournalEntry_Example": {
              "$ref": "#/components/examples/JournalEntry_Example"
            }
          }
        ]
      },
      "ListJournalEntryResponseWithConnection": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "journal_entries": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/JournalEntry"
            }
          },
          "next_cursor": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "connection",
          "journal_entries"
        ],
        "examples": [
          {
            "ListJournalEntryResponseWithConnection_Example": {
              "$ref": "#/components/examples/ListJournalEntryResponseWithConnection_Example"
            }
          }
        ]
      },
      "CreateJournalEntry": {
        "type": "object",
        "properties": {
          "subsidiary_id": {
            "type": "string",
            "format": "uuid",
            "description": "The Rutter ID of the [Subsidiary](/rest/version/subsidiaries) linked to the journal entry. Supported for NetSuite."
          },
          "transaction_date": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the journal entry was created."
          },
          "currency_code": {
            "type": "string",
            "enum": [
              "AED",
              "AFN",
              "ALL",
              "AMD",
              "ANG",
              "AOA",
              "ARS",
              "AUD",
              "AWG",
              "AZN",
              "BAM",
              "BBD",
              "BDT",
              "BGN",
              "BHD",
              "BIF",
              "BMD",
              "BND",
              "BOB",
              "BOV",
              "BRL",
              "BSD",
              "BTN",
              "BWP",
              "BYR",
              "BZD",
              "CAD",
              "CDF",
              "CHE",
              "CHF",
              "CHW",
              "CLF",
              "CLP",
              "CNY",
              "COP",
              "COU",
              "CRC",
              "CUC",
              "CUP",
              "CVE",
              "CZK",
              "DJF",
              "DKK",
              "DOP",
              "DZD",
              "EGP",
              "ERN",
              "ETB",
              "EUR",
              "FJD",
              "FKP",
              "GBP",
              "GEL",
              "GHS",
              "GIP",
              "GMD",
              "GNF",
              "GTQ",
              "GYD",
              "HKD",
              "HNL",
              "HRK",
              "HTG",
              "HUF",
              "IDR",
              "ILS",
              "INR",
              "IQD",
              "IRR",
              "ISK",
              "JMD",
              "JOD",
              "JPY",
              "KES",
              "KGS",
              "KHR",
              "KMF",
              "KPW",
              "KRW",
              "KWD",
              "KYD",
              "KZT",
              "LAK",
              "LBP",
              "LKR",
              "LRD",
              "LSL",
              "LTL",
              "LVL",
              "LYD",
              "MAD",
              "MDL",
              "MGA",
              "MKD",
              "MMK",
              "MNT",
              "MOP",
              "MRO",
              "MUR",
              "MVR",
              "MWK",
              "MXN",
              "MXV",
              "MYR",
              "MZN",
              "NAD",
              "NGN",
              "NIO",
              "NOK",
              "NPR",
              "NZD",
              "OMR",
              "PAB",
              "PEN",
              "PGK",
              "PHP",
              "PKR",
              "PLN",
              "PYG",
              "QAR",
              "RON",
              "RSD",
              "RUB",
              "RWF",
              "SAR",
              "SBD",
              "SCR",
              "SDG",
              "SEK",
              "SGD",
              "SHP",
              "SLL",
              "SOS",
              "SRD",
              "SSP",
              "STD",
              "SVC",
              "SYP",
              "SZL",
              "THB",
              "TJS",
              "TMT",
              "TND",
              "TOP",
              "TRY",
              "TTD",
              "TWD",
              "TZS",
              "UAH",
              "UGX",
              "USD",
              "USN",
              "USS",
              "UYI",
              "UYU",
              "UYW",
              "UZS",
              "VEF",
              "VND",
              "VUV",
              "WST",
              "XAF",
              "XAG",
              "XAU",
              "XBA",
              "XBB",
              "XBC",
              "XBD",
              "XCD",
              "XDR",
              "XFU",
              "XOF",
              "XPD",
              "XPF",
              "XPT",
              "XTS",
              "XXX",
              "YER",
              "ZAR",
              "ZMW"
            ],
            "description": "The [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code of the journal entry."
          },
          "currency_rate": {
            "type": "number",
            "description": "The exchange rate between the currency of the expense and the business default currency."
          },
          "memo": {
            "type": "string",
            "description": "The memo of the journal entry."
          },
          "line_items": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "account_id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "The account of the journal entry line item."
                },
                "tax_rate_id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "The Rutter ID of the [Tax Rate](/rest/version/tax-rates) linked to the journal entry line item. Supported for NetSuite."
                },
                "total_amount": {
                  "type": "number",
                  "description": "The total amount of the journal entry line item."
                },
                "description": {
                  "type": "string",
                  "description": "The description of the journal entry line item."
                },
                "additional_fields": {
                  "type": "object",
                  "properties": {
                    "class_id": {
                      "type": "string",
                      "format": "uuid",
                      "description": "The Rutter ID of the [Class](/rest/version/classes) linked to the journal entry line item. Supported for NetSuite and QuickBooks."
                    },
                    "customer_id": {
                      "type": "string",
                      "format": "uuid",
                      "description": "The Rutter ID of the [Customer](/rest/version/customers) linked to the journal entry line item. For NetSuite, if both customer_id and vendor_id are specified, only the customer_id will be used. Supported for NetSuite and QuickBooks."
                    },
                    "department_id": {
                      "type": "string",
                      "format": "uuid",
                      "description": "The Rutter ID of the [Department](/rest/version/departments) linked to the journal entry line item. Supported for NetSuite."
                    },
                    "location_id": {
                      "type": "string",
                      "format": "uuid",
                      "description": "The Rutter ID of the [Location](/rest/version/locations) linked to the journal entry line item. Supported for NetSuite."
                    },
                    "subsidiary_id": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "format": "uuid",
                      "description": "The Rutter ID of the [Subsidiary](/rest/version/subsidiaries) linked to the journal entry line item. Supported for NetSuite."
                    },
                    "vendor_id": {
                      "type": "string",
                      "format": "uuid",
                      "description": "The Rutter ID of the [Vendor](/rest/version/vendors) linked to the journal entry line item. For NetSuite, if both customer_id and vendor_id are specified, only the customer_id will be used. Supported for NetSuite and QuickBooks."
                    }
                  },
                  "additionalProperties": false,
                  "description": "Additional fields required only for a narrow set of use cases."
                }
              },
              "required": [
                "account_id",
                "total_amount"
              ],
              "additionalProperties": false
            },
            "description": "An array of credits and debits associated with the journal entry."
          }
        },
        "required": [
          "transaction_date",
          "currency_code",
          "line_items"
        ],
        "examples": [
          {
            "CreateJournalEntry_Example": {
              "$ref": "#/components/examples/CreateJournalEntry_Example"
            }
          }
        ]
      },
      "CreateCreateJournalEntryRequest": {
        "type": "object",
        "properties": {
          "journal_entry": {
            "$ref": "#/components/schemas/CreateJournalEntry"
          }
        },
        "required": [
          "journal_entry"
        ],
        "examples": [
          {
            "CreateCreateJournalEntryRequest_Example": {
              "$ref": "#/components/examples/CreateCreateJournalEntryRequest_Example"
            }
          }
        ]
      },
      "JournalEntryResponse": {
        "type": "object",
        "properties": {
          "journal_entry": {
            "$ref": "#/components/schemas/JournalEntry"
          }
        },
        "required": [
          "journal_entry"
        ],
        "examples": [
          {
            "JournalEntryResponse_Example": {
              "$ref": "#/components/examples/JournalEntryResponse_Example"
            }
          }
        ]
      },
      "CreateJournalEntryResponse": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/JournalEntryResponse"
          },
          {
            "$ref": "#/components/schemas/AsyncResponsePayload"
          }
        ],
        "examples": [
          {
            "CreateJournalEntryResponse_Example": {
              "$ref": "#/components/examples/CreateJournalEntryResponse_Example"
            }
          }
        ]
      },
      "JournalEntryResponseWithConnection": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "journal_entry": {
            "$ref": "#/components/schemas/JournalEntry"
          }
        },
        "required": [
          "connection",
          "journal_entry"
        ],
        "examples": [
          {
            "JournalEntryResponseWithConnection_Example": {
              "$ref": "#/components/examples/JournalEntryResponseWithConnection_Example"
            }
          }
        ]
      },
      "Location": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The Rutter generated unique ID of the location."
          },
          "platform_id": {
            "type": "string",
            "description": "The platform specific ID of the location."
          },
          "parent_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The Rutter ID of the [Parent Location](/rest/version/locations) linked to the location."
          },
          "has_children": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Describes whether the location has child locations."
          },
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "The name of the location."
          },
          "status": {
            "type": "string",
            "enum": [
              "active",
              "archived"
            ],
            "description": "The status of the location."
          },
          "created_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the location was created."
          },
          "updated_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the location was last updated."
          },
          "last_synced_at": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp when the department was last synced by Rutter."
          },
          "platform_data": {
            "type": "object",
            "additionalProperties": {},
            "description": "The raw platform data corresponding to the Rutter object."
          }
        },
        "required": [
          "id",
          "platform_id",
          "parent_id",
          "has_children",
          "name",
          "created_at",
          "updated_at",
          "last_synced_at"
        ],
        "examples": [
          {
            "Location_Example": {
              "$ref": "#/components/examples/Location_Example"
            }
          }
        ]
      },
      "ListLocationResponse": {
        "type": "object",
        "properties": {
          "locations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Location"
            }
          },
          "next_cursor": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "locations"
        ],
        "examples": [
          {
            "ListLocationResponse_Example": {
              "$ref": "#/components/examples/ListLocationResponse_Example"
            }
          }
        ]
      },
      "AggregateMetric": {
        "type": "object",
        "properties": {
          "start_date": {
            "type": "string",
            "description": "The starting date from which we start aggregating activity (revenue, expenses, etc)."
          },
          "end_date": {
            "type": "string",
            "description": "The date at which we stop aggregating activity (revenue, expenses, etc)."
          },
          "currency": {
            "type": "string",
            "description": "If applicable, the currency used for the value returned."
          },
          "value": {
            "type": "string",
            "description": "The value of the requested metric for the time range described by the start and end date."
          }
        },
        "required": [
          "start_date",
          "end_date",
          "currency",
          "value"
        ],
        "examples": [
          {
            "AggregateMetric_Example": {
              "$ref": "#/components/examples/AggregateMetric_Example"
            }
          }
        ]
      },
      "AggregateMetricResponse": {
        "type": "object",
        "properties": {
          "checkpoint": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp for the date at which the metric was last updated."
          },
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "active_customers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AggregateMetric"
            },
            "description": "The metric value and important metadata that defines the method of calculation."
          },
          "amortization_expense": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AggregateMetric"
            },
            "description": "The metric value and important metadata that defines the method of calculation."
          },
          "capital_expenditure": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AggregateMetric"
            },
            "description": "The metric value and important metadata that defines the method of calculation."
          },
          "cash_flow_to_debt_ratio": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AggregateMetric"
            },
            "description": "The metric value and important metadata that defines the method of calculation."
          },
          "change_in_working_capital": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AggregateMetric"
            },
            "description": "The metric value and important metadata that defines the method of calculation."
          },
          "cost_of_goods_sold": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AggregateMetric"
            },
            "description": "The metric value and important metadata that defines the method of calculation."
          },
          "current_assets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AggregateMetric"
            },
            "description": "The metric value and important metadata that defines the method of calculation."
          },
          "current_liabilities": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AggregateMetric"
            },
            "description": "The metric value and important metadata that defines the method of calculation."
          },
          "current_ratio": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AggregateMetric"
            },
            "description": "The metric value and important metadata that defines the method of calculation."
          },
          "debt_service": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AggregateMetric"
            },
            "description": "The metric value and important metadata that defines the method of calculation."
          },
          "debt_service_coverage_ratio": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AggregateMetric"
            },
            "description": "The metric value and important metadata that defines the method of calculation."
          },
          "debt_service_from_income_statement": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AggregateMetric"
            },
            "description": "The metric value and important metadata that defines the method of calculation."
          },
          "debt_service_from_principal_paid": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AggregateMetric"
            },
            "description": "The metric value and important metadata that defines the method of calculation."
          },
          "debt_to_income_ratio": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AggregateMetric"
            },
            "description": "The metric value and important metadata that defines the method of calculation."
          },
          "depreciation_expense": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AggregateMetric"
            },
            "description": "The metric value and important metadata that defines the method of calculation."
          },
          "ebitda": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AggregateMetric"
            },
            "description": "The metric value and important metadata that defines the method of calculation."
          },
          "ebitda_margin": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AggregateMetric"
            },
            "description": "The metric value and important metadata that defines the method of calculation."
          },
          "enterprise_free_cash_flow": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AggregateMetric"
            },
            "description": "The metric value and important metadata that defines the method of calculation."
          },
          "enterprise_free_cash_flow_formula_two": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AggregateMetric"
            },
            "description": "The metric value and important metadata that defines the method of calculation."
          },
          "gross_profit_margin": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AggregateMetric"
            },
            "description": "The metric value and important metadata that defines the method of calculation."
          },
          "interest_expense": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AggregateMetric"
            },
            "description": "The metric value and important metadata that defines the method of calculation."
          },
          "inventory": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AggregateMetric"
            },
            "description": "The metric value and important metadata that defines the method of calculation."
          },
          "net_income": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AggregateMetric"
            },
            "description": "The metric value and important metadata that defines the method of calculation."
          },
          "net_operating_income": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AggregateMetric"
            },
            "description": "The metric value and important metadata that defines the method of calculation."
          },
          "net_profit_margin": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AggregateMetric"
            },
            "description": "The metric value and important metadata that defines the method of calculation."
          },
          "prepaid_expenses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AggregateMetric"
            },
            "description": "The metric value and important metadata that defines the method of calculation."
          },
          "principal_paid": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AggregateMetric"
            },
            "description": "The metric value and important metadata that defines the method of calculation."
          },
          "quick_ratio": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AggregateMetric"
            },
            "description": "The metric value and important metadata that defines the method of calculation."
          },
          "refund_rate": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AggregateMetric"
            },
            "description": "The metric value and important metadata that defines the method of calculation."
          },
          "rental_expense": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AggregateMetric"
            },
            "description": "The metric value and important metadata that defines the method of calculation."
          },
          "total_expenses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AggregateMetric"
            },
            "description": "The metric value and important metadata that defines the method of calculation."
          },
          "total_income": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AggregateMetric"
            },
            "description": "The metric value and important metadata that defines the method of calculation."
          },
          "total_orders": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AggregateMetric"
            },
            "description": "The metric value and important metadata that defines the method of calculation."
          },
          "total_revenue": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AggregateMetric"
            },
            "description": "The metric value and important metadata that defines the method of calculation."
          },
          "unearned_revenues": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AggregateMetric"
            },
            "description": "The metric value and important metadata that defines the method of calculation."
          },
          "working_capital": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AggregateMetric"
            },
            "description": "The metric value and important metadata that defines the method of calculation."
          }
        },
        "required": [
          "checkpoint",
          "connection"
        ]
      },
      "PaymentMethod": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The Rutter generated unique ID of the payment method."
          },
          "platform_id": {
            "type": "string",
            "description": "The platform specific ID of the payment method."
          },
          "name": {
            "type": "string",
            "description": "The name of the payment method."
          },
          "created_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the payment method was created."
          },
          "updated_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the payment method was last updated."
          },
          "last_synced_at": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp when the payment method was last synced by Rutter."
          },
          "platform_data": {
            "type": "object",
            "additionalProperties": {},
            "description": "The raw platform data corresponding to the Rutter object."
          }
        },
        "required": [
          "id",
          "platform_id",
          "name",
          "created_at",
          "updated_at",
          "last_synced_at"
        ],
        "examples": [
          {
            "PaymentMethod_Example": {
              "$ref": "#/components/examples/PaymentMethod_Example"
            }
          }
        ]
      },
      "ListPaymentMethodResponseWithConnection": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "payment_methods": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PaymentMethod"
            }
          },
          "next_cursor": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "connection",
          "payment_methods"
        ],
        "examples": [
          {
            "ListPaymentMethodResponseWithConnection_Example": {
              "$ref": "#/components/examples/ListPaymentMethodResponseWithConnection_Example"
            }
          }
        ]
      },
      "PaymentTerm": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The Rutter generated unique ID of the payment term."
          },
          "platform_id": {
            "type": "string",
            "description": "The platform specific ID of the payment term."
          },
          "due_days": {
            "type": "number",
            "description": "The number of days until the bill is due."
          },
          "term_name": {
            "type": "string",
            "description": "The name of the payment term."
          },
          "discount_days": {
            "type": [
              "number",
              "null"
            ],
            "description": "The number of days until the payment discount expires."
          },
          "discount_percent": {
            "type": [
              "number",
              "null"
            ],
            "description": "The percent of the discount a customer will gain if paid within the discount period."
          },
          "created_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the paymentterm was created."
          },
          "updated_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the paymentterm was last updated."
          },
          "last_synced_at": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp when the payment term was last synced by Rutter."
          },
          "platform_data": {
            "type": "object",
            "additionalProperties": {},
            "description": "The raw platform data corresponding to the Rutter object."
          }
        },
        "required": [
          "id",
          "platform_id",
          "due_days",
          "term_name",
          "discount_days",
          "discount_percent",
          "created_at",
          "updated_at",
          "last_synced_at"
        ],
        "examples": [
          {
            "PaymentTerm_Example": {
              "$ref": "#/components/examples/PaymentTerm_Example"
            }
          }
        ]
      },
      "ListPaymentTermResponseWithConnection": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "payment_terms": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PaymentTerm"
            }
          },
          "next_cursor": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "connection",
          "payment_terms"
        ],
        "examples": [
          {
            "ListPaymentTermResponseWithConnection_Example": {
              "$ref": "#/components/examples/ListPaymentTermResponseWithConnection_Example"
            }
          }
        ]
      },
      "PurchaseOrder_2023_03_14": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The Rutter generated unique ID of the purchase order."
          },
          "platform_id": {
            "type": "string",
            "description": "The platform specific ID of the purchase order."
          },
          "subsidiary_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The Rutter ID of the [Subsidiary](/rest/version/subsidiaries) linked to the purchase order. Supported for NetSuite."
          },
          "vendor_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The Rutter ID of the [Vendor](/rest/version/vendors) linked to the purchase order."
          },
          "issue_date": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp for the issue date of the purchase order."
          },
          "status": {
            "type": "string",
            "enum": [
              "open",
              "closed",
              "pending_bill",
              "unknown"
            ],
            "description": "The status of the purchase order."
          },
          "currency_code": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "AED",
              "AFN",
              "ALL",
              "AMD",
              "ANG",
              "AOA",
              "ARS",
              "AUD",
              "AWG",
              "AZN",
              "BAM",
              "BBD",
              "BDT",
              "BGN",
              "BHD",
              "BIF",
              "BMD",
              "BND",
              "BOB",
              "BOV",
              "BRL",
              "BSD",
              "BTN",
              "BWP",
              "BYR",
              "BZD",
              "CAD",
              "CDF",
              "CHE",
              "CHF",
              "CHW",
              "CLF",
              "CLP",
              "CNY",
              "COP",
              "COU",
              "CRC",
              "CUC",
              "CUP",
              "CVE",
              "CZK",
              "DJF",
              "DKK",
              "DOP",
              "DZD",
              "EGP",
              "ERN",
              "ETB",
              "EUR",
              "FJD",
              "FKP",
              "GBP",
              "GEL",
              "GHS",
              "GIP",
              "GMD",
              "GNF",
              "GTQ",
              "GYD",
              "HKD",
              "HNL",
              "HRK",
              "HTG",
              "HUF",
              "IDR",
              "ILS",
              "INR",
              "IQD",
              "IRR",
              "ISK",
              "JMD",
              "JOD",
              "JPY",
              "KES",
              "KGS",
              "KHR",
              "KMF",
              "KPW",
              "KRW",
              "KWD",
              "KYD",
              "KZT",
              "LAK",
              "LBP",
              "LKR",
              "LRD",
              "LSL",
              "LTL",
              "LVL",
              "LYD",
              "MAD",
              "MDL",
              "MGA",
              "MKD",
              "MMK",
              "MNT",
              "MOP",
              "MRO",
              "MUR",
              "MVR",
              "MWK",
              "MXN",
              "MXV",
              "MYR",
              "MZN",
              "NAD",
              "NGN",
              "NIO",
              "NOK",
              "NPR",
              "NZD",
              "OMR",
              "PAB",
              "PEN",
              "PGK",
              "PHP",
              "PKR",
              "PLN",
              "PYG",
              "QAR",
              "RON",
              "RSD",
              "RUB",
              "RWF",
              "SAR",
              "SBD",
              "SCR",
              "SDG",
              "SEK",
              "SGD",
              "SHP",
              "SLL",
              "SOS",
              "SRD",
              "SSP",
              "STD",
              "SVC",
              "SYP",
              "SZL",
              "THB",
              "TJS",
              "TMT",
              "TND",
              "TOP",
              "TRY",
              "TTD",
              "TWD",
              "TZS",
              "UAH",
              "UGX",
              "USD",
              "USN",
              "USS",
              "UYI",
              "UYU",
              "UYW",
              "UZS",
              "VEF",
              "VND",
              "VUV",
              "WST",
              "XAF",
              "XAG",
              "XAU",
              "XBA",
              "XBB",
              "XBC",
              "XBD",
              "XCD",
              "XDR",
              "XFU",
              "XOF",
              "XPD",
              "XPF",
              "XPT",
              "XTS",
              "XXX",
              "YER",
              "ZAR",
              "ZMW"
            ],
            "description": "The [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code of the purchase order."
          },
          "document_number": {
            "type": [
              "string",
              "null"
            ],
            "description": "The buyer facing document number of the purchase order."
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "description": "The memo of the purchase order."
          },
          "total_amount": {
            "type": [
              "number",
              "null"
            ],
            "description": "The total payment amount of the purchase order."
          },
          "total_quantity": {
            "type": [
              "number",
              "null"
            ],
            "description": "The total quantity of items in the purchase order."
          },
          "line_items": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "account_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The Rutter ID of the [Account](/rest/version/accounts) linked to the purchase order line item."
                },
                "class_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The Rutter ID of the [Class](/rest/version/classes) linked to the purchase order line item."
                },
                "department_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The Rutter ID of the [Department](/rest/version/departments) linked to the purchase order line item."
                },
                "tax_rate_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The Rutter ID of the [Tax Rate](/rest/version/tax-rates) linked to the purchase order line item."
                },
                "description": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The description of the purchase order line item."
                },
                "total_amount": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "description": "The total amount of the purchase order line item."
                },
                "item": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "The Rutter generated unique ID of the purchase order line item."
                    },
                    "quantity": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "The quantity of the purchase order line item."
                    },
                    "unit_amount": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "The price per unit of the purchase order line item."
                    }
                  },
                  "required": [
                    "id",
                    "quantity",
                    "unit_amount"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "account_id",
                "class_id",
                "department_id",
                "tax_rate_id",
                "description",
                "total_amount",
                "item"
              ],
              "additionalProperties": false
            },
            "description": "An array of line items associated with the purchase order."
          },
          "created_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the purchase order was created."
          },
          "updated_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the purchase order was last updated."
          },
          "last_synced_at": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp when the purchase order was last synced by Rutter."
          },
          "platform_data": {
            "type": "object",
            "additionalProperties": {},
            "description": "The raw platform data corresponding to the Rutter object."
          }
        },
        "required": [
          "id",
          "platform_id",
          "subsidiary_id",
          "vendor_id",
          "issue_date",
          "status",
          "currency_code",
          "document_number",
          "memo",
          "total_amount",
          "total_quantity",
          "line_items",
          "created_at",
          "updated_at",
          "last_synced_at"
        ],
        "examples": [
          {
            "PurchaseOrder_2023_03_14_Example": {
              "$ref": "#/components/examples/PurchaseOrder_2023_03_14_Example"
            }
          }
        ]
      },
      "ListPurchaseOrder_2023_03_14ResponseWithConnection": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "purchase_orders": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PurchaseOrder_2023_03_14"
            }
          },
          "next_cursor": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "connection",
          "purchase_orders"
        ],
        "examples": [
          {
            "ListPurchaseOrder_2023_03_14ResponseWithConnection_Example": {
              "$ref": "#/components/examples/ListPurchaseOrder_2023_03_14ResponseWithConnection_Example"
            }
          }
        ]
      },
      "CreatePurchaseOrder": {
        "type": "object",
        "properties": {
          "subsidiary_id": {
            "type": "string",
            "format": "uuid",
            "description": "The Rutter ID of the [Subsidiary](/rest/version/subsidiaries) linked to the purchase order. Supported for NetSuite."
          },
          "vendor_id": {
            "type": "string",
            "format": "uuid"
          },
          "txn_date": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "currency_rate": {
            "type": "number"
          },
          "memo": {
            "type": "string"
          },
          "additional_fields": {
            "type": "object",
            "properties": {
              "class_id": {
                "type": "string",
                "format": "uuid",
                "description": "The Rutter ID of the [Class](/rest/version/classes) linked to the bill. Supported for NetSuite."
              },
              "department_id": {
                "type": "string",
                "format": "uuid",
                "description": "The Rutter ID of the [Department](/rest/version/departments) linked to the bill. Supported for NetSuite."
              },
              "location_id": {
                "type": "string",
                "format": "uuid",
                "description": "The Rutter ID of the [Location](/rest/version/locations) linked to the bill. Supported for NetSuite."
              }
            },
            "additionalProperties": false,
            "description": "Additional fields required only for a narrow set of use cases."
          },
          "line_items": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "tax_rate_id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "The Rutter ID of the [Tax Rate](/rest/version/tax-rates) linked to the purchase order line item."
                },
                "item": {
                  "type": "string",
                  "format": "uuid",
                  "description": "The Rutter ID of the Item linked to the purchase order line item."
                },
                "quantity": {
                  "type": "number",
                  "minimum": 0,
                  "description": "The quantity of the purchase order line item."
                },
                "description": {
                  "type": "string",
                  "description": "The description of the purchase order line item."
                },
                "unit_amount": {
                  "type": "number",
                  "description": "The price per unit of the purchase order line item."
                }
              },
              "required": [
                "item",
                "quantity"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "vendor_id",
          "currency",
          "line_items"
        ],
        "examples": [
          {
            "CreatePurchaseOrder_Example": {
              "$ref": "#/components/examples/CreatePurchaseOrder_Example"
            }
          }
        ]
      },
      "CreateCreatePurchaseOrderRequest": {
        "type": "object",
        "properties": {
          "purchase_order": {
            "$ref": "#/components/schemas/CreatePurchaseOrder"
          }
        },
        "required": [
          "purchase_order"
        ],
        "examples": [
          {
            "CreateCreatePurchaseOrderRequest_Example": {
              "$ref": "#/components/examples/CreateCreatePurchaseOrderRequest_Example"
            }
          }
        ]
      },
      "PurchaseOrder": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The Rutter generated unique ID of the purchase order."
          },
          "platform_id": {
            "type": "string",
            "description": "The platform specific ID of the purchase order."
          },
          "subsidiary_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The Rutter ID of the [Subsidiary](/rest/version/subsidiaries) linked to the purchase order. Supported for NetSuite."
          },
          "vendor_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The Rutter ID of the [Vendor](/rest/version/vendors) linked to the purchase order."
          },
          "posted_date": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp for when the purchase order was posted."
          },
          "currency_code": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "AED",
              "AFN",
              "ALL",
              "AMD",
              "ANG",
              "AOA",
              "ARS",
              "AUD",
              "AWG",
              "AZN",
              "BAM",
              "BBD",
              "BDT",
              "BGN",
              "BHD",
              "BIF",
              "BMD",
              "BND",
              "BOB",
              "BOV",
              "BRL",
              "BSD",
              "BTN",
              "BWP",
              "BYR",
              "BZD",
              "CAD",
              "CDF",
              "CHE",
              "CHF",
              "CHW",
              "CLF",
              "CLP",
              "CNY",
              "COP",
              "COU",
              "CRC",
              "CUC",
              "CUP",
              "CVE",
              "CZK",
              "DJF",
              "DKK",
              "DOP",
              "DZD",
              "EGP",
              "ERN",
              "ETB",
              "EUR",
              "FJD",
              "FKP",
              "GBP",
              "GEL",
              "GHS",
              "GIP",
              "GMD",
              "GNF",
              "GTQ",
              "GYD",
              "HKD",
              "HNL",
              "HRK",
              "HTG",
              "HUF",
              "IDR",
              "ILS",
              "INR",
              "IQD",
              "IRR",
              "ISK",
              "JMD",
              "JOD",
              "JPY",
              "KES",
              "KGS",
              "KHR",
              "KMF",
              "KPW",
              "KRW",
              "KWD",
              "KYD",
              "KZT",
              "LAK",
              "LBP",
              "LKR",
              "LRD",
              "LSL",
              "LTL",
              "LVL",
              "LYD",
              "MAD",
              "MDL",
              "MGA",
              "MKD",
              "MMK",
              "MNT",
              "MOP",
              "MRO",
              "MUR",
              "MVR",
              "MWK",
              "MXN",
              "MXV",
              "MYR",
              "MZN",
              "NAD",
              "NGN",
              "NIO",
              "NOK",
              "NPR",
              "NZD",
              "OMR",
              "PAB",
              "PEN",
              "PGK",
              "PHP",
              "PKR",
              "PLN",
              "PYG",
              "QAR",
              "RON",
              "RSD",
              "RUB",
              "RWF",
              "SAR",
              "SBD",
              "SCR",
              "SDG",
              "SEK",
              "SGD",
              "SHP",
              "SLL",
              "SOS",
              "SRD",
              "SSP",
              "STD",
              "SVC",
              "SYP",
              "SZL",
              "THB",
              "TJS",
              "TMT",
              "TND",
              "TOP",
              "TRY",
              "TTD",
              "TWD",
              "TZS",
              "UAH",
              "UGX",
              "USD",
              "USN",
              "USS",
              "UYI",
              "UYU",
              "UYW",
              "UZS",
              "VEF",
              "VND",
              "VUV",
              "WST",
              "XAF",
              "XAG",
              "XAU",
              "XBA",
              "XBB",
              "XBC",
              "XBD",
              "XCD",
              "XDR",
              "XFU",
              "XOF",
              "XPD",
              "XPF",
              "XPT",
              "XTS",
              "XXX",
              "YER",
              "ZAR",
              "ZMW"
            ],
            "description": "The [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code of the purchase order."
          },
          "document_number": {
            "type": [
              "string",
              "null"
            ],
            "description": "The buyer facing document number of the purchase order."
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "description": "The memo of the purchase order."
          },
          "status": {
            "type": [
              "string",
              "null"
            ],
            "description": "The status of the purchase order."
          },
          "vendor_name": {
            "type": [
              "string",
              "null"
            ],
            "description": "The name of the [Vendor](/rest/version/vendors) linked to the purchase order."
          },
          "total_amount": {
            "type": [
              "string",
              "null"
            ],
            "description": "The total payment amount of the purchase order."
          },
          "total_quantity": {
            "type": [
              "string",
              "null"
            ],
            "description": "The total quantity of items in the purchase order."
          },
          "line_items": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "platform_id": {
                  "type": "string"
                },
                "account_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The Rutter ID of the [Account](/rest/version/accounts) linked to the purchase order line item."
                },
                "class_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The Rutter ID of the [Class](/rest/version/classes) linked to the purchase order line item."
                },
                "item_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The Rutter generated unique ID of the purchase order line item."
                },
                "tax_rate_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The Rutter ID of the [Tax Rate](/rest/version/tax-rates) linked to the purchase order line item."
                },
                "description": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The description of the purchase order line item."
                },
                "item_name": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "amount": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The total amount of the purchase order line item."
                },
                "amount_billed": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "amount_received": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "quantity": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The quantity of the purchase order line item."
                },
                "quantity_bill": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "quantity_received": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "unit_amount": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The price per unit of the purchase order line item."
                }
              },
              "required": [
                "platform_id",
                "account_id",
                "class_id",
                "item_id",
                "tax_rate_id",
                "description",
                "item_name",
                "amount",
                "amount_billed",
                "amount_received",
                "quantity",
                "quantity_bill",
                "quantity_received",
                "unit_amount"
              ],
              "additionalProperties": false
            },
            "description": "An array of line items associated with the purchase order."
          },
          "created_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the purchase order was created."
          },
          "updated_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the purchase order was last updated."
          },
          "last_synced_at": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp when the purchase order was last synced by Rutter."
          },
          "platform_data": {
            "type": "object",
            "additionalProperties": {},
            "description": "The raw platform data corresponding to the Rutter object."
          }
        },
        "required": [
          "id",
          "platform_id",
          "subsidiary_id",
          "vendor_id",
          "posted_date",
          "currency_code",
          "document_number",
          "memo",
          "status",
          "vendor_name",
          "total_amount",
          "total_quantity",
          "line_items",
          "created_at",
          "updated_at",
          "last_synced_at"
        ],
        "examples": [
          {
            "PurchaseOrder_Example": {
              "$ref": "#/components/examples/PurchaseOrder_Example"
            }
          }
        ]
      },
      "PurchaseOrderResponse": {
        "type": "object",
        "properties": {
          "purchase_order": {
            "$ref": "#/components/schemas/PurchaseOrder"
          }
        },
        "required": [
          "purchase_order"
        ],
        "examples": [
          {
            "PurchaseOrderResponse_Example": {
              "$ref": "#/components/examples/PurchaseOrderResponse_Example"
            }
          }
        ]
      },
      "CreatePurchaseOrderResponse": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/PurchaseOrderResponse"
          },
          {
            "$ref": "#/components/schemas/AsyncResponsePayload"
          }
        ],
        "examples": [
          {
            "CreatePurchaseOrderResponse_Example": {
              "$ref": "#/components/examples/CreatePurchaseOrderResponse_Example"
            }
          }
        ]
      },
      "PurchaseOrder_2023_03_14ResponseWithConnection": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "purchase_order": {
            "$ref": "#/components/schemas/PurchaseOrder_2023_03_14"
          }
        },
        "required": [
          "connection",
          "purchase_order"
        ],
        "examples": [
          {
            "PurchaseOrder_2023_03_14ResponseWithConnection_Example": {
              "$ref": "#/components/examples/PurchaseOrder_2023_03_14ResponseWithConnection_Example"
            }
          }
        ]
      },
      "ReportQuery": {
        "type": "object",
        "properties": {
          "access_token": {
            "type": "string",
            "format": "uuid",
            "description": "The access token of the connection."
          },
          "filter": {
            "type": "string",
            "enum": [
              "TREE",
              "FLAT"
            ]
          },
          "force_fetch": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ],
            "description": "Force a response even if the underlying connection hasn't finished the initial sync."
          }
        },
        "required": [
          "access_token"
        ]
      },
      "CompanyInfo_2023_02_07": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The Rutter generated unique ID of the object."
          },
          "platform_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The platform specific ID of the object."
          },
          "base_currency_code": {
            "type": "string",
            "enum": [
              "AED",
              "AFN",
              "ALL",
              "AMD",
              "ANG",
              "AOA",
              "ARS",
              "AUD",
              "AWG",
              "AZN",
              "BAM",
              "BBD",
              "BDT",
              "BGN",
              "BHD",
              "BIF",
              "BMD",
              "BND",
              "BOB",
              "BOV",
              "BRL",
              "BSD",
              "BTN",
              "BWP",
              "BYR",
              "BZD",
              "CAD",
              "CDF",
              "CHE",
              "CHF",
              "CHW",
              "CLF",
              "CLP",
              "CNY",
              "COP",
              "COU",
              "CRC",
              "CUC",
              "CUP",
              "CVE",
              "CZK",
              "DJF",
              "DKK",
              "DOP",
              "DZD",
              "EGP",
              "ERN",
              "ETB",
              "EUR",
              "FJD",
              "FKP",
              "GBP",
              "GEL",
              "GHS",
              "GIP",
              "GMD",
              "GNF",
              "GTQ",
              "GYD",
              "HKD",
              "HNL",
              "HRK",
              "HTG",
              "HUF",
              "IDR",
              "ILS",
              "INR",
              "IQD",
              "IRR",
              "ISK",
              "JMD",
              "JOD",
              "JPY",
              "KES",
              "KGS",
              "KHR",
              "KMF",
              "KPW",
              "KRW",
              "KWD",
              "KYD",
              "KZT",
              "LAK",
              "LBP",
              "LKR",
              "LRD",
              "LSL",
              "LTL",
              "LVL",
              "LYD",
              "MAD",
              "MDL",
              "MGA",
              "MKD",
              "MMK",
              "MNT",
              "MOP",
              "MRO",
              "MUR",
              "MVR",
              "MWK",
              "MXN",
              "MXV",
              "MYR",
              "MZN",
              "NAD",
              "NGN",
              "NIO",
              "NOK",
              "NPR",
              "NZD",
              "OMR",
              "PAB",
              "PEN",
              "PGK",
              "PHP",
              "PKR",
              "PLN",
              "PYG",
              "QAR",
              "RON",
              "RSD",
              "RUB",
              "RWF",
              "SAR",
              "SBD",
              "SCR",
              "SDG",
              "SEK",
              "SGD",
              "SHP",
              "SLL",
              "SOS",
              "SRD",
              "SSP",
              "STD",
              "SVC",
              "SYP",
              "SZL",
              "THB",
              "TJS",
              "TMT",
              "TND",
              "TOP",
              "TRY",
              "TTD",
              "TWD",
              "TZS",
              "UAH",
              "UGX",
              "USD",
              "USN",
              "USS",
              "UYI",
              "UYU",
              "UYW",
              "UZS",
              "VEF",
              "VND",
              "VUV",
              "WST",
              "XAF",
              "XAG",
              "XAU",
              "XBA",
              "XBB",
              "XBC",
              "XBD",
              "XCD",
              "XDR",
              "XFU",
              "XOF",
              "XPD",
              "XPF",
              "XPT",
              "XTS",
              "XXX",
              "YER",
              "ZAR",
              "ZMW"
            ],
            "description": "The [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code of the company."
          },
          "createdAt": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the object was created."
          },
          "name": {
            "type": "string",
            "description": "The DBA name of the company."
          },
          "updatedAt": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the object was last updated."
          },
          "addresses": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "A list of addresses linked to the company."
          },
          "legal_name": {
            "type": "string",
            "description": "The legal name of the company."
          },
          "last_synced_at": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp when the company info was last synced by Rutter."
          },
          "platform_data": {
            "type": "object",
            "additionalProperties": {},
            "description": "The raw platform data corresponding to the Rutter object."
          }
        },
        "required": [
          "id",
          "platform_id",
          "base_currency_code",
          "createdAt",
          "name",
          "updatedAt",
          "addresses",
          "last_synced_at"
        ],
        "examples": [
          {
            "CompanyInfo_2023_02_07_Example": {
              "$ref": "#/components/examples/CompanyInfo_2023_02_07_Example"
            }
          }
        ]
      },
      "FinancialReport": {
        "type": "object",
        "properties": {
          "report": {
            "type": "object",
            "properties": {
              "expires_at": {
                "type": "string"
              },
              "report_url": {
                "type": "string",
                "format": "uri"
              },
              "company_info": {
                "$ref": "#/components/schemas/CompanyInfo_2023_02_07"
              }
            },
            "required": [
              "expires_at",
              "report_url",
              "company_info"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "report"
        ]
      },
      "SalesOrder": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The Rutter generated unique ID of the sales order."
          },
          "platform_id": {
            "type": "string",
            "description": "The platform specific ID of the sales order."
          },
          "class_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The Rutter ID of the [Class](/rest/version/classes) linked to the sales order."
          },
          "customer_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The Rutter ID of the [Customer](/rest/version/customers) linked to the sales order."
          },
          "department_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The Rutter ID of the [Department](/rest/version/departments) linked to the sales order."
          },
          "location_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The Rutter ID of the [Location](/rest/version/locations) linked to the sales order."
          },
          "subsidiary_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The Rutter ID of the [Subsidiary](/rest/version/subsidiaries) linked to the sales order. Supported for NetSuite."
          },
          "issue_date": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp for the issue date of the sales order."
          },
          "status": {
            "type": "string",
            "enum": [
              "open",
              "closed",
              "pending_approval",
              "unknown"
            ],
            "description": "The status of the sales order."
          },
          "currency_code": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "AED",
              "AFN",
              "ALL",
              "AMD",
              "ANG",
              "AOA",
              "ARS",
              "AUD",
              "AWG",
              "AZN",
              "BAM",
              "BBD",
              "BDT",
              "BGN",
              "BHD",
              "BIF",
              "BMD",
              "BND",
              "BOB",
              "BOV",
              "BRL",
              "BSD",
              "BTN",
              "BWP",
              "BYR",
              "BZD",
              "CAD",
              "CDF",
              "CHE",
              "CHF",
              "CHW",
              "CLF",
              "CLP",
              "CNY",
              "COP",
              "COU",
              "CRC",
              "CUC",
              "CUP",
              "CVE",
              "CZK",
              "DJF",
              "DKK",
              "DOP",
              "DZD",
              "EGP",
              "ERN",
              "ETB",
              "EUR",
              "FJD",
              "FKP",
              "GBP",
              "GEL",
              "GHS",
              "GIP",
              "GMD",
              "GNF",
              "GTQ",
              "GYD",
              "HKD",
              "HNL",
              "HRK",
              "HTG",
              "HUF",
              "IDR",
              "ILS",
              "INR",
              "IQD",
              "IRR",
              "ISK",
              "JMD",
              "JOD",
              "JPY",
              "KES",
              "KGS",
              "KHR",
              "KMF",
              "KPW",
              "KRW",
              "KWD",
              "KYD",
              "KZT",
              "LAK",
              "LBP",
              "LKR",
              "LRD",
              "LSL",
              "LTL",
              "LVL",
              "LYD",
              "MAD",
              "MDL",
              "MGA",
              "MKD",
              "MMK",
              "MNT",
              "MOP",
              "MRO",
              "MUR",
              "MVR",
              "MWK",
              "MXN",
              "MXV",
              "MYR",
              "MZN",
              "NAD",
              "NGN",
              "NIO",
              "NOK",
              "NPR",
              "NZD",
              "OMR",
              "PAB",
              "PEN",
              "PGK",
              "PHP",
              "PKR",
              "PLN",
              "PYG",
              "QAR",
              "RON",
              "RSD",
              "RUB",
              "RWF",
              "SAR",
              "SBD",
              "SCR",
              "SDG",
              "SEK",
              "SGD",
              "SHP",
              "SLL",
              "SOS",
              "SRD",
              "SSP",
              "STD",
              "SVC",
              "SYP",
              "SZL",
              "THB",
              "TJS",
              "TMT",
              "TND",
              "TOP",
              "TRY",
              "TTD",
              "TWD",
              "TZS",
              "UAH",
              "UGX",
              "USD",
              "USN",
              "USS",
              "UYI",
              "UYU",
              "UYW",
              "UZS",
              "VEF",
              "VND",
              "VUV",
              "WST",
              "XAF",
              "XAG",
              "XAU",
              "XBA",
              "XBB",
              "XBC",
              "XBD",
              "XCD",
              "XDR",
              "XFU",
              "XOF",
              "XPD",
              "XPF",
              "XPT",
              "XTS",
              "XXX",
              "YER",
              "ZAR",
              "ZMW"
            ],
            "description": "The [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code of the sales order."
          },
          "currency_rate": {
            "type": [
              "number",
              "null"
            ],
            "description": "The exchange rate between the currency of the sales order and the business default currency."
          },
          "discount_amount": {
            "type": [
              "number",
              "null"
            ],
            "description": "The discount amount applied to the sales order."
          },
          "document_number": {
            "type": [
              "string",
              "null"
            ],
            "description": "The buyer facing document number of the sales order."
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "description": "The memo of the sales order."
          },
          "reference_number": {
            "type": [
              "string",
              "null"
            ],
            "description": "The reference number of the sales order."
          },
          "tax_amount": {
            "type": [
              "number",
              "null"
            ],
            "description": "The tax amount applied to the sales order."
          },
          "total_amount": {
            "type": [
              "number",
              "null"
            ],
            "description": "The total amount of the sales order."
          },
          "line_items": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "tax_rate_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The Rutter ID of the [Tax Rate](/rest/version/tax-rates) linked to the sales order line item."
                },
                "description": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The description of the sales order line item."
                },
                "total_amount": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "description": "The total amount of the sales order line item."
                },
                "item": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "The Rutter ID of the [Item](/rest/version/items) linked to the sales order line item."
                    },
                    "quantity": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "The quantity of the sales order line item."
                    },
                    "unit_amount": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "The price per unit of the sales order line item."
                    }
                  },
                  "required": [
                    "id",
                    "quantity",
                    "unit_amount"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "tax_rate_id",
                "description",
                "total_amount",
                "item"
              ],
              "additionalProperties": false
            },
            "description": "An array of line items associated with the sales order."
          },
          "created_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the sales order was created."
          },
          "updated_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the sales order was last updated."
          },
          "last_synced_at": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp when the sales order was last synced by Rutter."
          }
        },
        "required": [
          "id",
          "platform_id",
          "class_id",
          "customer_id",
          "department_id",
          "location_id",
          "subsidiary_id",
          "issue_date",
          "status",
          "currency_code",
          "currency_rate",
          "discount_amount",
          "document_number",
          "memo",
          "reference_number",
          "tax_amount",
          "total_amount",
          "line_items",
          "created_at",
          "updated_at",
          "last_synced_at"
        ],
        "examples": [
          {
            "SalesOrder_Example": {
              "$ref": "#/components/examples/SalesOrder_Example"
            }
          }
        ]
      },
      "ListSalesOrderResponseWithConnection": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "sales_orders": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SalesOrder"
            }
          },
          "next_cursor": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "connection",
          "sales_orders"
        ],
        "examples": [
          {
            "ListSalesOrderResponseWithConnection_Example": {
              "$ref": "#/components/examples/ListSalesOrderResponseWithConnection_Example"
            }
          }
        ]
      },
      "CreateSalesOrder": {
        "type": "object",
        "properties": {
          "class_id": {
            "type": "string",
            "description": "The Rutter ID of the [Class](/rest/version/classes) linked to the sales order."
          },
          "customer_id": {
            "type": "string",
            "description": "The Rutter ID of the [Customer](/rest/version/customers) linked to the sales order."
          },
          "department_id": {
            "type": "string",
            "description": "The Rutter ID of the [Department](/rest/version/departments) linked to the sales order."
          },
          "location_id": {
            "type": "string",
            "description": "The Rutter ID of the [Location](/rest/version/locations) linked to the sales order."
          },
          "subsidiary_id": {
            "type": "string",
            "description": "The Rutter ID of the [Subsidiary](/rest/version/subsidiaries) linked to the sales order. Supported for NetSuite."
          },
          "issue_date": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp for the issue date of the sales order."
          },
          "currency_code": {
            "type": "string",
            "description": "The [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code of the sales order."
          },
          "memo": {
            "type": "string",
            "description": "The memo of the sales order."
          },
          "line_items": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "tax_rate_id": {
                  "type": "string",
                  "description": "The Rutter ID of the [Tax Rate](/rest/version/tax-rates) linked to the sales order line item."
                },
                "description": {
                  "type": "string",
                  "description": "The description of the sales order line item."
                },
                "item": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "The Rutter generated unique ID of the sales order line item."
                    },
                    "quantity": {
                      "type": "number",
                      "description": "The quantity of the sales order line item."
                    },
                    "unit_amount": {
                      "type": "number",
                      "description": "The price per unit of the sales order line item."
                    }
                  },
                  "required": [
                    "id"
                  ],
                  "additionalProperties": false,
                  "description": "The product or service associated with the sales order line item."
                }
              },
              "required": [
                "item"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "customer_id",
          "line_items"
        ],
        "examples": [
          {
            "CreateSalesOrder_Example": {
              "$ref": "#/components/examples/CreateSalesOrder_Example"
            }
          }
        ]
      },
      "CreateCreateSalesOrderRequest": {
        "type": "object",
        "properties": {
          "sales_order": {
            "$ref": "#/components/schemas/CreateSalesOrder"
          }
        },
        "required": [
          "sales_order"
        ],
        "examples": [
          {
            "CreateCreateSalesOrderRequest_Example": {
              "$ref": "#/components/examples/CreateCreateSalesOrderRequest_Example"
            }
          }
        ]
      },
      "SalesOrderResponse": {
        "type": "object",
        "properties": {
          "sales_order": {
            "$ref": "#/components/schemas/SalesOrder"
          }
        },
        "required": [
          "sales_order"
        ],
        "examples": [
          {
            "SalesOrderResponse_Example": {
              "$ref": "#/components/examples/SalesOrderResponse_Example"
            }
          }
        ]
      },
      "CreateSalesOrderResponse": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/SalesOrderResponse"
          },
          {
            "$ref": "#/components/schemas/AsyncResponsePayload"
          }
        ],
        "examples": [
          {
            "CreateSalesOrderResponse_Example": {
              "$ref": "#/components/examples/CreateSalesOrderResponse_Example"
            }
          }
        ]
      },
      "SalesOrderResponseWithConnection": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "sales_order": {
            "$ref": "#/components/schemas/SalesOrder"
          }
        },
        "required": [
          "connection",
          "sales_order"
        ],
        "examples": [
          {
            "SalesOrderResponseWithConnection_Example": {
              "$ref": "#/components/examples/SalesOrderResponseWithConnection_Example"
            }
          }
        ]
      },
      "UpdateSalesOrder": {
        "type": "object",
        "properties": {
          "customer_id": {
            "type": "string",
            "description": "The Rutter ID of the [Customer](/rest/version/customers) linked to the sales order."
          },
          "currency_code": {
            "type": "string",
            "description": "The [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code of the sales order."
          },
          "line_items": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "tax_rate_id": {
                  "type": "string",
                  "description": "The Rutter ID of the [Tax Rate](/rest/version/tax-rates) linked to the sales order line item."
                },
                "description": {
                  "type": "string",
                  "description": "The description of the sales order line item."
                },
                "item": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "The Rutter generated unique ID of the sales order line item."
                    },
                    "quantity": {
                      "type": "number",
                      "description": "The quantity of the sales order line item."
                    },
                    "unit_amount": {
                      "type": "number",
                      "description": "The price per unit of the sales order line item."
                    }
                  },
                  "required": [
                    "id"
                  ],
                  "additionalProperties": false,
                  "description": "The product or service associated with the sales order line item."
                }
              },
              "required": [
                "item"
              ],
              "additionalProperties": false
            }
          }
        },
        "examples": [
          {
            "UpdateSalesOrder_Example": {
              "$ref": "#/components/examples/UpdateSalesOrder_Example"
            }
          }
        ]
      },
      "CreateUpdateSalesOrderRequest": {
        "type": "object",
        "properties": {
          "sales_order": {
            "$ref": "#/components/schemas/UpdateSalesOrder"
          }
        },
        "required": [
          "sales_order"
        ],
        "examples": [
          {
            "CreateUpdateSalesOrderRequest_Example": {
              "$ref": "#/components/examples/CreateUpdateSalesOrderRequest_Example"
            }
          }
        ]
      },
      "Subsidiary": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The Rutter generated unique ID of the subsidiary."
          },
          "platform_id": {
            "type": "string",
            "description": "The platform specific ID of the subsidiary."
          },
          "parent_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The Rutter generated unique ID of the parent subsidiary."
          },
          "country": {
            "type": "string",
            "description": "The country of the subsidiary."
          },
          "status": {
            "type": "string",
            "enum": [
              "active",
              "inactive"
            ],
            "description": "The status of the subsidiary."
          },
          "currency_code": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code of the subsidiary."
          },
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "The name of the subsidiary."
          },
          "created_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the subsidiary was created."
          },
          "updated_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the subsidiary was last updated."
          },
          "last_synced_at": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp when the subsidiary was last synced by Rutter."
          }
        },
        "required": [
          "id",
          "platform_id",
          "parent_id",
          "country",
          "status",
          "currency_code",
          "name",
          "created_at",
          "updated_at",
          "last_synced_at"
        ],
        "examples": [
          {
            "Subsidiary_Example": {
              "$ref": "#/components/examples/Subsidiary_Example"
            }
          }
        ]
      },
      "ListSubsidiaryResponseWithConnection": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "subsidiaries": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Subsidiary"
            }
          },
          "next_cursor": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "connection",
          "subsidiaries"
        ],
        "examples": [
          {
            "ListSubsidiaryResponseWithConnection_Example": {
              "$ref": "#/components/examples/ListSubsidiaryResponseWithConnection_Example"
            }
          }
        ]
      },
      "SubsidiaryResponseWithConnection": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "subsidiary": {
            "$ref": "#/components/schemas/Subsidiary"
          }
        },
        "required": [
          "connection",
          "subsidiary"
        ],
        "examples": [
          {
            "SubsidiaryResponseWithConnection_Example": {
              "$ref": "#/components/examples/SubsidiaryResponseWithConnection_Example"
            }
          }
        ]
      },
      "TaxRate_2023_02_07": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The Rutter generated unique ID of the tax rate."
          },
          "platform_id": {
            "type": "string",
            "description": "The platform specific ID of the tax rate."
          },
          "code": {
            "type": [
              "string",
              "null"
            ],
            "description": "The tax code of the tax rate."
          },
          "effective_tax_rate": {
            "type": [
              "number",
              "null"
            ],
            "description": "Where there are multiple components of a tax, each component may be calculated on the original amount and added together. Alternatively, one tax may be calculated on the sub-total of the original amount plus another tax, which is referred to as compounding. When there is compounding, the effective tax rate is the rate that, if applied to the original amount, would result in the total amount of tax with compounding."
          },
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "The name of the tax rate."
          },
          "total_tax_rate": {
            "type": [
              "number",
              "null"
            ],
            "description": "The total tax rate. This is the sum of the components of a tax rate, not including compounding."
          },
          "subsidiaries": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                }
              },
              "required": [
                "id"
              ],
              "additionalProperties": false
            },
            "description": "An array of [Subsidiaries](/rest/version/subsidiaries) linked to the tax rate. Supported for NetSuite."
          },
          "additional_fields": {
            "type": "object",
            "properties": {
              "purchase_total_tax_rate": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "The total tax rate for purchases taxes only. This is the sum of the components of a tax rate, not including compounding."
              },
              "sales_total_tax_rate": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "The total tax rate for sales taxes only. This is the sum of the components of a tax rate, not including compounding."
              }
            },
            "required": [
              "purchase_total_tax_rate",
              "sales_total_tax_rate"
            ],
            "additionalProperties": false,
            "description": "Additional fields required only for a narrow set of use cases."
          },
          "components": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "object",
              "properties": {
                "is_compound": {
                  "type": "boolean",
                  "description": "Whether this component should compound the total or not"
                },
                "is_purchases_tax": {
                  "type": "boolean",
                  "description": "Whether this component is assosciated with purchases tax"
                },
                "is_sales_tax": {
                  "type": "boolean",
                  "description": "Whether this component is assosciated with sales tax"
                },
                "name": {
                  "type": "string",
                  "description": "Name of the sub tax this component represents"
                },
                "rate": {
                  "type": "number",
                  "description": "Tax rate of the component or sub tax"
                }
              },
              "required": [
                "is_compound",
                "is_purchases_tax",
                "is_sales_tax",
                "name",
                "rate"
              ],
              "additionalProperties": false
            },
            "description": "Tax rates can break into multiple sub taxes that are then combined in various ways.  These sub taxes are called components."
          },
          "created_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the tax rate object was created."
          },
          "updated_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the tax rate object was last updated."
          },
          "last_synced_at": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp when the tax rates was last synced by Rutter."
          },
          "platform_data": {
            "type": "object",
            "additionalProperties": {},
            "description": "The raw platform data corresponding to the Rutter object."
          }
        },
        "required": [
          "id",
          "platform_id",
          "code",
          "effective_tax_rate",
          "name",
          "total_tax_rate",
          "components",
          "created_at",
          "updated_at",
          "last_synced_at"
        ],
        "examples": [
          {
            "TaxRate_2023_02_07_Example": {
              "$ref": "#/components/examples/TaxRate_2023_02_07_Example"
            }
          }
        ]
      },
      "ListTaxRate_2023_02_07ResponseWithConnection": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "tax_rates": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TaxRate_2023_02_07"
            }
          },
          "next_cursor": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "connection",
          "tax_rates"
        ],
        "examples": [
          {
            "ListTaxRate_2023_02_07ResponseWithConnection_Example": {
              "$ref": "#/components/examples/ListTaxRate_2023_02_07ResponseWithConnection_Example"
            }
          }
        ]
      },
      "TaxRate_2023_02_07ResponseWithConnection": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "tax_rate": {
            "$ref": "#/components/schemas/TaxRate_2023_02_07"
          }
        },
        "required": [
          "connection",
          "tax_rate"
        ],
        "examples": [
          {
            "TaxRate_2023_02_07ResponseWithConnection_Example": {
              "$ref": "#/components/examples/TaxRate_2023_02_07ResponseWithConnection_Example"
            }
          }
        ]
      },
      "VendorsParams": {
        "type": "object",
        "properties": {
          "access_token": {
            "type": "string",
            "format": "uuid",
            "description": "The access token of the connection."
          },
          "cursor": {
            "type": "string",
            "description": "The cursor to use for pagination. Use the value of `next_cursor` provided in a previous response."
          },
          "expand": {
            "type": "string",
            "enum": [
              "platform_data"
            ],
            "description": "Used to request inclusion of optional objects."
          },
          "force_fetch": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ],
            "description": "Force a response even if the underlying connection hasn't finished the initial sync."
          },
          "last_synced_at_min": {
            "type": "integer",
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum last_synced_at datetime to fetch entities from."
          },
          "limit": {
            "type": "integer",
            "description": "The number of entities to return. Defaults to 50. Maximum is 500."
          },
          "sort": {
            "type": "string",
            "description": "The field and direction to sort by (`ASC` or `DESC`), e.g. `last_synced_at ASC`. Currently supports the fields: `updated_at`, `last_synced_at`. If a field is provided but `ASC` or `DESC` is not, defaults to `ASC`. If this field is omitted, defaults, to `updated_at DESC`."
          },
          "updated_at_max": {
            "type": "integer",
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum updated_at datetime to fetch entities from."
          },
          "updated_at_min": {
            "type": "integer",
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum updated_at datetime to fetch entities from."
          },
          "vendor_name": {
            "type": "string",
            "description": "The exact vendor name to filter on. Supported for QuickBooks Desktop."
          }
        },
        "required": [
          "access_token"
        ]
      },
      "Vendor": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The Rutter generated unique ID of the vendor."
          },
          "platform_id": {
            "type": "string",
            "description": "The platform specific ID of the vendor."
          },
          "status": {
            "type": "string",
            "enum": [
              "active",
              "archived",
              "unknown"
            ],
            "description": "The status of the address."
          },
          "bank_account_number": {
            "type": [
              "string",
              "null"
            ],
            "description": "The bank account number of vendor. Supported for Sage Business Cloud and Xero."
          },
          "contact_name": {
            "type": [
              "string",
              "null"
            ],
            "description": "The name of the primary contact associated with the vendor."
          },
          "currency_code": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "AED",
              "AFN",
              "ALL",
              "AMD",
              "ANG",
              "AOA",
              "ARS",
              "AUD",
              "AWG",
              "AZN",
              "BAM",
              "BBD",
              "BDT",
              "BGN",
              "BHD",
              "BIF",
              "BMD",
              "BND",
              "BOB",
              "BOV",
              "BRL",
              "BSD",
              "BTN",
              "BWP",
              "BYR",
              "BZD",
              "CAD",
              "CDF",
              "CHE",
              "CHF",
              "CHW",
              "CLF",
              "CLP",
              "CNY",
              "COP",
              "COU",
              "CRC",
              "CUC",
              "CUP",
              "CVE",
              "CZK",
              "DJF",
              "DKK",
              "DOP",
              "DZD",
              "EGP",
              "ERN",
              "ETB",
              "EUR",
              "FJD",
              "FKP",
              "GBP",
              "GEL",
              "GHS",
              "GIP",
              "GMD",
              "GNF",
              "GTQ",
              "GYD",
              "HKD",
              "HNL",
              "HRK",
              "HTG",
              "HUF",
              "IDR",
              "ILS",
              "INR",
              "IQD",
              "IRR",
              "ISK",
              "JMD",
              "JOD",
              "JPY",
              "KES",
              "KGS",
              "KHR",
              "KMF",
              "KPW",
              "KRW",
              "KWD",
              "KYD",
              "KZT",
              "LAK",
              "LBP",
              "LKR",
              "LRD",
              "LSL",
              "LTL",
              "LVL",
              "LYD",
              "MAD",
              "MDL",
              "MGA",
              "MKD",
              "MMK",
              "MNT",
              "MOP",
              "MRO",
              "MUR",
              "MVR",
              "MWK",
              "MXN",
              "MXV",
              "MYR",
              "MZN",
              "NAD",
              "NGN",
              "NIO",
              "NOK",
              "NPR",
              "NZD",
              "OMR",
              "PAB",
              "PEN",
              "PGK",
              "PHP",
              "PKR",
              "PLN",
              "PYG",
              "QAR",
              "RON",
              "RSD",
              "RUB",
              "RWF",
              "SAR",
              "SBD",
              "SCR",
              "SDG",
              "SEK",
              "SGD",
              "SHP",
              "SLL",
              "SOS",
              "SRD",
              "SSP",
              "STD",
              "SVC",
              "SYP",
              "SZL",
              "THB",
              "TJS",
              "TMT",
              "TND",
              "TOP",
              "TRY",
              "TTD",
              "TWD",
              "TZS",
              "UAH",
              "UGX",
              "USD",
              "USN",
              "USS",
              "UYI",
              "UYU",
              "UYW",
              "UZS",
              "VEF",
              "VND",
              "VUV",
              "WST",
              "XAF",
              "XAG",
              "XAU",
              "XBA",
              "XBB",
              "XBC",
              "XBD",
              "XCD",
              "XDR",
              "XFU",
              "XOF",
              "XPD",
              "XPF",
              "XPT",
              "XTS",
              "XXX",
              "YER",
              "ZAR",
              "ZMW"
            ],
            "description": "The [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code of the vendor."
          },
          "email": {
            "type": [
              "string",
              "null"
            ],
            "description": "The email of the primary contact associated with the vendor."
          },
          "phone": {
            "type": [
              "string",
              "null"
            ],
            "description": "The phone number of the primary contact associated with the vendor."
          },
          "registration_number": {
            "type": [
              "string",
              "null"
            ],
            "description": "The registration number of the vendor"
          },
          "tax_number": {
            "type": [
              "string",
              "null"
            ],
            "description": "The tax number of the vendor."
          },
          "vendor_name": {
            "type": [
              "string",
              "null"
            ],
            "description": "The name of the vendor as it would appear in the platform's listings (\"display name\")."
          },
          "website": {
            "type": [
              "string",
              "null"
            ],
            "description": "The website associated with the vendor."
          },
          "subsidiaries": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "The platform specific ID of the subsidiary."
                },
                "primary": {
                  "type": "boolean",
                  "description": "Indicates whether this is the primary subsidiary of the vendor."
                }
              },
              "required": [
                "id",
                "primary"
              ],
              "additionalProperties": false
            },
            "description": "An array of [Subsidiaries](/rest/version/subsidiaries) linked to the vendor. Supported for NetSuite. A subsidiary_id query parameter can be optionally included in GET requests to filter the vendor results."
          },
          "addresses": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "enum": [
                    "billing",
                    "shipping",
                    "po_box",
                    "unknown"
                  ],
                  "description": "The type of the address."
                },
                "address1": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The first address line of the address."
                },
                "address2": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The second address line of the address."
                },
                "city": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The city of the address."
                },
                "country": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The country of the address."
                },
                "postal_code": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The postal code of the address."
                },
                "region": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The region or state of the address."
                }
              },
              "required": [
                "type",
                "address1",
                "address2",
                "city",
                "country",
                "postal_code",
                "region"
              ],
              "additionalProperties": false
            },
            "description": "An array of addresses associated with the vendor."
          },
          "created_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the vendor was created."
          },
          "updated_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the vendor was last updated."
          },
          "last_synced_at": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp when the vendor was last synced by Rutter."
          },
          "platform_data": {
            "type": "object",
            "additionalProperties": {},
            "description": "The raw platform data corresponding to the Rutter object."
          }
        },
        "required": [
          "id",
          "platform_id",
          "status",
          "bank_account_number",
          "contact_name",
          "currency_code",
          "email",
          "phone",
          "registration_number",
          "tax_number",
          "vendor_name",
          "website",
          "subsidiaries",
          "addresses",
          "created_at",
          "updated_at",
          "last_synced_at"
        ],
        "examples": [
          {
            "Vendor_Example": {
              "$ref": "#/components/examples/Vendor_Example"
            }
          }
        ]
      },
      "ListVendorResponseWithConnection": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "vendors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Vendor"
            }
          },
          "next_cursor": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "connection",
          "vendors"
        ],
        "examples": [
          {
            "ListVendorResponseWithConnection_Example": {
              "$ref": "#/components/examples/ListVendorResponseWithConnection_Example"
            }
          }
        ]
      },
      "CreateVendor": {
        "type": "object",
        "properties": {
          "contact_name": {
            "type": "string",
            "description": "The name of the primary contact associated with the vendor. This field is not supported for NetSuite."
          },
          "currency_code": {
            "type": "string",
            "enum": [
              "AED",
              "AFN",
              "ALL",
              "AMD",
              "ANG",
              "AOA",
              "ARS",
              "AUD",
              "AWG",
              "AZN",
              "BAM",
              "BBD",
              "BDT",
              "BGN",
              "BHD",
              "BIF",
              "BMD",
              "BND",
              "BOB",
              "BOV",
              "BRL",
              "BSD",
              "BTN",
              "BWP",
              "BYR",
              "BZD",
              "CAD",
              "CDF",
              "CHE",
              "CHF",
              "CHW",
              "CLF",
              "CLP",
              "CNY",
              "COP",
              "COU",
              "CRC",
              "CUC",
              "CUP",
              "CVE",
              "CZK",
              "DJF",
              "DKK",
              "DOP",
              "DZD",
              "EGP",
              "ERN",
              "ETB",
              "EUR",
              "FJD",
              "FKP",
              "GBP",
              "GEL",
              "GHS",
              "GIP",
              "GMD",
              "GNF",
              "GTQ",
              "GYD",
              "HKD",
              "HNL",
              "HRK",
              "HTG",
              "HUF",
              "IDR",
              "ILS",
              "INR",
              "IQD",
              "IRR",
              "ISK",
              "JMD",
              "JOD",
              "JPY",
              "KES",
              "KGS",
              "KHR",
              "KMF",
              "KPW",
              "KRW",
              "KWD",
              "KYD",
              "KZT",
              "LAK",
              "LBP",
              "LKR",
              "LRD",
              "LSL",
              "LTL",
              "LVL",
              "LYD",
              "MAD",
              "MDL",
              "MGA",
              "MKD",
              "MMK",
              "MNT",
              "MOP",
              "MRO",
              "MUR",
              "MVR",
              "MWK",
              "MXN",
              "MXV",
              "MYR",
              "MZN",
              "NAD",
              "NGN",
              "NIO",
              "NOK",
              "NPR",
              "NZD",
              "OMR",
              "PAB",
              "PEN",
              "PGK",
              "PHP",
              "PKR",
              "PLN",
              "PYG",
              "QAR",
              "RON",
              "RSD",
              "RUB",
              "RWF",
              "SAR",
              "SBD",
              "SCR",
              "SDG",
              "SEK",
              "SGD",
              "SHP",
              "SLL",
              "SOS",
              "SRD",
              "SSP",
              "STD",
              "SVC",
              "SYP",
              "SZL",
              "THB",
              "TJS",
              "TMT",
              "TND",
              "TOP",
              "TRY",
              "TTD",
              "TWD",
              "TZS",
              "UAH",
              "UGX",
              "USD",
              "USN",
              "USS",
              "UYI",
              "UYU",
              "UYW",
              "UZS",
              "VEF",
              "VND",
              "VUV",
              "WST",
              "XAF",
              "XAG",
              "XAU",
              "XBA",
              "XBB",
              "XBC",
              "XBD",
              "XCD",
              "XDR",
              "XFU",
              "XOF",
              "XPD",
              "XPF",
              "XPT",
              "XTS",
              "XXX",
              "YER",
              "ZAR",
              "ZMW"
            ],
            "description": "The [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code of the vendor."
          },
          "vendor_name": {
            "type": "string",
            "description": "The name of the vendor."
          },
          "email": {
            "type": "string",
            "format": "email",
            "description": "The email of the primary contact associated with the vendor."
          },
          "phone": {
            "type": "string",
            "description": "The phone number of the primary contact associated with the vendor."
          },
          "registration_number": {
            "type": "string",
            "description": "The registration number of the vendor"
          },
          "tax_number": {
            "type": "string",
            "description": "The tax number of the vendor."
          },
          "website": {
            "type": "string",
            "description": "The website associated with the vendor."
          },
          "additional_fields": {
            "type": "object",
            "properties": {
              "default_payables_account_id": {
                "type": "string",
                "format": "uuid",
                "description": "The Rutter ID of the default Accounts Payable [Account](/rest/version/accounts) linked to the vendor."
              }
            },
            "additionalProperties": false,
            "description": "Additional fields required only for a narrow set of use cases."
          },
          "subsidiaries": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "The platform specific ID of the subsidiary."
                },
                "primary": {
                  "type": "boolean",
                  "description": "Indicates whether this is the primary subsidiary of the vendor."
                }
              },
              "required": [
                "id",
                "primary"
              ],
              "additionalProperties": false
            },
            "description": "An array of [Subsidiaries](/rest/version/subsidiaries) linked to the vendor. Supported for NetSuite. If no subsidiary info is specified, the default primary subsidiary of the vendor will be the root subsidiary. To override this, specify one subsidiary ID with \"primary: true\" field. Any additional subsidiary ID's provided with \"primary: false\" field will be \"related\" subsidiaries, which means the vendor will be valid for transactions across the primary and related subsidiaries."
          },
          "addresses": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "enum": [
                    "billing",
                    "shipping",
                    "po_box",
                    "unknown"
                  ],
                  "description": "The type of the address."
                },
                "address1": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The first address line of the address."
                },
                "address2": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The second address line of the address."
                },
                "city": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The city of the address."
                },
                "country": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The country of the address."
                },
                "postal_code": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The postal code of the address."
                },
                "region": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The region or state of the address."
                }
              },
              "required": [
                "type",
                "address1",
                "address2",
                "city",
                "country",
                "postal_code",
                "region"
              ],
              "additionalProperties": false
            },
            "description": "An array of addresses associated with the vendor."
          }
        },
        "required": [
          "contact_name",
          "currency_code",
          "vendor_name"
        ],
        "examples": [
          {
            "CreateVendor_Example": {
              "$ref": "#/components/examples/CreateVendor_Example"
            }
          }
        ]
      },
      "CreateCreateVendorRequest": {
        "type": "object",
        "properties": {
          "vendor": {
            "$ref": "#/components/schemas/CreateVendor"
          }
        },
        "required": [
          "vendor"
        ],
        "examples": [
          {
            "CreateCreateVendorRequest_Example": {
              "$ref": "#/components/examples/CreateCreateVendorRequest_Example"
            }
          }
        ]
      },
      "VendorResponse": {
        "type": "object",
        "properties": {
          "vendor": {
            "$ref": "#/components/schemas/Vendor"
          }
        },
        "required": [
          "vendor"
        ],
        "examples": [
          {
            "VendorResponse_Example": {
              "$ref": "#/components/examples/VendorResponse_Example"
            }
          }
        ]
      },
      "CreateVendorResponse": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/VendorResponse"
          },
          {
            "$ref": "#/components/schemas/AsyncResponsePayload"
          }
        ],
        "examples": [
          {
            "CreateVendorResponse_Example": {
              "$ref": "#/components/examples/CreateVendorResponse_Example"
            }
          }
        ]
      },
      "VendorResponseWithConnection": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "vendor": {
            "$ref": "#/components/schemas/Vendor"
          }
        },
        "required": [
          "connection",
          "vendor"
        ],
        "examples": [
          {
            "VendorResponseWithConnection_Example": {
              "$ref": "#/components/examples/VendorResponseWithConnection_Example"
            }
          }
        ]
      },
      "UpdateVendorBody": {
        "type": "object",
        "properties": {
          "contact_name": {
            "type": "string",
            "description": "The name of the primary contact associated with the vendor."
          },
          "currency_code": {
            "type": "string",
            "enum": [
              "AED",
              "AFN",
              "ALL",
              "AMD",
              "ANG",
              "AOA",
              "ARS",
              "AUD",
              "AWG",
              "AZN",
              "BAM",
              "BBD",
              "BDT",
              "BGN",
              "BHD",
              "BIF",
              "BMD",
              "BND",
              "BOB",
              "BOV",
              "BRL",
              "BSD",
              "BTN",
              "BWP",
              "BYR",
              "BZD",
              "CAD",
              "CDF",
              "CHE",
              "CHF",
              "CHW",
              "CLF",
              "CLP",
              "CNY",
              "COP",
              "COU",
              "CRC",
              "CUC",
              "CUP",
              "CVE",
              "CZK",
              "DJF",
              "DKK",
              "DOP",
              "DZD",
              "EGP",
              "ERN",
              "ETB",
              "EUR",
              "FJD",
              "FKP",
              "GBP",
              "GEL",
              "GHS",
              "GIP",
              "GMD",
              "GNF",
              "GTQ",
              "GYD",
              "HKD",
              "HNL",
              "HRK",
              "HTG",
              "HUF",
              "IDR",
              "ILS",
              "INR",
              "IQD",
              "IRR",
              "ISK",
              "JMD",
              "JOD",
              "JPY",
              "KES",
              "KGS",
              "KHR",
              "KMF",
              "KPW",
              "KRW",
              "KWD",
              "KYD",
              "KZT",
              "LAK",
              "LBP",
              "LKR",
              "LRD",
              "LSL",
              "LTL",
              "LVL",
              "LYD",
              "MAD",
              "MDL",
              "MGA",
              "MKD",
              "MMK",
              "MNT",
              "MOP",
              "MRO",
              "MUR",
              "MVR",
              "MWK",
              "MXN",
              "MXV",
              "MYR",
              "MZN",
              "NAD",
              "NGN",
              "NIO",
              "NOK",
              "NPR",
              "NZD",
              "OMR",
              "PAB",
              "PEN",
              "PGK",
              "PHP",
              "PKR",
              "PLN",
              "PYG",
              "QAR",
              "RON",
              "RSD",
              "RUB",
              "RWF",
              "SAR",
              "SBD",
              "SCR",
              "SDG",
              "SEK",
              "SGD",
              "SHP",
              "SLL",
              "SOS",
              "SRD",
              "SSP",
              "STD",
              "SVC",
              "SYP",
              "SZL",
              "THB",
              "TJS",
              "TMT",
              "TND",
              "TOP",
              "TRY",
              "TTD",
              "TWD",
              "TZS",
              "UAH",
              "UGX",
              "USD",
              "USN",
              "USS",
              "UYI",
              "UYU",
              "UYW",
              "UZS",
              "VEF",
              "VND",
              "VUV",
              "WST",
              "XAF",
              "XAG",
              "XAU",
              "XBA",
              "XBB",
              "XBC",
              "XBD",
              "XCD",
              "XDR",
              "XFU",
              "XOF",
              "XPD",
              "XPF",
              "XPT",
              "XTS",
              "XXX",
              "YER",
              "ZAR",
              "ZMW"
            ],
            "description": "The [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code of the vendor."
          },
          "email": {
            "type": "string",
            "format": "email",
            "description": "The email of the primary contact associated with the vendor."
          },
          "phone": {
            "type": "string",
            "description": "The phone number of the primary contact associated with the vendor."
          },
          "registration_number": {
            "type": "string",
            "description": "The registration number of the vendor"
          },
          "tax_number": {
            "type": "string",
            "description": "The tax number of the vendor."
          },
          "vendor_name": {
            "type": "string",
            "description": "The name of the vendor."
          },
          "website": {
            "type": "string",
            "description": "The website associated with the vendor."
          },
          "additional_fields": {
            "type": "object",
            "properties": {
              "default_payables_account_id": {
                "type": "string",
                "description": "The Rutter ID of the default Accounts Payable [Account](/rest/version/accounts) linked to the vendor."
              }
            },
            "additionalProperties": false,
            "description": "Additional fields required only for a narrow set of use cases."
          },
          "addresses": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "enum": [
                    "billing",
                    "shipping",
                    "po_box",
                    "unknown"
                  ],
                  "description": "The type of the address."
                },
                "address1": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The first address line of the address."
                },
                "address2": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The second address line of the address."
                },
                "city": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The city of the address."
                },
                "country": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The country of the address."
                },
                "postal_code": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The postal code of the address."
                },
                "region": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The region or state of the address."
                }
              },
              "required": [
                "type",
                "address1",
                "address2",
                "city",
                "country",
                "postal_code",
                "region"
              ],
              "additionalProperties": false
            },
            "description": "An array of addresses associated with the vendor."
          }
        },
        "examples": [
          {
            "UpdateVendorBody_Example": {
              "$ref": "#/components/examples/UpdateVendorBody_Example"
            }
          }
        ]
      },
      "CreateUpdateVendorBodyRequest": {
        "type": "object",
        "properties": {
          "vendor": {
            "$ref": "#/components/schemas/UpdateVendorBody"
          }
        },
        "required": [
          "vendor"
        ],
        "examples": [
          {
            "CreateUpdateVendorBodyRequest_Example": {
              "$ref": "#/components/examples/CreateUpdateVendorBodyRequest_Example"
            }
          }
        ]
      },
      "UpdateVendorResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The Rutter generated unique ID of the vendor."
          },
          "platform_id": {
            "type": "string",
            "description": "The platform specific ID of the vendor."
          },
          "status": {
            "type": "string",
            "enum": [
              "active",
              "archived",
              "unknown"
            ],
            "description": "The status of the address."
          },
          "bank_account_number": {
            "type": [
              "string",
              "null"
            ],
            "description": "The bank account number of vendor. Supported for Sage Business Cloud and Xero."
          },
          "contact_name": {
            "type": [
              "string",
              "null"
            ],
            "description": "The name of the primary contact associated with the vendor."
          },
          "currency_code": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "AED",
              "AFN",
              "ALL",
              "AMD",
              "ANG",
              "AOA",
              "ARS",
              "AUD",
              "AWG",
              "AZN",
              "BAM",
              "BBD",
              "BDT",
              "BGN",
              "BHD",
              "BIF",
              "BMD",
              "BND",
              "BOB",
              "BOV",
              "BRL",
              "BSD",
              "BTN",
              "BWP",
              "BYR",
              "BZD",
              "CAD",
              "CDF",
              "CHE",
              "CHF",
              "CHW",
              "CLF",
              "CLP",
              "CNY",
              "COP",
              "COU",
              "CRC",
              "CUC",
              "CUP",
              "CVE",
              "CZK",
              "DJF",
              "DKK",
              "DOP",
              "DZD",
              "EGP",
              "ERN",
              "ETB",
              "EUR",
              "FJD",
              "FKP",
              "GBP",
              "GEL",
              "GHS",
              "GIP",
              "GMD",
              "GNF",
              "GTQ",
              "GYD",
              "HKD",
              "HNL",
              "HRK",
              "HTG",
              "HUF",
              "IDR",
              "ILS",
              "INR",
              "IQD",
              "IRR",
              "ISK",
              "JMD",
              "JOD",
              "JPY",
              "KES",
              "KGS",
              "KHR",
              "KMF",
              "KPW",
              "KRW",
              "KWD",
              "KYD",
              "KZT",
              "LAK",
              "LBP",
              "LKR",
              "LRD",
              "LSL",
              "LTL",
              "LVL",
              "LYD",
              "MAD",
              "MDL",
              "MGA",
              "MKD",
              "MMK",
              "MNT",
              "MOP",
              "MRO",
              "MUR",
              "MVR",
              "MWK",
              "MXN",
              "MXV",
              "MYR",
              "MZN",
              "NAD",
              "NGN",
              "NIO",
              "NOK",
              "NPR",
              "NZD",
              "OMR",
              "PAB",
              "PEN",
              "PGK",
              "PHP",
              "PKR",
              "PLN",
              "PYG",
              "QAR",
              "RON",
              "RSD",
              "RUB",
              "RWF",
              "SAR",
              "SBD",
              "SCR",
              "SDG",
              "SEK",
              "SGD",
              "SHP",
              "SLL",
              "SOS",
              "SRD",
              "SSP",
              "STD",
              "SVC",
              "SYP",
              "SZL",
              "THB",
              "TJS",
              "TMT",
              "TND",
              "TOP",
              "TRY",
              "TTD",
              "TWD",
              "TZS",
              "UAH",
              "UGX",
              "USD",
              "USN",
              "USS",
              "UYI",
              "UYU",
              "UYW",
              "UZS",
              "VEF",
              "VND",
              "VUV",
              "WST",
              "XAF",
              "XAG",
              "XAU",
              "XBA",
              "XBB",
              "XBC",
              "XBD",
              "XCD",
              "XDR",
              "XFU",
              "XOF",
              "XPD",
              "XPF",
              "XPT",
              "XTS",
              "XXX",
              "YER",
              "ZAR",
              "ZMW"
            ],
            "description": "The [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code of the vendor."
          },
          "email": {
            "type": [
              "string",
              "null"
            ],
            "description": "The email of the primary contact associated with the vendor."
          },
          "phone": {
            "type": [
              "string",
              "null"
            ],
            "description": "The phone number of the primary contact associated with the vendor."
          },
          "registration_number": {
            "type": [
              "string",
              "null"
            ],
            "description": "The registration number of the vendor"
          },
          "tax_number": {
            "type": [
              "string",
              "null"
            ],
            "description": "The tax number of the vendor."
          },
          "vendor_name": {
            "type": [
              "string",
              "null"
            ],
            "description": "The name of the vendor as it would appear in the platform's listings (\"display name\")."
          },
          "website": {
            "type": [
              "string",
              "null"
            ],
            "description": "The website associated with the vendor."
          },
          "subsidiaries": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "The platform specific ID of the subsidiary."
                },
                "primary": {
                  "type": "boolean",
                  "description": "Indicates whether this is the primary subsidiary of the vendor."
                }
              },
              "required": [
                "id",
                "primary"
              ],
              "additionalProperties": false
            },
            "description": "An array of [Subsidiaries](/rest/version/subsidiaries) linked to the vendor. Supported for NetSuite. A subsidiary_id query parameter can be optionally included in GET requests to filter the vendor results."
          },
          "addresses": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "enum": [
                    "billing",
                    "shipping",
                    "po_box",
                    "unknown"
                  ],
                  "description": "The type of the address."
                },
                "address1": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The first address line of the address."
                },
                "address2": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The second address line of the address."
                },
                "city": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The city of the address."
                },
                "country": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The country of the address."
                },
                "postal_code": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The postal code of the address."
                },
                "region": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The region or state of the address."
                }
              },
              "required": [
                "type",
                "address1",
                "address2",
                "city",
                "country",
                "postal_code",
                "region"
              ],
              "additionalProperties": false
            },
            "description": "An array of addresses associated with the vendor."
          },
          "created_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the vendor was created."
          },
          "updated_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the vendor was last updated."
          },
          "last_synced_at": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp when the vendor was last synced by Rutter."
          },
          "platform_data": {
            "type": "object",
            "additionalProperties": {},
            "description": "The raw platform data corresponding to the Rutter object."
          }
        },
        "required": [
          "id",
          "platform_id",
          "status",
          "bank_account_number",
          "contact_name",
          "currency_code",
          "email",
          "phone",
          "registration_number",
          "tax_number",
          "vendor_name",
          "website",
          "subsidiaries",
          "addresses",
          "created_at",
          "updated_at",
          "last_synced_at"
        ],
        "examples": [
          {
            "UpdateVendorResponse_Example": {
              "$ref": "#/components/examples/UpdateVendorResponse_Example"
            }
          }
        ]
      },
      "UpdateVendorResponseResponse": {
        "type": "object",
        "properties": {
          "vendor": {
            "$ref": "#/components/schemas/UpdateVendorResponse"
          }
        },
        "required": [
          "vendor"
        ],
        "examples": [
          {
            "UpdateVendorResponseResponse_Example": {
              "$ref": "#/components/examples/UpdateVendorResponseResponse_Example"
            }
          }
        ]
      },
      "CreateUpdateVendorResponseResponse": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/UpdateVendorResponseResponse"
          },
          {
            "$ref": "#/components/schemas/AsyncResponsePayload"
          }
        ],
        "examples": [
          {
            "CreateUpdateVendorResponseResponse_Example": {
              "$ref": "#/components/examples/CreateUpdateVendorResponseResponse_Example"
            }
          }
        ]
      },
      "AdsAccount": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "The Rutter generated unique ID of the ad account."
          },
          "platform_id": {
            "type": "string",
            "description": "The platform specific ID of the ad account."
          },
          "parent_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The Rutter ID of the parent ad account."
          },
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "The name of the ad account."
          },
          "created_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the ad account was created."
          },
          "updated_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the ad account was last updated."
          },
          "last_synced_at": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp when the ad account was last synced by Rutter."
          },
          "platform_data": {
            "type": "object",
            "additionalProperties": {},
            "description": "The raw platform data corresponding to the Rutter object."
          }
        },
        "required": [
          "id",
          "platform_id",
          "parent_id",
          "name",
          "created_at",
          "updated_at",
          "last_synced_at"
        ],
        "examples": [
          {
            "AdsAccount_Example": {
              "$ref": "#/components/examples/AdsAccount_Example"
            }
          }
        ]
      },
      "ListAdsAccountResponseWithConnection": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "accounts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AdsAccount"
            }
          },
          "next_cursor": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "connection",
          "accounts"
        ],
        "examples": [
          {
            "ListAdsAccountResponseWithConnection_Example": {
              "$ref": "#/components/examples/ListAdsAccountResponseWithConnection_Example"
            }
          }
        ]
      },
      "Campaign": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "The Rutter generated unique ID of the campaign."
          },
          "platform_id": {
            "type": "string",
            "description": "The platform specific ID of the campaign."
          },
          "account_id": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid",
            "description": "The Rutter ID of the [Ad Account](/rest/version/ad-accounts) linked to the campaign."
          },
          "start_date": {
            "type": "string",
            "description": "The date when campaign started."
          },
          "end_date": {
            "type": [
              "string",
              "null"
            ],
            "description": "The date when campaign ended. Null if the campaign in ongoing."
          },
          "objective": {
            "type": "string",
            "enum": [
              "impressions",
              "clicks",
              "other"
            ],
            "description": "The objective of the campaign."
          },
          "status": {
            "type": "string",
            "enum": [
              "active",
              "inactive",
              "deleted"
            ],
            "description": "The status of the campaign."
          },
          "total_clicks": {
            "type": "number",
            "description": "The number of total clicks for the campaign."
          },
          "total_impressions": {
            "type": "number",
            "description": "The number of total impressions for the campaign."
          },
          "total_spend": {
            "type": "number",
            "description": "The total budget for the campaign."
          },
          "currency_code": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code of the campaign."
          },
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "The name of the campaign."
          },
          "total_budget": {
            "type": [
              "number",
              "null"
            ],
            "description": "The total budget for the campaign."
          },
          "created_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the campaign was created."
          },
          "updated_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the campaign was last updated."
          },
          "last_synced_at": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp when the campaign was last synced by Rutter."
          },
          "platform_data": {
            "type": "object",
            "additionalProperties": {},
            "description": "The raw platform data corresponding to the Rutter object."
          }
        },
        "required": [
          "id",
          "platform_id",
          "account_id",
          "start_date",
          "end_date",
          "objective",
          "status",
          "total_clicks",
          "total_impressions",
          "total_spend",
          "currency_code",
          "name",
          "total_budget",
          "created_at",
          "updated_at",
          "last_synced_at"
        ]
      },
      "ListCampaignResponseWithConnection": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "campaigns": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Campaign"
            }
          },
          "next_cursor": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "connection",
          "campaigns"
        ]
      },
      "CampaignResponseWithConnection": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "campaign": {
            "$ref": "#/components/schemas/Campaign"
          }
        },
        "required": [
          "connection",
          "campaign"
        ]
      },
      "CampaignDaily": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "The Rutter generated unique ID of the campaign daily."
          },
          "campaign_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The Rutter ID of the campaign."
          },
          "clicks": {
            "type": "number",
            "description": "The number of clicks on this campaign on a certain date."
          },
          "date": {
            "type": "string",
            "description": "The date on which we are aggregating data points for this campaign."
          },
          "impressions": {
            "type": "number",
            "description": "The number of impressions on this campaign on a certain date."
          },
          "spend": {
            "type": "number",
            "description": "The day spend for this campaign in the campaign's currency on a certain date."
          },
          "daily_budget": {
            "type": [
              "number",
              "null"
            ],
            "description": "The daily budget for this campaign in the campaign's currency ."
          },
          "last_synced_at": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp when the campaign daily was last synced by Rutter."
          },
          "platform_data": {
            "type": "object",
            "additionalProperties": {},
            "description": "The raw platform data corresponding to the Rutter object."
          }
        },
        "required": [
          "id",
          "campaign_id",
          "clicks",
          "date",
          "impressions",
          "spend",
          "daily_budget",
          "last_synced_at"
        ]
      },
      "ListCampaignDailyResponseWithConnection": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "campaign_dailies": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CampaignDaily"
            }
          },
          "next_cursor": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "connection",
          "campaign_dailies"
        ]
      },
      "AdsInvoice": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "The Rutter generated unique ID of the ad invoice."
          },
          "platform_id": {
            "type": "string",
            "description": "The platform specific ID of the ad invoice."
          },
          "due_date": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp for the due date of the ad invoice."
          },
          "currency_code": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code of the ad invoice."
          },
          "document_number": {
            "type": [
              "string",
              "null"
            ],
            "description": "The document number of the ad invoice."
          },
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "The name of the ad invoice."
          },
          "total_amount": {
            "type": [
              "number",
              "null"
            ],
            "description": "The total amount for the ad invoice."
          },
          "total_discounts": {
            "type": [
              "number",
              "null"
            ],
            "description": "The total discounts for the ad invoice."
          },
          "total_tax": {
            "type": [
              "number",
              "null"
            ],
            "description": "The total tax for the ad invoice."
          },
          "created_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the ad invoices was created."
          },
          "updated_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the ad invoices was last updated."
          },
          "last_synced_at": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp when the ad invoices was last synced by Rutter."
          },
          "platform_data": {
            "type": "object",
            "additionalProperties": {},
            "description": "The raw platform data corresponding to the Rutter object."
          }
        },
        "required": [
          "id",
          "platform_id",
          "due_date",
          "currency_code",
          "document_number",
          "name",
          "total_amount",
          "total_discounts",
          "total_tax",
          "created_at",
          "updated_at",
          "last_synced_at"
        ],
        "examples": [
          {
            "AdsInvoice_Example": {
              "$ref": "#/components/examples/AdsInvoice_Example"
            }
          }
        ]
      },
      "ListAdsInvoiceResponseWithConnection": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "invoices": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AdsInvoice"
            }
          },
          "next_cursor": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "connection",
          "invoices"
        ],
        "examples": [
          {
            "ListAdsInvoiceResponseWithConnection_Example": {
              "$ref": "#/components/examples/ListAdsInvoiceResponseWithConnection_Example"
            }
          }
        ]
      },
      "Balance": {
        "type": "object",
        "properties": {
          "amount": {
            "type": "number",
            "description": "The current balance of the merchant."
          },
          "iso_currency_code": {
            "type": "string",
            "enum": [
              "AED",
              "AFN",
              "ALL",
              "AMD",
              "ANG",
              "AOA",
              "ARS",
              "AUD",
              "AWG",
              "AZN",
              "BAM",
              "BBD",
              "BDT",
              "BGN",
              "BHD",
              "BIF",
              "BMD",
              "BND",
              "BOB",
              "BOV",
              "BRL",
              "BSD",
              "BTN",
              "BWP",
              "BYR",
              "BZD",
              "CAD",
              "CDF",
              "CHE",
              "CHF",
              "CHW",
              "CLF",
              "CLP",
              "CNY",
              "COP",
              "COU",
              "CRC",
              "CUC",
              "CUP",
              "CVE",
              "CZK",
              "DJF",
              "DKK",
              "DOP",
              "DZD",
              "EGP",
              "ERN",
              "ETB",
              "EUR",
              "FJD",
              "FKP",
              "GBP",
              "GEL",
              "GHS",
              "GIP",
              "GMD",
              "GNF",
              "GTQ",
              "GYD",
              "HKD",
              "HNL",
              "HRK",
              "HTG",
              "HUF",
              "IDR",
              "ILS",
              "INR",
              "IQD",
              "IRR",
              "ISK",
              "JMD",
              "JOD",
              "JPY",
              "KES",
              "KGS",
              "KHR",
              "KMF",
              "KPW",
              "KRW",
              "KWD",
              "KYD",
              "KZT",
              "LAK",
              "LBP",
              "LKR",
              "LRD",
              "LSL",
              "LTL",
              "LVL",
              "LYD",
              "MAD",
              "MDL",
              "MGA",
              "MKD",
              "MMK",
              "MNT",
              "MOP",
              "MRO",
              "MUR",
              "MVR",
              "MWK",
              "MXN",
              "MXV",
              "MYR",
              "MZN",
              "NAD",
              "NGN",
              "NIO",
              "NOK",
              "NPR",
              "NZD",
              "OMR",
              "PAB",
              "PEN",
              "PGK",
              "PHP",
              "PKR",
              "PLN",
              "PYG",
              "QAR",
              "RON",
              "RSD",
              "RUB",
              "RWF",
              "SAR",
              "SBD",
              "SCR",
              "SDG",
              "SEK",
              "SGD",
              "SHP",
              "SLL",
              "SOS",
              "SRD",
              "SSP",
              "STD",
              "SVC",
              "SYP",
              "SZL",
              "THB",
              "TJS",
              "TMT",
              "TND",
              "TOP",
              "TRY",
              "TTD",
              "TWD",
              "TZS",
              "UAH",
              "UGX",
              "USD",
              "USN",
              "USS",
              "UYI",
              "UYU",
              "UYW",
              "UZS",
              "VEF",
              "VND",
              "VUV",
              "WST",
              "XAF",
              "XAG",
              "XAU",
              "XBA",
              "XBB",
              "XBC",
              "XBD",
              "XCD",
              "XDR",
              "XFU",
              "XOF",
              "XPD",
              "XPF",
              "XPT",
              "XTS",
              "XXX",
              "YER",
              "ZAR",
              "ZMW"
            ],
            "description": "The [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code of the balance."
          },
          "platform_data": {
            "type": "object",
            "additionalProperties": {}
          }
        },
        "required": [
          "amount",
          "iso_currency_code"
        ],
        "examples": [
          {
            "Balance_Example": {
              "$ref": "#/components/examples/Balance_Example"
            }
          }
        ]
      },
      "GetBalanceResponse": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "balance": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Balance"
              },
              {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/Balance"
                }
              }
            ]
          }
        },
        "required": [
          "connection",
          "balance"
        ],
        "examples": [
          {
            "GetBalanceResponse_Example": {
              "$ref": "#/components/examples/GetBalanceResponse_Example"
            }
          }
        ]
      },
      "ListConnectionsResponse": {
        "type": "object",
        "properties": {
          "connections": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "access_token": {
                  "type": "string"
                },
                "link_url": {
                  "type": "string"
                },
                "platform": {
                  "type": "string"
                },
                "created_at": {
                  "type": "string"
                },
                "updated_at": {
                  "type": "string"
                }
              },
              "required": [
                "id",
                "access_token",
                "link_url",
                "platform",
                "created_at",
                "updated_at"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "connections"
        ]
      },
      "DeleteConnectionPathParams": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The Rutter connection ID to delete."
          }
        },
        "required": [
          "id"
        ]
      },
      "DeleteConnectionResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "description": "`true` if the delete operation succeeded."
          }
        },
        "required": [
          "success"
        ],
        "examples": [
          {
            "DeleteConnectionResponse_Example": {
              "$ref": "#/components/examples/DeleteConnectionResponse_Example"
            }
          }
        ]
      },
      "GetAccessTokenConnectionResponse": {
        "type": "object",
        "properties": {
          "connection": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "store_unique_id": {
                "type": "string"
              },
              "estimated_completed_at": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "last_sync_completed_at": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "last_sync_started_at": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "oldest_order_date": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "newest_order_date": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "disabled": {
                "type": "boolean"
              },
              "link_url": {
                "type": "string"
              },
              "needs_update": {
                "type": "boolean"
              },
              "platform": {
                "$ref": "#/components/schemas/Platform"
              },
              "initial_orders_synced_count": {
                "type": "number"
              },
              "store_domain": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "store_name": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "created_at": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "store_unique_id",
              "disabled",
              "link_url",
              "needs_update",
              "platform",
              "store_domain",
              "store_name"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "connection"
        ]
      },
      "CreateConnectionBackfillBody": {
        "type": "object",
        "properties": {
          "start_date": {
            "type": "string",
            "description": "The start date of the backfill (e.g. 2023-02-07), up to 5 years ago."
          },
          "end_date": {
            "type": "string",
            "description": "The end date of the backfill (e.g. 2023-03-14). If none provided, defaults to today."
          },
          "entity": {
            "type": "string",
            "enum": [
              "account",
              "accounting_customer",
              "balance_sheet",
              "bank_deposit",
              "bank_transfer",
              "bill",
              "bill_credit_memo",
              "bill_payment",
              "cash_flow",
              "class",
              "commerce_customer",
              "company_info",
              "currencies",
              "customer_group",
              "department",
              "expense",
              "income_statement",
              "invoice",
              "invoice_credit_memo",
              "invoice_payment",
              "items",
              "journal_entry",
              "location",
              "order",
              "payment_method",
              "payment_term",
              "payout",
              "product",
              "purchase_order",
              "sales_order",
              "store",
              "subscription",
              "subsidiary",
              "tax_rates",
              "transaction",
              "vendor"
            ],
            "description": "The Rutter Entity for which you would like to create a backfill"
          },
          "include_webhooks": {
            "type": "boolean",
            "description": "You can receive webhooks for updated/created objects found during the backfill if you are subscribed to them by including `true` here. Defaults to false."
          },
          "remarks": {
            "type": "string",
            "description": "Remarks for why you are creating this backfill."
          }
        },
        "required": [
          "start_date",
          "entity"
        ]
      },
      "CreateConnectionBackfillResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "description": "`true` if the operation succeeded."
          }
        },
        "required": [
          "success"
        ],
        "examples": [
          {
            "CreateConnectionBackfillResponse_Example": {
              "$ref": "#/components/examples/CreateConnectionBackfillResponse_Example"
            }
          }
        ]
      },
      "CreateConnectionPlatforms": {
        "type": "string",
        "enum": [
          "BIG_COMMERCE",
          "AMAZON",
          "SHOPIFY",
          "PRESTASHOP",
          "SHOPER",
          "WOO_COMMERCE",
          "MAGENTO",
          "EBAY",
          "LAZADA",
          "FNAC",
          "SQUARE",
          "STRIPE",
          "QUICKBOOKS",
          "NETSUITE",
          "WALMART",
          "XERO"
        ],
        "description": "The underlying platform."
      },
      "BigCommerceCredentials": {
        "type": "object",
        "properties": {
          "oauth_client_id": {
            "type": "string",
            "description": "BigCommerce App Client ID"
          },
          "oauth_access_token": {
            "type": "string",
            "description": "BigCommerce Store Access Token"
          },
          "store_url": {
            "type": "string",
            "description": "BigCommerce merchant .mybigcommerce.com domain URL"
          },
          "oauth_client_secret": {
            "type": "string",
            "description": "BigCommerce App Client Secret"
          }
        },
        "required": [
          "oauth_access_token",
          "store_url"
        ],
        "description": "Credentials for BigCommerce"
      },
      "AmazonCredentials": {
        "type": "object",
        "properties": {
          "amazon_access_key_id": {
            "type": "string",
            "description": "AWS User Access Key ID"
          },
          "oauth_client_id": {
            "type": "string",
            "description": "SP-API App Client ID"
          },
          "amazon_secret_access_key": {
            "type": "string",
            "description": "AWS User Secret Access Key"
          },
          "amazon_seller_region": {
            "type": "string",
            "enum": [
              "na",
              "eu",
              "fe"
            ],
            "description": "Region of Amazon seller - must be one of na (North America), eu (Europe), or fe (Far East)."
          },
          "amazon_selling_partner_role": {
            "type": "string",
            "description": "AWS Role ARN used in SP-API app"
          },
          "oauth_client_secret": {
            "type": "string",
            "description": "SP-API App Client Secret"
          },
          "oauth_refresh_token": {
            "type": "string",
            "description": "SP-API Refresh Token"
          }
        },
        "required": [
          "amazon_access_key_id",
          "oauth_client_id",
          "amazon_secret_access_key",
          "amazon_seller_region",
          "amazon_selling_partner_role",
          "oauth_client_secret",
          "oauth_refresh_token"
        ],
        "description": "Credentials for Amazon"
      },
      "ShopifyPrivateCredentials": {
        "type": "object",
        "properties": {
          "basic_password": {
            "type": "string",
            "description": "Private Shopify App Password"
          },
          "basic_username": {
            "type": "string",
            "description": "Private Shopify App API Key"
          },
          "store_url": {
            "type": "string",
            "description": "Shopify merchant .myshopify.com domain URL"
          }
        },
        "required": [
          "basic_password",
          "basic_username",
          "store_url"
        ],
        "description": "Credentials for Shopify Private App"
      },
      "ShopifyPublicCredentials": {
        "type": "object",
        "properties": {
          "oauth_client_id": {
            "type": "string",
            "description": "Shopify Public App Client ID"
          },
          "oauth_access_token": {
            "type": "string",
            "description": "Shopify Merchant Access Token"
          },
          "oauth_client_secret": {
            "type": "string",
            "description": "Shopify Public App Client Secret"
          },
          "store_url": {
            "type": "string",
            "description": "Shopify merchant .myshopify.com domain URL"
          }
        },
        "required": [
          "oauth_client_id",
          "oauth_access_token",
          "oauth_client_secret",
          "store_url"
        ],
        "description": "Credentials for Shopify Public App"
      },
      "ShopifyCredentials": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/ShopifyPrivateCredentials"
          },
          {
            "$ref": "#/components/schemas/ShopifyPublicCredentials"
          }
        ]
      },
      "PrestaShopCredentials": {
        "type": "object",
        "properties": {
          "api_key": {
            "type": "string",
            "description": "PrestaShop API Key"
          },
          "store_url": {
            "type": "string",
            "description": "PrestaShop merchant domain URL"
          }
        },
        "required": [
          "api_key",
          "store_url"
        ],
        "description": "Credentials for PrestaShop"
      },
      "ShoperCredentials": {
        "type": "object",
        "properties": {
          "oauth_access_token": {
            "type": "string",
            "description": "Shoper merchant OAuth Access Token"
          },
          "oauth_refresh_token": {
            "type": "string",
            "description": "Shoper merchant OAuth Refresh Token"
          },
          "store_url": {
            "type": "string",
            "description": "Shoper merchant domain URL"
          }
        },
        "required": [
          "oauth_access_token",
          "oauth_refresh_token",
          "store_url"
        ],
        "description": "Credentials for Shoper"
      },
      "WooCommerceCredentials": {
        "type": "object",
        "properties": {
          "basic_password": {
            "type": "string",
            "description": "WooCommerce Rest API Consumer Secret"
          },
          "basic_username": {
            "type": "string",
            "description": "WooCommerce Rest API Consumer Key"
          },
          "store_url": {
            "type": "string",
            "description": "WooCommerce merchant website URL"
          }
        },
        "required": [
          "basic_password",
          "basic_username",
          "store_url"
        ],
        "description": "Credentials for WooCommerce"
      },
      "MagentoCredentials": {
        "type": "object",
        "properties": {
          "basic_password": {
            "type": "string",
            "description": "Magento Admin User Password"
          },
          "basic_username": {
            "type": "string",
            "description": "Magento Admin User Username"
          },
          "store_url": {
            "type": "string",
            "description": "Magento merchant website URL"
          }
        },
        "required": [
          "basic_password",
          "basic_username",
          "store_url"
        ],
        "description": "Credentials for Magento"
      },
      "EbayCredentials": {
        "type": "object",
        "properties": {
          "oauth_client_id": {
            "type": "string",
            "description": "Ebay Developer OAuth Client ID"
          },
          "oauth_client_secret": {
            "type": "string",
            "description": "Ebay Developer OAuth Client Secret"
          },
          "oauth_refresh_token": {
            "type": "string",
            "description": "Ebay OAuth Refresh Token"
          }
        },
        "required": [
          "oauth_client_id",
          "oauth_client_secret",
          "oauth_refresh_token"
        ],
        "description": "Credentials for eBay"
      },
      "LazadaCredentials": {
        "type": "object",
        "properties": {
          "oauth_client_id": {
            "type": "string",
            "description": "OAuth Client ID"
          },
          "country": {
            "type": "string",
            "description": "Country Code for Merchant (e.g. id, sg, th)"
          },
          "oauth_access_token": {
            "type": "string",
            "description": "OAuth Access Token"
          },
          "oauth_client_secret": {
            "type": "string",
            "description": "OAuth Client Secret"
          },
          "oauth_refresh_token": {
            "type": "string",
            "description": "OAuth Refresh Token"
          }
        },
        "required": [
          "oauth_client_id",
          "country",
          "oauth_access_token",
          "oauth_client_secret",
          "oauth_refresh_token"
        ],
        "description": "Credentials for Lazada"
      },
      "FnacCredentials": {
        "type": "object",
        "properties": {
          "partner_id": {
            "type": "string",
            "description": "Partner ID"
          },
          "shop_id": {
            "type": "string",
            "description": "Shop ID"
          },
          "key": {
            "type": "string",
            "description": "Key"
          }
        },
        "required": [
          "partner_id",
          "shop_id",
          "key"
        ],
        "description": "Credentials for Fnac"
      },
      "SquareCredentials": {
        "type": "object",
        "properties": {
          "oauth_client_id": {
            "type": "string",
            "description": "Square Developer OAuth Client ID"
          },
          "oauth_client_secret": {
            "type": "string",
            "description": "Square Developer OAuth Client Secret"
          },
          "oauth_refresh_token": {
            "type": "string",
            "description": "Square OAuth Refresh Token"
          }
        },
        "required": [
          "oauth_client_id",
          "oauth_client_secret",
          "oauth_refresh_token"
        ],
        "description": "Credentials for Square"
      },
      "StripeCredentials": {
        "type": "object",
        "properties": {
          "account_id": {
            "type": "string",
            "description": "Stripe Account ID"
          },
          "oauth_access_token": {
            "type": "string",
            "description": "Stripe OAuth Access Token"
          }
        },
        "required": [
          "account_id",
          "oauth_access_token"
        ],
        "description": "Credentials for Stripe"
      },
      "QuickbooksCredentials": {
        "type": "object",
        "properties": {
          "oauth_client_id": {
            "type": "string",
            "description": "OAuth Client ID"
          },
          "realm_id": {
            "type": "string",
            "description": "Realm ID"
          },
          "oauth_client_secret": {
            "type": "string",
            "description": "OAuth Client Secret"
          },
          "oauth_refresh_token": {
            "type": "string",
            "description": "OAuth Refresh Token"
          },
          "environment": {
            "type": "string",
            "description": "Environment (e.g. sandbox)"
          }
        },
        "required": [
          "oauth_client_id",
          "realm_id",
          "oauth_client_secret",
          "oauth_refresh_token"
        ],
        "description": "Credentials for Quickbooks"
      },
      "NetsuiteCredentials": {
        "type": "object",
        "properties": {
          "token_id": {
            "type": "string",
            "description": "Token ID"
          },
          "consumer_key": {
            "type": "string",
            "description": "Consumer Key"
          },
          "consumer_secret": {
            "type": "string",
            "description": "Consumer Secret"
          },
          "store_name": {
            "type": "string",
            "description": "Store Name (for sandbox you should put it in the form '1000000_SB1')"
          },
          "token_secret": {
            "type": "string",
            "description": "Token Secret"
          }
        },
        "required": [
          "token_id",
          "consumer_key",
          "consumer_secret",
          "store_name",
          "token_secret"
        ],
        "description": "Credentials for Netsuite"
      },
      "WalmartCredentials": {
        "type": "object",
        "properties": {
          "oauth_client_id": {
            "type": "string",
            "description": "Walmart Developer OAuth Client ID"
          },
          "oauth_client_secret": {
            "type": "string",
            "description": "Walmart Developer OAuth Client Secret"
          }
        },
        "required": [
          "oauth_client_id",
          "oauth_client_secret"
        ],
        "description": "Credentials for Walmart"
      },
      "XeroCredentials": {
        "type": "object",
        "properties": {
          "oauth_client_id": {
            "type": "string",
            "description": "OAuth Client ID"
          },
          "tenant_id": {
            "type": "string",
            "description": "The Xero Tenant ID"
          },
          "user_id": {
            "type": "string",
            "description": "The Xero User ID"
          },
          "oauth_client_secret": {
            "type": "string",
            "description": "OAuth Client Secret"
          },
          "oauth_refresh_token": {
            "type": "string",
            "description": "OAuth Refresh Token"
          }
        },
        "required": [
          "oauth_client_id",
          "tenant_id",
          "user_id",
          "oauth_client_secret",
          "oauth_refresh_token"
        ],
        "description": "Credentials for Xero"
      },
      "CreateConnectionBody": {
        "allOf": [
          {
            "type": "object",
            "properties": {
              "platform": {
                "$ref": "#/components/schemas/CreateConnectionPlatforms"
              },
              "scope": {
                "type": "string"
              }
            },
            "required": [
              "platform"
            ],
            "additionalProperties": false
          },
          {
            "anyOf": [
              {
                "$ref": "#/components/schemas/BigCommerceCredentials"
              },
              {
                "$ref": "#/components/schemas/AmazonCredentials"
              },
              {
                "$ref": "#/components/schemas/ShopifyCredentials"
              },
              {
                "$ref": "#/components/schemas/PrestaShopCredentials"
              },
              {
                "$ref": "#/components/schemas/ShoperCredentials"
              },
              {
                "$ref": "#/components/schemas/WooCommerceCredentials"
              },
              {
                "$ref": "#/components/schemas/MagentoCredentials"
              },
              {
                "$ref": "#/components/schemas/EbayCredentials"
              },
              {
                "$ref": "#/components/schemas/LazadaCredentials"
              },
              {
                "$ref": "#/components/schemas/FnacCredentials"
              },
              {
                "$ref": "#/components/schemas/SquareCredentials"
              },
              {
                "$ref": "#/components/schemas/StripeCredentials"
              },
              {
                "$ref": "#/components/schemas/QuickbooksCredentials"
              },
              {
                "$ref": "#/components/schemas/NetsuiteCredentials"
              },
              {
                "$ref": "#/components/schemas/WalmartCredentials"
              },
              {
                "$ref": "#/components/schemas/XeroCredentials"
              }
            ]
          }
        ],
        "examples": [
          {
            "CreateConnectionBody_Example": {
              "$ref": "#/components/examples/CreateConnectionBody_Example"
            }
          }
        ]
      },
      "CreateConnectionResponse": {
        "type": "object",
        "properties": {
          "connection": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "access_token": {
                "type": "string"
              },
              "link_url": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "access_token",
              "link_url"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "connection"
        ],
        "examples": [
          {
            "CreateConnectionResponse_Example": {
              "$ref": "#/components/examples/CreateConnectionResponse_Example"
            }
          }
        ]
      },
      "CreateConnectionIncrementalSyncResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "description": "`true` if the operation succeeded."
          }
        },
        "required": [
          "success"
        ],
        "examples": [
          {
            "CreateConnectionIncrementalSyncResponse_Example": {
              "$ref": "#/components/examples/CreateConnectionIncrementalSyncResponse_Example"
            }
          }
        ]
      },
      "GetConnectionStatusResponse": {
        "type": "object",
        "properties": {
          "connection": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "orgId": {
                "type": "string"
              },
              "platform": {
                "type": "string",
                "enum": [
                  "AMAZON",
                  "EBAY",
                  "ETSY",
                  "FNAC",
                  "WALMART",
                  "SHOPEE",
                  "LAZADA",
                  "MERCADOLIBRE",
                  "ALIBABA",
                  "SHOPLINE",
                  "PRESTASHOP",
                  "SHOPIFY",
                  "MAGENTO",
                  "WOO_COMMERCE",
                  "SQUARESPACE",
                  "WIX",
                  "SHOPER",
                  "SHOPLAZZA",
                  "BIG_COMMERCE",
                  "SHOPWARE",
                  "COMMERCELAYER",
                  "WEBFLOW",
                  "GUMROAD",
                  "ECWID",
                  "PAYPAL",
                  "SQUARE",
                  "STRIPE",
                  "CLOVER",
                  "MOLLIE",
                  "PAYNL",
                  "AUTHORIZENET",
                  "RECHARGE",
                  "CHARGIFY",
                  "CHARGEBEE",
                  "RECURLY",
                  "KASHFLOW",
                  "SAGE_INTACCT",
                  "DYNAMICS365",
                  "ZOHOBOOKS",
                  "EXACTONLINE",
                  "FREEAGENT",
                  "QUICKBOOKS",
                  "QUICKBOOKS_DESKTOP",
                  "FRESHBOOKS",
                  "XERO",
                  "SAGE_BUSINESS_CLOUD",
                  "SAGE",
                  "SAGE_50",
                  "NETSUITE",
                  "WAVE",
                  "MONEYBIRD",
                  "SAGE200CLOUD",
                  "PLAID",
                  "ODOO",
                  "TALLY",
                  "GOOGLE",
                  "FACEBOOK",
                  "TIKTOK"
                ]
              }
            },
            "required": [
              "id",
              "orgId",
              "platform"
            ],
            "additionalProperties": false
          },
          "status": {
            "type": "object",
            "properties": {
              "last_sync_completed_at": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "is_ready": {
                "type": "boolean"
              },
              "link_url": {
                "type": "string"
              },
              "platform": {
                "type": "string"
              },
              "needs_update_status": {
                "type": "object",
                "properties": {
                  "needs_update": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "needs_update"
                ],
                "additionalProperties": false
              },
              "disabled_status": {
                "type": "object",
                "properties": {
                  "is_disabled": {
                    "type": "boolean"
                  },
                  "disabled_reason": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "SHOP_API_KEY_EXPIRED",
                      "SHOP_NOT_FOUND",
                      "SHOP_ID_IS_INVALID",
                      "SHOP_IS_DISABLED_OR_EXPIRED",
                      "SHOP_IS_LOCKED",
                      "SHOP_PAYMENT_REQUIRED",
                      "TUNNEL_ERROR",
                      "WEB_SERVICE_IS_DISABLED",
                      "SHOP_IS_UNAVAILABLE",
                      "CERT_EXPIRED",
                      "FAILED TO AUTHENTICATE",
                      "NEEDS_REAUTH",
                      "REQUEST_TIMEOUT",
                      "MANUALLY_DISABLED",
                      "UNKNOWN"
                    ]
                  }
                },
                "required": [
                  "is_disabled",
                  "disabled_reason"
                ],
                "additionalProperties": false
              },
              "historical_sync_status": {
                "type": "object",
                "properties": {
                  "historical_sync_completed": {
                    "type": "boolean"
                  },
                  "total": {
                    "type": "object",
                    "additionalProperties": {
                      "type": "object",
                      "properties": {
                        "oldest_entity_date": {
                          "type": "string",
                          "nullable": true
                        },
                        "newest_entity_date": {
                          "type": "string",
                          "nullable": true
                        },
                        "synced_count": {
                          "type": "number",
                          "nullable": true
                        },
                        "ready": {
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "oldest_entity_date",
                        "newest_entity_date",
                        "synced_count",
                        "ready"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "num_batches_completed": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "synced_balance_sheets_count": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "synced_cash_flows_count": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "synced_income_statements_count": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "synced_orders_count": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "synced_transactions_count": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "batches": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "batch_num": {
                          "type": "number"
                        },
                        "progress_info": {
                          "type": "object",
                          "additionalProperties": {
                            "type": "object",
                            "properties": {
                              "status": {
                                "type": "string",
                                "enum": [
                                  "IN_PROGRESS",
                                  "COMPLETED",
                                  "NOT_STARTED",
                                  "FAILED"
                                ]
                              },
                              "oldest_batch_entity_date": {
                                "type": "string",
                                "nullable": true
                              },
                              "newest_batch_entity_date": {
                                "type": "string",
                                "nullable": true
                              }
                            },
                            "required": [
                              "status",
                              "oldest_batch_entity_date",
                              "newest_batch_entity_date"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "config": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "timeFrameInMonths": {
                              "type": "number"
                            },
                            "entities": {
                              "type": "object",
                              "properties": {
                                "accounts": {
                                  "type": "string",
                                  "enum": [
                                    "REQUIRED",
                                    "PREFERRED_BUT_OPTIONAL",
                                    "AVOID"
                                  ]
                                },
                                "balanceSheets": {
                                  "type": "string",
                                  "enum": [
                                    "REQUIRED",
                                    "PREFERRED_BUT_OPTIONAL",
                                    "AVOID"
                                  ]
                                },
                                "companyInfo": {
                                  "type": "string",
                                  "enum": [
                                    "REQUIRED",
                                    "PREFERRED_BUT_OPTIONAL",
                                    "AVOID"
                                  ]
                                },
                                "customers": {
                                  "type": "string",
                                  "enum": [
                                    "REQUIRED",
                                    "PREFERRED_BUT_OPTIONAL",
                                    "AVOID"
                                  ]
                                },
                                "incomeStatements": {
                                  "type": "string",
                                  "enum": [
                                    "REQUIRED",
                                    "PREFERRED_BUT_OPTIONAL",
                                    "AVOID"
                                  ]
                                },
                                "invoices": {
                                  "type": "string",
                                  "enum": [
                                    "REQUIRED",
                                    "PREFERRED_BUT_OPTIONAL",
                                    "AVOID"
                                  ]
                                },
                                "items": {
                                  "type": "string",
                                  "enum": [
                                    "REQUIRED",
                                    "PREFERRED_BUT_OPTIONAL",
                                    "AVOID"
                                  ]
                                },
                                "payouts": {
                                  "type": "string",
                                  "enum": [
                                    "REQUIRED",
                                    "PREFERRED_BUT_OPTIONAL",
                                    "AVOID"
                                  ]
                                },
                                "purchaseOrders": {
                                  "type": "string",
                                  "enum": [
                                    "REQUIRED",
                                    "PREFERRED_BUT_OPTIONAL",
                                    "AVOID"
                                  ]
                                },
                                "store": {
                                  "type": "string",
                                  "enum": [
                                    "REQUIRED",
                                    "PREFERRED_BUT_OPTIONAL",
                                    "AVOID"
                                  ]
                                },
                                "transactions": {
                                  "type": "string",
                                  "enum": [
                                    "REQUIRED",
                                    "PREFERRED_BUT_OPTIONAL",
                                    "AVOID"
                                  ]
                                },
                                "vendors": {
                                  "type": "string",
                                  "enum": [
                                    "REQUIRED",
                                    "PREFERRED_BUT_OPTIONAL",
                                    "AVOID"
                                  ]
                                },
                                "products": {
                                  "anyOf": [
                                    {
                                      "type": "object",
                                      "properties": {
                                        "variants": {
                                          "type": "object",
                                          "properties": {
                                            "inventory": {
                                              "type": "string",
                                              "enum": [
                                                "REQUIRED",
                                                "PREFERRED_BUT_OPTIONAL",
                                                "AVOID"
                                              ]
                                            }
                                          },
                                          "additionalProperties": false
                                        }
                                      },
                                      "required": [
                                        "variants"
                                      ],
                                      "additionalProperties": false
                                    },
                                    {
                                      "type": "string",
                                      "enum": [
                                        "REQUIRED",
                                        "PREFERRED_BUT_OPTIONAL",
                                        "AVOID"
                                      ]
                                    }
                                  ]
                                },
                                "orders": {
                                  "anyOf": [
                                    {
                                      "type": "object",
                                      "properties": {
                                        "platform_id": {
                                          "type": "string",
                                          "enum": [
                                            "REQUIRED",
                                            "PREFERRED_BUT_OPTIONAL",
                                            "AVOID"
                                          ]
                                        },
                                        "billing_address": {
                                          "type": "string",
                                          "enum": [
                                            "REQUIRED",
                                            "PREFERRED_BUT_OPTIONAL",
                                            "AVOID"
                                          ]
                                        },
                                        "customer": {
                                          "type": "string",
                                          "enum": [
                                            "REQUIRED",
                                            "PREFERRED_BUT_OPTIONAL",
                                            "AVOID"
                                          ]
                                        },
                                        "fulfillment_status": {
                                          "type": "string",
                                          "enum": [
                                            "REQUIRED",
                                            "PREFERRED_BUT_OPTIONAL",
                                            "AVOID"
                                          ]
                                        },
                                        "fulfillments": {
                                          "type": "string",
                                          "enum": [
                                            "REQUIRED",
                                            "PREFERRED_BUT_OPTIONAL",
                                            "AVOID"
                                          ]
                                        },
                                        "iso_currency_code": {
                                          "type": "string",
                                          "enum": [
                                            "REQUIRED",
                                            "PREFERRED_BUT_OPTIONAL",
                                            "AVOID"
                                          ]
                                        },
                                        "line_items": {
                                          "type": "string",
                                          "enum": [
                                            "REQUIRED",
                                            "PREFERRED_BUT_OPTIONAL",
                                            "AVOID"
                                          ]
                                        },
                                        "order_number": {
                                          "type": "string",
                                          "enum": [
                                            "REQUIRED",
                                            "PREFERRED_BUT_OPTIONAL",
                                            "AVOID"
                                          ]
                                        },
                                        "payment_status": {
                                          "type": "string",
                                          "enum": [
                                            "REQUIRED",
                                            "PREFERRED_BUT_OPTIONAL",
                                            "AVOID"
                                          ]
                                        },
                                        "refunds": {
                                          "type": "string",
                                          "enum": [
                                            "REQUIRED",
                                            "PREFERRED_BUT_OPTIONAL",
                                            "AVOID"
                                          ]
                                        },
                                        "shipping_address": {
                                          "type": "string",
                                          "enum": [
                                            "REQUIRED",
                                            "PREFERRED_BUT_OPTIONAL",
                                            "AVOID"
                                          ]
                                        },
                                        "status": {
                                          "type": "string",
                                          "enum": [
                                            "REQUIRED",
                                            "PREFERRED_BUT_OPTIONAL",
                                            "AVOID"
                                          ]
                                        },
                                        "total_discount": {
                                          "type": "string",
                                          "enum": [
                                            "REQUIRED",
                                            "PREFERRED_BUT_OPTIONAL",
                                            "AVOID"
                                          ]
                                        },
                                        "total_price": {
                                          "type": "string",
                                          "enum": [
                                            "REQUIRED",
                                            "PREFERRED_BUT_OPTIONAL",
                                            "AVOID"
                                          ]
                                        },
                                        "total_shipping": {
                                          "type": "string",
                                          "enum": [
                                            "REQUIRED",
                                            "PREFERRED_BUT_OPTIONAL",
                                            "AVOID"
                                          ]
                                        },
                                        "total_tax": {
                                          "type": "string",
                                          "enum": [
                                            "REQUIRED",
                                            "PREFERRED_BUT_OPTIONAL",
                                            "AVOID"
                                          ]
                                        },
                                        "transactions": {
                                          "type": "string",
                                          "enum": [
                                            "REQUIRED",
                                            "PREFERRED_BUT_OPTIONAL",
                                            "AVOID"
                                          ]
                                        },
                                        "created_at": {
                                          "type": "string",
                                          "enum": [
                                            "REQUIRED",
                                            "PREFERRED_BUT_OPTIONAL",
                                            "AVOID"
                                          ]
                                        },
                                        "updated_at": {
                                          "type": "string",
                                          "enum": [
                                            "REQUIRED",
                                            "PREFERRED_BUT_OPTIONAL",
                                            "AVOID"
                                          ]
                                        }
                                      },
                                      "additionalProperties": false
                                    },
                                    {
                                      "type": "string",
                                      "enum": [
                                        "REQUIRED",
                                        "PREFERRED_BUT_OPTIONAL",
                                        "AVOID"
                                      ]
                                    }
                                  ]
                                }
                              },
                              "additionalProperties": false
                            }
                          },
                          "required": [
                            "timeFrameInMonths",
                            "entities"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "required": [
                        "batch_num",
                        "progress_info",
                        "config"
                      ],
                      "additionalProperties": false
                    }
                  }
                },
                "required": [
                  "historical_sync_completed",
                  "total",
                  "num_batches_completed",
                  "synced_balance_sheets_count",
                  "synced_cash_flows_count",
                  "synced_income_statements_count",
                  "synced_orders_count",
                  "synced_transactions_count",
                  "batches"
                ],
                "additionalProperties": false
              },
              "created_at": {
                "type": "string"
              }
            },
            "required": [
              "last_sync_completed_at",
              "is_ready",
              "link_url",
              "platform",
              "needs_update_status",
              "disabled_status",
              "historical_sync_status",
              "created_at"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "connection",
          "status"
        ]
      },
      "ListCustomerGroupsQuery": {
        "type": "object",
        "properties": {
          "access_token": {
            "type": "string",
            "format": "uuid",
            "description": "The access token of the connection."
          },
          "cursor": {
            "type": "string",
            "description": "The cursor to use for pagination. Use the value of `next_cursor` provided in a previous response."
          },
          "force_fetch": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ],
            "description": "Force a response even if the underlying connection hasn't finished the initial sync."
          },
          "limit": {
            "type": "integer",
            "description": "The number of entities to return. Defaults to 50. Maximum is 500."
          },
          "updated_at_max": {
            "type": "integer",
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum updated_at datetime to fetch entities from."
          },
          "updated_at_min": {
            "type": "integer",
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum updated_at datetime to fetch entities from."
          }
        },
        "required": [
          "access_token"
        ]
      },
      "CustomerGroup": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The Rutter generated unique ID of the customer group."
          },
          "platform_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The platform specific ID of the customer group."
          },
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "The name of the customer group."
          },
          "created_at": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the customer group was created."
          },
          "updated_at": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the customer group was last updated."
          }
        },
        "required": [
          "id",
          "name",
          "created_at",
          "updated_at"
        ],
        "examples": [
          {
            "CustomerGroup_Example": {
              "$ref": "#/components/examples/CustomerGroup_Example"
            }
          }
        ]
      },
      "CustomerGroups": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/CustomerGroup"
        }
      },
      "ListCustomerGroupsResponseWithConnection": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "customer_groups": {
            "$ref": "#/components/schemas/CustomerGroups"
          },
          "next_cursor": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "connection",
          "customer_groups",
          "next_cursor"
        ],
        "examples": [
          {
            "ListCustomerGroupsResponseWithConnection_Example": {
              "$ref": "#/components/examples/ListCustomerGroupsResponseWithConnection_Example"
            }
          }
        ]
      },
      "GetCustomerGroupResponseWithConnection": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "customer_group": {
            "$ref": "#/components/schemas/CustomerGroup",
            "type": [
              "null"
            ]
          }
        },
        "required": [
          "connection",
          "customer_group"
        ],
        "examples": [
          {
            "GetCustomerGroupResponseWithConnection_Example": {
              "$ref": "#/components/examples/GetCustomerGroupResponseWithConnection_Example"
            }
          }
        ]
      },
      "ListCustomersQuery": {
        "type": "object",
        "properties": {
          "access_token": {
            "type": "string",
            "format": "uuid",
            "description": "The access token of the connection."
          },
          "cursor": {
            "type": "string",
            "description": "The cursor to use for pagination. Use the value of `next_cursor` provided in a previous response."
          },
          "email": {
            "type": "string",
            "description": "An email to filter on."
          },
          "force_fetch": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ],
            "description": "Force a response even if the underlying connection hasn't finished the initial sync."
          },
          "limit": {
            "type": "integer",
            "description": "The number of entities to return. Defaults to 50. Maximum is 500."
          },
          "phone": {
            "type": "string",
            "description": "A phone number formatted using only numerics to filter on."
          },
          "updated_at_max": {
            "type": "integer",
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum updated_at datetime to fetch entities from."
          },
          "updated_at_min": {
            "type": "integer",
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum updated_at datetime to fetch entities from."
          }
        },
        "required": [
          "access_token"
        ]
      },
      "Customer": {
        "type": "object",
        "properties": {
          "id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The Rutter generated unique ID of the customer."
          },
          "platform_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The platform specific ID of the customer."
          },
          "email": {
            "type": [
              "string",
              "null"
            ],
            "description": "The email of the customer."
          },
          "first_name": {
            "type": [
              "string",
              "null"
            ],
            "description": "The first name of the customer."
          },
          "last_name": {
            "type": [
              "string",
              "null"
            ],
            "description": "The last name of the customer."
          },
          "phone": {
            "type": [
              "string",
              "null"
            ],
            "description": "The phone number of the customer."
          },
          "orders": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "The Rutter generated unique ID of the order."
                }
              },
              "required": [
                "id"
              ],
              "additionalProperties": false
            },
            "description": "An array of Rutter IDs of [Orders](/rest/version/orders) linked to the customer."
          },
          "created_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the customer was created."
          },
          "updated_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the customer was last updated."
          },
          "platform_data": {
            "type": "object",
            "additionalProperties": {},
            "description": "The raw platform data corresponding to the Rutter object."
          }
        },
        "required": [
          "id",
          "email",
          "first_name",
          "last_name",
          "phone",
          "orders",
          "created_at",
          "updated_at"
        ],
        "examples": [
          {
            "Customer_Example": {
              "$ref": "#/components/examples/Customer_Example"
            }
          }
        ]
      },
      "Customers": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/Customer"
        }
      },
      "ListCustomersResponse": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "customers": {
            "$ref": "#/components/schemas/Customers"
          },
          "next_cursor": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "connection",
          "customers",
          "next_cursor"
        ],
        "examples": [
          {
            "ListCustomersResponse_Example": {
              "$ref": "#/components/examples/ListCustomersResponse_Example"
            }
          }
        ]
      },
      "GetCustomerResponse": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "customer": {
            "$ref": "#/components/schemas/Customer",
            "type": [
              "null"
            ]
          }
        },
        "required": [
          "connection",
          "customer"
        ],
        "examples": [
          {
            "GetCustomerResponse_Example": {
              "$ref": "#/components/examples/GetCustomerResponse_Example"
            }
          }
        ]
      },
      "ListEventsParams": {
        "type": "object",
        "properties": {
          "access_token": {
            "type": "string",
            "format": "uuid",
            "description": "The access token of the connection."
          },
          "type": {
            "type": "string",
            "enum": [
              "object_deleted"
            ],
            "description": "The type of event to list."
          },
          "cursor": {
            "type": "string",
            "description": "The cursor to use for pagination. Use the value of `next_cursor` provided in a previous response."
          },
          "expand": {
            "type": "string",
            "enum": [
              "platform_data"
            ],
            "description": "Optionally, include raw external platform data when fetching data."
          },
          "last_synced_at_min": {
            "type": "integer",
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum last_synced_at datetime to fetch entities from."
          },
          "limit": {
            "type": "integer",
            "description": "The number of entities to return. Defaults to 500."
          },
          "resources": {
            "type": "string",
            "description": "Comma separated list of resources to query for. If omitted, all resources will be returned. A resource can be one of the following: `ACCOUNT`, `BANK_DEPOSIT`, `BANK_TRANSFER`, `CLASS`, `COMPANY_INFO`, `CURRENCIES`, `DEPARTMENT`, `ITEMS`, `JOURNAL_ENTRY`, `LOCATION`, `PAYMENT_TERM`, `SUBSIDIARY`, `TAX_RATES`, `ACCOUNTING_CUSTOMER`, `INVOICE`, `INVOICE_CREDIT_MEMO`, `INVOICE_PAYMENT`, `PAYMENT_METHOD`, `SALES_ORDER`, `BILL`, `BILL_CREDIT_MEMO`, `BILL_PAYMENT`, `PURCHASE_ORDER`, `VENDOR`, `EXPENSE`, `BANK_FEED_ACCOUNT`, `BANK_FEED_TRANSACTION`, `BALANCE_SHEET`, `CASH_FLOW`, `INCOME_STATEMENT`"
          }
        },
        "required": [
          "access_token",
          "type"
        ]
      },
      "Event": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "ID of the event."
          },
          "data": {
            "description": "The data of the event."
          },
          "resource": {
            "type": "string",
            "description": "The rutter object type."
          },
          "type": {
            "type": "string",
            "enum": [
              "object_deleted"
            ],
            "description": "The type of the event."
          },
          "last_synced_at": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp for when this event occurred."
          }
        },
        "required": [
          "id",
          "resource",
          "type",
          "last_synced_at"
        ],
        "examples": [
          {
            "Event_Example": {
              "$ref": "#/components/examples/Event_Example"
            }
          }
        ]
      },
      "ListEventResponse": {
        "type": "object",
        "properties": {
          "events": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Event"
            }
          },
          "next_cursor": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "events"
        ],
        "examples": [
          {
            "ListEventResponse_Example": {
              "$ref": "#/components/examples/ListEventResponse_Example"
            }
          }
        ]
      },
      "ExchangeTokenBody": {
        "type": "object",
        "properties": {
          "client_id": {
            "type": "string",
            "description": "Your Rutter API `client_id`."
          },
          "public_token": {
            "type": "string",
            "description": "The `public_token` obtained from the Rutter Link `onSuccess` callback."
          },
          "secret": {
            "type": "string",
            "description": "Your Rutter API `secret`."
          }
        },
        "required": [
          "client_id",
          "public_token",
          "secret"
        ]
      },
      "ExchangeTokenResponse": {
        "type": "object",
        "properties": {
          "connection_id": {
            "type": "string",
            "description": "The Rutter generated unique ID of the connection."
          },
          "access_token": {
            "type": "string",
            "description": "The access token associated with the Connection."
          },
          "is_ready": {
            "type": "boolean",
            "description": "A value determining whether all data is ready for a connection. See Connection Lifecycle for more details."
          },
          "platform": {
            "type": "string",
            "enum": [
              "AMAZON",
              "EBAY",
              "ETSY",
              "FNAC",
              "WALMART",
              "SHOPEE",
              "LAZADA",
              "MERCADOLIBRE",
              "ALIBABA",
              "SHOPLINE",
              "PRESTASHOP",
              "SHOPIFY",
              "MAGENTO",
              "WOO_COMMERCE",
              "SQUARESPACE",
              "WIX",
              "SHOPER",
              "SHOPLAZZA",
              "BIG_COMMERCE",
              "SHOPWARE",
              "COMMERCELAYER",
              "WEBFLOW",
              "GUMROAD",
              "ECWID",
              "PAYPAL",
              "SQUARE",
              "STRIPE",
              "CLOVER",
              "MOLLIE",
              "PAYNL",
              "AUTHORIZENET",
              "RECHARGE",
              "CHARGIFY",
              "CHARGEBEE",
              "RECURLY",
              "KASHFLOW",
              "SAGE_INTACCT",
              "DYNAMICS365",
              "ZOHOBOOKS",
              "EXACTONLINE",
              "FREEAGENT",
              "QUICKBOOKS",
              "QUICKBOOKS_DESKTOP",
              "FRESHBOOKS",
              "XERO",
              "SAGE_BUSINESS_CLOUD",
              "SAGE",
              "SAGE_50",
              "NETSUITE",
              "WAVE",
              "MONEYBIRD",
              "SAGE200CLOUD",
              "PLAID",
              "ODOO",
              "TALLY",
              "GOOGLE",
              "FACEBOOK",
              "TIKTOK"
            ],
            "description": "See our supporting Commerce Platforms or Accounting Platforms pages for the platform enumeration"
          },
          "store_unique_name": {
            "type": "string",
            "description": "Unique store identifier."
          }
        },
        "required": [
          "connection_id",
          "access_token",
          "is_ready",
          "platform"
        ],
        "examples": [
          {
            "ExchangeTokenResponse_Example": {
              "$ref": "#/components/examples/ExchangeTokenResponse_Example"
            }
          }
        ]
      },
      "GetAsyncJobPathParams": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The ID of the job."
          }
        },
        "required": [
          "id"
        ]
      },
      "AsynchronousJob": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "status": {
            "type": "string",
            "enum": [
              "prequeued",
              "pending",
              "success",
              "failure"
            ]
          },
          "response": {
            "type": "object",
            "properties": {
              "body": {
                "description": "Response body that would have been returned if the job were a synchronous request"
              },
              "http_status": {
                "type": "number",
                "description": "HTTP status code that would have been returned if the job were a synchronous request"
              }
            },
            "required": [
              "http_status"
            ],
            "additionalProperties": false,
            "description": "The response to a request executed as a job"
          },
          "request": {
            "type": "object",
            "properties": {
              "body": {
                "description": "The request body"
              },
              "method": {
                "type": "string",
                "description": "The request method e.g. POST"
              },
              "url": {
                "type": "string",
                "description": "The full URL of the request"
              },
              "idempotency_key": {
                "type": "string",
                "description": "The provided Idempotency-Key header in the original request"
              }
            },
            "required": [
              "method",
              "url"
            ],
            "additionalProperties": false,
            "description": "The request that kicked off the job"
          }
        },
        "required": [
          "id",
          "status",
          "request"
        ]
      },
      "ListOrdersQuery": {
        "type": "object",
        "properties": {
          "access_token": {
            "type": "string",
            "format": "uuid",
            "description": "The access token of the connection."
          },
          "created_at_max": {
            "type": "integer",
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum created_at datetime to fetch entities from."
          },
          "created_at_min": {
            "type": "integer",
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum created_at datetime to fetch entities from."
          },
          "cursor": {
            "type": "string",
            "description": "The cursor to use for pagination. Use the value of `next_cursor` provided in a previous response."
          },
          "expand": {
            "type": "string",
            "enum": [
              "transactions"
            ],
            "description": "Optionally, include transaction information when fetching orders."
          },
          "force_fetch": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ],
            "description": "Force a response even if the underlying connection hasn't finished the initial sync."
          },
          "fulfillment_status": {
            "type": "string",
            "enum": [
              "fulfilled",
              "unfulfilled",
              "partial",
              "unknown"
            ],
            "description": "Optionally filter orders by their `fulfillment_status`. Supported for Squarespace, BigCommerce, Magento, Square, Shopify, Wix, Amazon, Etsy, PrestaShop, eBay, Lazada."
          },
          "limit": {
            "type": "integer",
            "description": "The number of entities to return. Defaults to 50. Maximum is 500."
          },
          "order_number": {
            "type": "integer",
            "description": "Optionally filter by order number. Supported for Squarespace, BigCommerce, Magento, WooCommerce, Square, Wix, Amazon, PrestaShop, eBay."
          },
          "payment_status": {
            "type": "string",
            "enum": [
              "pending",
              "paid",
              "refunded",
              "failed",
              "unknown"
            ],
            "description": "Optionally filters orders by `payment_status`. Supported for Squarespace, BigCommerce, Magento, Square, Shopify, Wix, Amazon, Etsy, PrestaShop, eBay, Lazada."
          },
          "phone": {
            "type": "string",
            "description": "Optionally filter by phone number. Format using only numerics. Supported for Magento, WooCommerce, Shopify, Wix."
          },
          "properties": {
            "type": "string",
            "description": "Optionally return only certain fields specified by a comma-separated list of field names. E.g. `id,status`"
          },
          "updated_at_max": {
            "type": "integer",
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum updated_at datetime to fetch entities from."
          },
          "updated_at_min": {
            "type": "integer",
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum updated_at datetime to fetch entities from."
          }
        },
        "required": [
          "access_token"
        ]
      },
      "OrderTransaction": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The Rutter generated unique ID of the transaction."
          },
          "platform_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The platform specific ID of the transaction."
          },
          "order_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The Rutter ID of the [Order](/rest/version/orders) linked to the transaction."
          },
          "platform_customer_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The platform specific ID of the customer linked to the transaction."
          },
          "payment_method_type": {
            "type": "string",
            "enum": [
              "cash",
              "card",
              "other"
            ],
            "description": "The payment method associated with the transaction. Some enum value clarifications:\n  - `cash` - this type will mainly appear on self-hosted platforms like WooCommerce where Cash on Delivery is available.\n  - `card` - includes credit or debit card payments"
          },
          "status": {
            "type": "string",
            "enum": [
              "success",
              "failure",
              "pending",
              "cancelled",
              "refunded",
              "other"
            ],
            "description": "The status of the transaction."
          },
          "type": {
            "type": "string",
            "enum": [
              "sale",
              "refund",
              "void",
              "payout",
              "fee",
              "other"
            ],
            "description": "The transaction type associated with the transaction. Some enum value clarifications:\n  - `void` - means a cancellation of a pending transaction.\n  - `payout` - means the merchant transferred the money held in the platform to the merchant's own bank account.\n  - `other` - If the transaction can't fit into any of the above types. This happens more often on self-hosted platforms where merchants create their own transaction types / have them in a different language."
          },
          "amount": {
            "type": [
              "number",
              "null"
            ],
            "description": "The amount associated with the transaction."
          },
          "fee": {
            "type": "number",
            "description": "The fee associated with the transaction."
          },
          "gateway": {
            "type": [
              "string",
              "null"
            ],
            "description": "The gateway associated with the transaction."
          },
          "gateway_data": {
            "description": "The gateway data associated with the transaction. An object containing additional metadata. This field is only populated for commerce platforms like Shopify that do their own payment processing & partner with another processor (Stripe), which attaches metadata to the transaction. Otherwise the value is `null`. The properties depend on the payment gateway used.",
            "type": [
              "null"
            ]
          },
          "iso_currency_code": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code of the transaction."
          },
          "platform_type": {
            "type": "string",
            "description": "The platform type associated with the transaction."
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "description": "The description of the transaction"
          },
          "created_at": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the transaction was created."
          },
          "updated_at": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the transaction was last updated."
          },
          "platform_data": {
            "type": "object",
            "additionalProperties": {}
          }
        },
        "required": [
          "id",
          "order_id",
          "payment_method_type",
          "status",
          "type",
          "amount",
          "gateway",
          "iso_currency_code",
          "created_at",
          "updated_at"
        ],
        "examples": [
          {
            "OrderTransaction_Example": {
              "$ref": "#/components/examples/OrderTransaction_Example"
            }
          }
        ]
      },
      "Order": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The Rutter generated unique ID of the order."
          },
          "platform_id": {
            "type": "string",
            "description": "The platform specific ID of the order."
          },
          "cancelled_at": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp for when the order was cancelled. `SHOPIFY` only."
          },
          "payment_status": {
            "type": "string",
            "enum": [
              "pending",
              "paid",
              "refunded",
              "failed",
              "unknown"
            ],
            "description": "The payment status of the order."
          },
          "status": {
            "type": "string",
            "enum": [
              "active",
              "archived",
              "cancelled",
              "unknown"
            ],
            "description": "The status of the order."
          },
          "total_discount": {
            "type": "number",
            "description": "The sum of all discounts applied to the total price."
          },
          "total_price": {
            "type": "number",
            "description": "The total price of the order."
          },
          "fulfillment_status": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "fulfilled",
              "unfulfilled",
              "partial",
              "unknown"
            ],
            "description": "The status of the fulfillment for the order."
          },
          "iso_currency_code": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code of the order."
          },
          "name": {
            "type": "string",
            "description": "The name of the order. Supported for `SHOPIFY` only."
          },
          "order_number": {
            "type": "string",
            "description": "The merchant facing order ID."
          },
          "source_name": {
            "type": "string",
            "description": "The source name of the order. Supported for `SHOPIFY` only."
          },
          "total_line_items_price": {
            "type": "number",
            "description": "The total price of all line items of the order. Supported for `SHOPIFY` only."
          },
          "total_shipping": {
            "type": [
              "number",
              "null"
            ],
            "description": "The sum of all shipping costs."
          },
          "total_shipping_discount": {
            "type": "number",
            "description": "The sum of all discounts on shipping applied to the total price."
          },
          "total_tax": {
            "type": [
              "number",
              "null"
            ],
            "description": "The total tax paid on the order."
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "The tags of the order. Supported for `SHOPIFY` only."
          },
          "billing_address": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "address1": {
                "type": "string",
                "description": "The first address line of the address."
              },
              "address2": {
                "type": "string",
                "description": "An optional second address line of the address."
              },
              "city": {
                "type": "string",
                "description": "The city, town, or village of the address."
              },
              "country_code": {
                "type": "string",
                "description": "The [ISO 3166-1](https://www.iso.org/iso-3166-country-codes.html) country code of the address."
              },
              "first_name": {
                "type": "string",
                "description": "The first name of the person associated with the address."
              },
              "last_name": {
                "type": "string",
                "description": "The last name of the person associated with the address."
              },
              "postal_code": {
                "type": "string",
                "description": "The postal code of the address."
              },
              "region": {
                "type": "string",
                "description": "The abbreviation of the region of the address. For the US, this would be states, for other places, it would be provinces or equivalent."
              },
              "phone": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "The phone number associated with the address."
              }
            },
            "required": [
              "address1",
              "address2",
              "city",
              "country_code",
              "first_name",
              "last_name",
              "postal_code",
              "region",
              "phone"
            ],
            "additionalProperties": false
          },
          "refunds": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "line_items": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "line_item_id": {
                        "type": "string",
                        "description": "The id of the line item refunded."
                      },
                      "quantity": {
                        "type": "number",
                        "description": "The quantity of the linked [Variant](/rest/version/variants) refunded with this line item."
                      },
                      "amount": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "The cost of the variants refunded. Supported only for Shopify, WooCommerce."
                      }
                    },
                    "required": [
                      "line_item_id",
                      "quantity"
                    ],
                    "additionalProperties": false
                  },
                  "description": "The linked [Variants](/rest/version/variants) and quantities associated with this order refund."
                }
              },
              "required": [
                "line_items"
              ],
              "additionalProperties": false
            }
          },
          "shipping_address": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "address1": {
                "type": "string",
                "description": "The first address line of the address."
              },
              "address2": {
                "type": "string",
                "description": "An optional second address line of the address."
              },
              "city": {
                "type": "string",
                "description": "The city, town, or village of the address."
              },
              "country_code": {
                "type": "string",
                "description": "The [ISO 3166-1](https://www.iso.org/iso-3166-country-codes.html) country code of the address."
              },
              "first_name": {
                "type": "string",
                "description": "The first name of the person associated with the address."
              },
              "last_name": {
                "type": "string",
                "description": "The last name of the person associated with the address."
              },
              "postal_code": {
                "type": "string",
                "description": "The postal code of the address."
              },
              "region": {
                "type": "string",
                "description": "The abbreviation of the region of the address. For the US, this would be states, for other places, it would be provinces or equivalent."
              },
              "phone": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "The phone number associated with the address."
              }
            },
            "required": [
              "address1",
              "address2",
              "city",
              "country_code",
              "first_name",
              "last_name",
              "postal_code",
              "region",
              "phone"
            ],
            "additionalProperties": false
          },
          "customer": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "id": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "The Rutter ID of the [Customer](/rest/version/customers) linked to the order."
              },
              "platform_id": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "The platform specific ID of the customer."
              },
              "email": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "The email of the customer."
              },
              "first_name": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "First name of the customer."
              },
              "last_name": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Last name of the customer."
              },
              "phone": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "The phone number of the customer."
              },
              "created_at": {
                "type": "string",
                "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the customer was created."
              },
              "updated_at": {
                "type": "string",
                "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the customer was last updated."
              }
            },
            "required": [
              "id",
              "email",
              "first_name",
              "last_name",
              "phone",
              "created_at",
              "updated_at"
            ],
            "additionalProperties": false
          },
          "line_items": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "The Rutter ID for the order line item. This can sometimes be the same as the platform_id. This ID is not guaranteed to be unique across orders."
                },
                "platform_id": {
                  "type": "string",
                  "description": "The platform specific ID of the order line item."
                },
                "product_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The Rutter ID of the [Product](/rest/version/products) linked to the order. `null` if the product has been deleted from the connection."
                },
                "variant_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The Rutter ID of the [Product](/rest/version/products) linked to the order. `null` if the product has been deleted from the connection. The `variant_id` and `product_id` can be equal if the product contains no variants."
                },
                "price": {
                  "type": "number",
                  "description": "The total cost of all of the variants associated with this line item. This is before applying any taxes or discounts, and is typically calculated by multiplying the single unit cost by the quantity purchased. For WooCommerce, this value does include discounts."
                },
                "quantity": {
                  "type": "number",
                  "description": "The quantity of the linked [Variant](/rest/version/variants) sold with this line item."
                },
                "iso_currency_code": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code of the order line item."
                },
                "sku": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The stock keeping unit (SKU) of the linked [Variant](/rest/version/variants)."
                },
                "title": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The `title` of the linked [Variant](/rest/version/variants)."
                },
                "unit_cost": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "description": "The price per unit of the linked [Variant](/rest/version/variants)."
                },
                "created_at": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the order line item was created."
                },
                "updated_at": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the order line items was last updated."
                }
              },
              "required": [
                "id",
                "product_id",
                "price",
                "quantity",
                "iso_currency_code",
                "sku",
                "title",
                "unit_cost",
                "created_at",
                "updated_at"
              ],
              "additionalProperties": false
            },
            "description": "The linked [variants](/rest/version/variants) and quantities associated with this order."
          },
          "fulfillments": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "The Rutter generated unique ID of the fulfillment."
                },
                "order_id": {
                  "type": "string",
                  "description": "The Rutter ID of the [Order](/rest/version/orders) linked to the fulfillment."
                },
                "carrier": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The carrier of the fulfillment, ex \"USPS\", \"Fedex\", \"UPS\", \"Canada Post\", etc."
                },
                "service": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The carrier shipping service of the fulfillment, ex \"Priority Mail\", \"2 Day Delivery\", etc."
                },
                "tracking_number": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The tracking number of the fulfillment. Buyers can track tracking info using this number at the carrier's website."
                },
                "tracking_url": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The tracking URL of the fulfillment. Buyers can open this URL to look up tracking information."
                },
                "line_items": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "description": "The Rutter generated unique ID of the fulfillment line item."
                      },
                      "product_id": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "The Rutter ID of the [Product](/rest/version/products) linked to the fulfillment line item. `null` if the product has been deleted from the connection."
                      },
                      "variant_id": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "The Rutter ID of the [Product](/rest/version/products) linked to the order. `null` if the product has been deleted from the connection. The `variant_id` and `product_id` are equal if the variant is the default variant or the product contains no variants."
                      },
                      "price": {
                        "type": "number",
                        "description": "The total cost of all of the variants associated with this line item. This is before applying any taxes or discounts, and is typically calculated by multiplying the single unit cost by the quantity purchased. For WooCommerce, this value does include discounts."
                      },
                      "quantity": {
                        "type": "number",
                        "description": "The quantity of the linked [Variant](/rest/version/variants) fulfilled with this line item."
                      },
                      "sku": {
                        "type": "string",
                        "description": "The stock keeping unit (SKU) of the linked [Variant](/rest/version/variants)."
                      },
                      "title": {
                        "type": "string",
                        "description": "The `title` of the linked [Variant](/rest/version/variants)"
                      },
                      "additional_fields": {
                        "type": "object",
                        "properties": {
                          "total_amount": {
                            "type": "number",
                            "description": "The total amount of the line item (including all taxes, discounts, promotions, and delivery costs). Supported for Walmart, eBay."
                          }
                        },
                        "additionalProperties": false,
                        "description": "Additional fields required only for a narrow set of use cases."
                      }
                    },
                    "required": [
                      "id",
                      "product_id",
                      "variant_id",
                      "price",
                      "quantity",
                      "sku",
                      "title"
                    ],
                    "additionalProperties": false
                  },
                  "description": "The linked [Variants](/rest/version/variants) and quantities associated with this fulfillment."
                }
              },
              "required": [
                "id",
                "order_id",
                "carrier",
                "service",
                "tracking_number",
                "tracking_url",
                "line_items"
              ],
              "additionalProperties": false
            }
          },
          "transactions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OrderTransaction"
            },
            "description": "An array of [Transactions](/rest/version/transactions) linked to the order. Included if you pass the expand=transactions query parameter."
          },
          "created_at": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the order was created."
          },
          "updated_at": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the order was last updated."
          }
        },
        "required": [
          "id",
          "payment_status",
          "status",
          "total_discount",
          "total_price",
          "fulfillment_status",
          "iso_currency_code",
          "total_shipping",
          "total_tax",
          "billing_address",
          "shipping_address",
          "customer",
          "line_items",
          "fulfillments",
          "created_at",
          "updated_at"
        ],
        "examples": [
          {
            "Order_Example": {
              "$ref": "#/components/examples/Order_Example"
            }
          }
        ]
      },
      "Orders": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/Order"
        }
      },
      "ListOrdersResponse": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "orders": {
            "$ref": "#/components/schemas/Orders"
          },
          "next_cursor": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "connection",
          "orders",
          "next_cursor"
        ],
        "description": "The `/orders` endpoint allows developers to receive user-authorized order data for a merchant's store.\n  Due to the potentially large number of orders associated with a connection, results are paginated.",
        "examples": [
          {
            "ListOrdersResponse_Example": {
              "$ref": "#/components/examples/ListOrdersResponse_Example"
            }
          }
        ]
      },
      "CreateOrderBody": {
        "type": "object",
        "properties": {
          "order": {
            "type": "object",
            "properties": {
              "currency_code": {
                "type": "string",
                "description": "The [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code for the line item."
              },
              "line_items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "variant_id": {
                      "type": "string",
                      "description": "The variant id associated with the line item."
                    },
                    "quantity": {
                      "type": "number",
                      "description": "The quantity of the variant."
                    }
                  },
                  "required": [
                    "variant_id",
                    "quantity"
                  ],
                  "additionalProperties": false
                },
                "description": "An array of product variants included in the order and their quantities."
              },
              "additional_fields": {
                "type": "object",
                "properties": {
                  "tags": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "Tags associated with the order. Shopify Only"
                  }
                },
                "additionalProperties": false
              },
              "customer": {
                "type": "object",
                "properties": {
                  "email": {
                    "type": "string",
                    "description": "The email of the customer associated with the order."
                  },
                  "first_name": {
                    "type": "string",
                    "description": "The first name of the customer associated with the order."
                  },
                  "last_name": {
                    "type": "string",
                    "description": "The last name of the customer associated with the order."
                  }
                },
                "required": [
                  "email"
                ],
                "additionalProperties": false,
                "description": "Information about the customer."
              },
              "billing_address": {
                "type": "object",
                "properties": {
                  "address1": {
                    "type": "string",
                    "description": "The first address line of the address."
                  },
                  "address2": {
                    "type": "string",
                    "description": "An optional second address line of the address."
                  },
                  "city": {
                    "type": "string",
                    "description": "The city, town, or village of the address."
                  },
                  "country_code": {
                    "type": "string",
                    "description": "The [ISO 3166-1](https://www.iso.org/iso-3166-country-codes.html) country code for the country of the address."
                  },
                  "first_name": {
                    "type": "string",
                    "description": "The first name of the person associated with the address."
                  },
                  "last_name": {
                    "type": "string",
                    "description": "The last name of the person associated with the address."
                  },
                  "postal_code": {
                    "type": "string",
                    "description": "The postal code (ZIP, Eircode, etc) of the address."
                  },
                  "region": {
                    "type": "string",
                    "description": "The abbreviation of the region of the address. For the US, this would be states, for other places, it would be provinces or equivalent."
                  },
                  "email": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "The email for the customer at the address."
                  },
                  "phone": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "The phone number at the address."
                  }
                },
                "required": [
                  "address1",
                  "address2",
                  "city",
                  "country_code",
                  "first_name",
                  "last_name",
                  "postal_code",
                  "region",
                  "email",
                  "phone"
                ],
                "additionalProperties": false,
                "description": "The billing address of the order."
              },
              "shipping_address": {
                "type": "object",
                "properties": {
                  "address1": {
                    "type": "string",
                    "description": "The first address line of the address."
                  },
                  "address2": {
                    "type": "string",
                    "description": "An optional second address line of the address."
                  },
                  "city": {
                    "type": "string",
                    "description": "The city, town, or village of the address."
                  },
                  "country_code": {
                    "type": "string",
                    "description": "The [ISO 3166-1](https://www.iso.org/iso-3166-country-codes.html) country code for the country of the address."
                  },
                  "first_name": {
                    "type": "string",
                    "description": "The first name of the person associated with the address."
                  },
                  "last_name": {
                    "type": "string",
                    "description": "The last name of the person associated with the address."
                  },
                  "postal_code": {
                    "type": "string",
                    "description": "The postal code (ZIP, Eircode, etc) of the address."
                  },
                  "region": {
                    "type": "string",
                    "description": "The abbreviation of the region of the address. For the US, this would be states, for other places, it would be provinces or equivalent."
                  },
                  "email": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "The email for the customer at the address."
                  },
                  "phone": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "The phone number at the address."
                  }
                },
                "required": [
                  "address1",
                  "address2",
                  "city",
                  "country_code",
                  "first_name",
                  "last_name",
                  "postal_code",
                  "region",
                  "email",
                  "phone"
                ],
                "additionalProperties": false,
                "description": "The shipping address of the order."
              }
            },
            "required": [
              "currency_code",
              "line_items",
              "customer",
              "billing_address"
            ],
            "additionalProperties": false,
            "description": "The order to create."
          }
        },
        "required": [
          "order"
        ],
        "examples": [
          {
            "CreateOrderBody_Example": {
              "$ref": "#/components/examples/CreateOrderBody_Example"
            }
          }
        ]
      },
      "CreateOrderResponse": {
        "type": "object",
        "properties": {
          "order": {
            "$ref": "#/components/schemas/Order"
          }
        },
        "required": [
          "order"
        ],
        "description": "Companies that use Rutter can programmatically create orders on their storeowner's shops. \n    To do this, make a POST request to our orders endpoint.",
        "examples": [
          {
            "CreateOrderResponse_Example": {
              "$ref": "#/components/examples/CreateOrderResponse_Example"
            }
          }
        ]
      },
      "GetOrderQuery": {
        "type": "object",
        "properties": {
          "access_token": {
            "type": "string",
            "format": "uuid",
            "description": "The access token of the connection."
          },
          "expand": {
            "type": "string",
            "enum": [
              "transactions"
            ],
            "description": "Optionally, include transaction information when fetching orders."
          },
          "force_fetch": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ],
            "description": "Force a response even if the underlying connection hasn't finished the initial sync."
          }
        },
        "required": [
          "access_token"
        ]
      },
      "GetOrderResponse": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "order": {
            "$ref": "#/components/schemas/Order",
            "type": [
              "null"
            ]
          }
        },
        "required": [
          "connection",
          "order"
        ],
        "description": "The `/orders/{id}` endpoint allows developers to receive user-authorized order data for a specific order in a merchant's store.",
        "examples": [
          {
            "GetOrderResponse_Example": {
              "$ref": "#/components/examples/GetOrderResponse_Example"
            }
          }
        ]
      },
      "UpdateOrderBody": {
        "type": "object",
        "properties": {
          "order": {
            "type": "object",
            "properties": {
              "status": {
                "type": "string",
                "enum": [
                  "active",
                  "archived",
                  "cancelled",
                  "unknown"
                ],
                "description": "The order status to update for the order."
              }
            },
            "required": [
              "status"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "order"
        ],
        "examples": [
          {
            "UpdateOrderBody_Example": {
              "$ref": "#/components/examples/UpdateOrderBody_Example"
            }
          }
        ]
      },
      "CreateFulfillmentPathParams": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The Rutter ID of the order to fulfill."
          }
        },
        "required": [
          "id"
        ]
      },
      "CreateOrderFulfillmentBody": {
        "type": "object",
        "properties": {
          "fulfillment": {
            "type": "object",
            "properties": {
              "location_id": {
                "type": "string",
                "description": "(Shopify only) The Shopify location id."
              },
              "carrier": {
                "type": "string",
                "maxLength": 50,
                "pattern": ".*[a-zA-Z0-9].*",
                "description": "Carrier company, ex \"USPS\", \"Fedex\", \"UPS\", \"Canada Post\", etc. Can be any string."
              },
              "tracking_number": {
                "type": "string",
                "maxLength": 100,
                "description": "Tracking number associated with this parcel. \n  Usually buyers can track tracking info using this number at carrier's website."
              },
              "service": {
                "type": "string",
                "maxLength": 50,
                "description": "Carrier shipping service, e.g. \"Priority Mail\", \"2 Day Delivery\", etc. Can be any string."
              },
              "tracking_url": {
                "type": "string",
                "maxLength": 2000,
                "description": "The tracking URL string that buyers can click to look up tracking information."
              },
              "additional_fields": {
                "type": "object",
                "properties": {
                  "notify_customer": {
                    "type": "boolean",
                    "description": "(Shopify only) Whether the customer should be notified. If set to true, then an email will be sent when the fulfillment is created or updated."
                  }
                },
                "additionalProperties": false,
                "description": "Additional fields required only for a narrow set of use cases."
              },
              "line_items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "line_item_id": {
                      "type": "string",
                      "description": "The ID of the line item."
                    },
                    "quantity": {
                      "type": "number",
                      "minimum": 1,
                      "description": "The number of the variants sold for this line_item."
                    }
                  },
                  "required": [
                    "line_item_id"
                  ],
                  "additionalProperties": false
                },
                "description": "The product variants and quantities associated as part of this fulfillment. If the line_items array is empty, Rutter will attempt to mark all line items part of the order as fulfilled."
              }
            },
            "required": [
              "carrier",
              "tracking_number",
              "line_items"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "fulfillment"
        ]
      },
      "CreateOrderFulfillmentResponse": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "connection": {
                "$ref": "#/components/schemas/Connection"
              },
              "fulfillment": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "description": "The Rutter generated unique ID of the fulfillment."
                  },
                  "order_id": {
                    "type": "string",
                    "description": "The Rutter ID of the [Order](/rest/version/orders) linked to the fulfillment."
                  },
                  "carrier": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "The carrier of the fulfillment, ex \"USPS\", \"Fedex\", \"UPS\", \"Canada Post\", etc."
                  },
                  "service": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "The carrier shipping service of the fulfillment, ex \"Priority Mail\", \"2 Day Delivery\", etc."
                  },
                  "tracking_number": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "The tracking number of the fulfillment. Buyers can track tracking info using this number at the carrier's website."
                  },
                  "tracking_url": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "The tracking URL of the fulfillment. Buyers can open this URL to look up tracking information."
                  },
                  "line_items": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "description": "The Rutter generated unique ID of the fulfillment line item."
                        },
                        "product_id": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "The Rutter ID of the [Product](/rest/version/products) linked to the fulfillment line item. `null` if the product has been deleted from the connection."
                        },
                        "variant_id": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "The Rutter ID of the [Product](/rest/version/products) linked to the order. `null` if the product has been deleted from the connection. The `variant_id` and `product_id` are equal if the variant is the default variant or the product contains no variants."
                        },
                        "price": {
                          "type": "number",
                          "description": "The total cost of all of the variants associated with this line item. This is before applying any taxes or discounts, and is typically calculated by multiplying the single unit cost by the quantity purchased. For WooCommerce, this value does include discounts."
                        },
                        "quantity": {
                          "type": "number",
                          "description": "The quantity of the linked [Variant](/rest/version/variants) fulfilled with this line item."
                        },
                        "sku": {
                          "type": "string",
                          "description": "The stock keeping unit (SKU) of the linked [Variant](/rest/version/variants)."
                        },
                        "title": {
                          "type": "string",
                          "description": "The `title` of the linked [Variant](/rest/version/variants)"
                        },
                        "additional_fields": {
                          "type": "object",
                          "properties": {
                            "total_amount": {
                              "type": "number",
                              "description": "The total amount of the line item (including all taxes, discounts, promotions, and delivery costs). Supported for Walmart, eBay."
                            }
                          },
                          "additionalProperties": false,
                          "description": "Additional fields required only for a narrow set of use cases."
                        }
                      },
                      "required": [
                        "id",
                        "product_id",
                        "variant_id",
                        "price",
                        "quantity",
                        "sku",
                        "title"
                      ],
                      "additionalProperties": false
                    },
                    "description": "The linked [Variants](/rest/version/variants) and quantities associated with this fulfillment."
                  }
                },
                "required": [
                  "id",
                  "order_id",
                  "carrier",
                  "service",
                  "tracking_number",
                  "tracking_url",
                  "line_items"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "connection",
              "fulfillment"
            ],
            "additionalProperties": false
          },
          {
            "$ref": "#/components/schemas/AsyncResponsePayload"
          }
        ]
      },
      "ListPayoutsQuery": {
        "type": "object",
        "properties": {
          "access_token": {
            "type": "string",
            "format": "uuid",
            "description": "The access token of the connection."
          },
          "arrival_at_max": {
            "type": "string",
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum arrival_at datetime to fetch entities from."
          },
          "arrival_at_min": {
            "type": "string",
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum arrival_at datetime to fetch entities from."
          },
          "created_at_max": {
            "type": "string",
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum created_at datetime to fetch entities from."
          },
          "created_at_min": {
            "type": "string",
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum created_at datetime to fetch entities from."
          },
          "force_fetch": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ],
            "description": "Force a response even if the underlying connection hasn't finished the initial sync."
          }
        },
        "required": [
          "access_token"
        ]
      },
      "Payout": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The Rutter generated unique ID of the payout."
          },
          "gateway_account_id": {
            "type": "string",
            "description": "The platform specific ID of the gateway associated with the payout."
          },
          "arrival_at": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp for when the payout is expected to arrive."
          },
          "amount": {
            "type": "number",
            "description": "The total amount of money associated with the payout."
          },
          "gateway": {
            "type": "string",
            "description": "The gateway associated with the payout."
          },
          "iso_currency_code": {
            "type": "string",
            "description": "The [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code of the payout."
          },
          "schedule": {
            "type": "string",
            "enum": [
              "unknown",
              "manual",
              "automatic"
            ],
            "description": "The schedule associated with the payout."
          },
          "status": {
            "type": "string",
            "enum": [
              "paid",
              "pending",
              "in_transit",
              "cancelled",
              "failed",
              "refunded",
              "unknown"
            ],
            "description": "The status associated with the payout."
          },
          "type": {
            "type": "string",
            "enum": [
              "bank_account",
              "card",
              "fpx",
              "unknown"
            ],
            "description": "The type associated with the payout."
          },
          "method": {
            "type": [
              "string",
              "null"
            ],
            "description": "The method associated with the payout."
          },
          "destination": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "destination_id": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "The platform specific ID of the payout destination."
              },
              "account_number_last_digits": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "The last digits of the bank account number associated with the payout destination."
              },
              "bank_name": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "The bank name associated with the payout destination"
              },
              "brand": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "The brand associated with the payout destination."
              },
              "last_four": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "The last four digits of the bank account number associated with the payout destination."
              },
              "routing_number": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "The brand associated with the payout destination."
              }
            },
            "required": [
              "destination_id",
              "account_number_last_digits",
              "bank_name",
              "brand",
              "last_four",
              "routing_number"
            ],
            "additionalProperties": false,
            "description": "The bank account used as the destination of the payout."
          },
          "transactions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OrderTransaction"
            },
            "description": "An array of [Transactions](/rest/version/transactions) linked to the payout."
          },
          "created_at": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the payout was created."
          },
          "updated_at": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the payout was last updated."
          }
        },
        "required": [
          "id",
          "gateway_account_id",
          "arrival_at",
          "amount",
          "gateway",
          "iso_currency_code",
          "schedule",
          "status",
          "type",
          "method",
          "transactions",
          "created_at",
          "updated_at"
        ],
        "examples": [
          {
            "Payout_Example": {
              "$ref": "#/components/examples/Payout_Example"
            }
          }
        ]
      },
      "Payouts": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/Payout"
        }
      },
      "ListPayoutsResponse": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "payouts": {
            "$ref": "#/components/schemas/Payouts"
          },
          "next_cursor": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "connection",
          "payouts",
          "next_cursor"
        ],
        "examples": [
          {
            "ListPayoutsResponse_Example": {
              "$ref": "#/components/examples/ListPayoutsResponse_Example"
            }
          }
        ]
      },
      "ListProductsQuery": {
        "type": "object",
        "properties": {
          "access_token": {
            "type": "string",
            "format": "uuid",
            "description": "The access token of the connection."
          },
          "created_at_max": {
            "type": "integer",
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum created_at datetime to fetch entities from."
          },
          "created_at_min": {
            "type": "integer",
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum created_at datetime to fetch entities from."
          },
          "cursor": {
            "type": "string",
            "description": "The cursor to use for pagination. Use the value of `next_cursor` provided in a previous response."
          },
          "force_fetch": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ],
            "description": "Force a response even if the underlying connection hasn't finished the initial sync."
          },
          "limit": {
            "type": "integer",
            "description": "The number of entities to return. Defaults to 50. Maximum is 500."
          },
          "name": {
            "type": "string",
            "description": "Filter products by names similar to the input."
          },
          "status": {
            "type": "string",
            "enum": [
              "active",
              "archived",
              "inactive",
              "draft"
            ],
            "description": "Show products with certain product status."
          },
          "updated_at_max": {
            "type": "integer",
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum updated_at datetime to fetch entities from."
          },
          "updated_at_min": {
            "type": "integer",
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum updated_at datetime to fetch entities from."
          }
        },
        "required": [
          "access_token"
        ]
      },
      "Product": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The Rutter generated unique ID of the product."
          },
          "platform_id": {
            "type": "string",
            "description": "The platform specific ID of the product."
          },
          "category_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The Rutter generated unique ID of the product category. This is only exposed when the `expand=category_id` parameter is used. Only supported for Shopify, Amazon, BigCommerce."
          },
          "description": {
            "type": "string",
            "description": "The description of the product."
          },
          "name": {
            "type": "string",
            "description": "The name of the product."
          },
          "type": {
            "type": "string",
            "description": "The unstandardized type or categorization of the product."
          },
          "product_url": {
            "type": "string",
            "description": "The consumer facing URL used to access the product online."
          },
          "images": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "src": {
                  "type": "string",
                  "description": "The URL of the image."
                }
              },
              "required": [
                "src"
              ],
              "additionalProperties": false
            },
            "description": "An array of images linked to the product."
          },
          "status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "string",
                "enum": [
                  "active",
                  "archived",
                  "inactive",
                  "draft",
                  "unknown"
                ]
              }
            ],
            "description": "The status of the product."
          },
          "tags": {
            "type": "array",
            "items": {
              "type": [
                "string",
                "null"
              ]
            },
            "description": "An array of tags linked to the product."
          },
          "variants": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "The ID of the variant. This value can either be a Rutter-generated UUID or the ID of the variant in the platform. This ID is not guaranteed to be unique across all variants."
                },
                "platform_id": {
                  "type": "string",
                  "description": "The platform specific ID of the variant."
                },
                "product_id": {
                  "type": "string"
                },
                "price": {
                  "type": "number",
                  "description": "The price of the variant."
                },
                "requires_shipping": {
                  "type": "boolean",
                  "description": "Whether the variant requires shipping."
                },
                "barcode": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The barcode of the variant."
                },
                "fulfillment_service": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The fulfillment service of the variant."
                },
                "inventory_management": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The inventory management system of the variant."
                },
                "iso_currency_code": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code of the variant."
                },
                "sku": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The stock keeping unit (SKU) of the variant."
                },
                "title": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The title of the variant."
                },
                "unit_cost": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "description": "The unit cost of the variant."
                },
                "variant_url": {
                  "type": "string",
                  "description": "The consumer facing URL used to access the variant online."
                },
                "description": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The description of the variant."
                },
                "images": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "src": {
                        "type": "string",
                        "description": "The URL of the image."
                      }
                    },
                    "required": [
                      "src"
                    ],
                    "additionalProperties": false
                  },
                  "description": "An array of images linked to the variant."
                },
                "short_description": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "An abbreviated description of the variant."
                },
                "option_values": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "name": {
                        "type": "string",
                        "description": "The name of the variant option."
                      },
                      "value": {
                        "type": "string",
                        "description": "The value of the variant option."
                      }
                    },
                    "required": [
                      "name",
                      "value"
                    ],
                    "additionalProperties": false
                  },
                  "description": "The option values associated with the variant. This describes how the variant is unique from other variants of the same product."
                },
                "currency_prices": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "iso_currency_code": {
                        "type": "string",
                        "description": "The [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code of the price."
                      },
                      "price": {
                        "type": "number",
                        "description": "The value of the price."
                      }
                    },
                    "required": [
                      "iso_currency_code",
                      "price"
                    ],
                    "additionalProperties": false
                  },
                  "description": "An array of prices in different supported currencies for the variant."
                },
                "weight": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "unit": {
                      "type": "string",
                      "enum": [
                        "kg",
                        "g",
                        "oz",
                        "lb",
                        "gal"
                      ],
                      "description": "The unit the weight is being measured in."
                    },
                    "value": {
                      "type": "number",
                      "description": "The value of the weight."
                    }
                  },
                  "required": [
                    "unit",
                    "value"
                  ],
                  "additionalProperties": false,
                  "description": "The weight of the variant."
                },
                "linked_products": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "variant_id": {
                        "type": "string"
                      },
                      "link_type": {
                        "type": "string"
                      },
                      "sku": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "variant_id",
                      "link_type",
                      "sku"
                    ],
                    "additionalProperties": false
                  }
                },
                "inventory": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "total_count": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "The total amount of inventory of the variant."
                    },
                    "locations": {
                      "type": [
                        "array",
                        "null"
                      ],
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "description": "The Rutter generated unique ID of the location."
                          },
                          "address1": {
                            "type": "string",
                            "description": "The first address line of the location."
                          },
                          "address2": {
                            "type": "string",
                            "description": "The second address line of the location."
                          },
                          "city": {
                            "type": "string",
                            "description": "The city of the location."
                          },
                          "country": {
                            "type": "string",
                            "description": "The country of the location."
                          },
                          "name": {
                            "type": "string",
                            "description": "The name of the location."
                          },
                          "postal_code": {
                            "type": "string",
                            "description": "The postal code of the location."
                          },
                          "quantity": {
                            "type": "number",
                            "description": "The quantity of inventory at the location."
                          },
                          "region": {
                            "type": "string",
                            "description": "The region of the location."
                          },
                          "updated_at": {
                            "type": "string",
                            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the location was last updated."
                          }
                        },
                        "required": [
                          "id",
                          "address1",
                          "address2",
                          "city",
                          "country",
                          "name",
                          "postal_code",
                          "quantity",
                          "region",
                          "updated_at"
                        ],
                        "additionalProperties": false
                      },
                      "description": "The locations containing inventory for the variant."
                    }
                  },
                  "required": [
                    "total_count",
                    "locations"
                  ],
                  "additionalProperties": false,
                  "description": "Details about the inventory of the variant."
                },
                "created_at": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the variant was created."
                },
                "updated_at": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the variant was last updated."
                }
              },
              "required": [
                "id",
                "product_id",
                "price",
                "requires_shipping",
                "barcode",
                "fulfillment_service",
                "inventory_management",
                "iso_currency_code",
                "sku",
                "title",
                "unit_cost",
                "images",
                "option_values",
                "created_at",
                "updated_at"
              ],
              "additionalProperties": false
            },
            "description": "An array of [Variants](/rest/version/variants) linked to the product."
          },
          "created_at": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the product was created."
          },
          "updated_at": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the product was last updated."
          }
        },
        "required": [
          "id",
          "description",
          "name",
          "type",
          "images",
          "status",
          "tags",
          "variants",
          "created_at",
          "updated_at"
        ],
        "examples": [
          {
            "Product_Example": {
              "$ref": "#/components/examples/Product_Example"
            }
          }
        ]
      },
      "ListProductsResponse": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "products": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Product"
            }
          },
          "next_cursor": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "connection",
          "products",
          "next_cursor"
        ],
        "examples": [
          {
            "ListProductsResponse_Example": {
              "$ref": "#/components/examples/ListProductsResponse_Example"
            }
          }
        ]
      },
      "CreateProductBody": {
        "type": "object",
        "properties": {
          "product": {
            "type": "object",
            "properties": {
              "category_id": {
                "type": "number",
                "description": "The Rutter ID of the [category](/rest/version/category) linked to the product."
              },
              "description": {
                "type": "string",
                "description": "The name of the product."
              },
              "name": {
                "type": "string",
                "description": "The name of the product."
              },
              "status": {
                "type": "string",
                "enum": [
                  "active",
                  "archived",
                  "inactive",
                  "draft",
                  "unknown"
                ],
                "description": "The status of the product."
              },
              "tags": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "An array of tags linked to the product."
              },
              "images": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "src": {
                      "type": "string",
                      "description": "The URL of the image."
                    }
                  },
                  "required": [
                    "src"
                  ],
                  "additionalProperties": false
                },
                "description": "An array of images linked to the product."
              },
              "variants": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "price": {
                      "type": "number"
                    },
                    "sku": {
                      "type": "string"
                    },
                    "images": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "src": {
                            "type": "string",
                            "description": "The URL of the image."
                          }
                        },
                        "required": [
                          "src"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "option_values": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "value": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "name",
                          "value"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "weight": {
                      "type": "object",
                      "properties": {
                        "unit": {
                          "type": "string",
                          "enum": [
                            "kg",
                            "g",
                            "oz",
                            "lb",
                            "gal"
                          ]
                        },
                        "value": {
                          "type": "number"
                        }
                      },
                      "required": [
                        "unit",
                        "value"
                      ],
                      "additionalProperties": false
                    },
                    "inventory": {
                      "type": "object",
                      "properties": {
                        "location_id": {
                          "type": "string"
                        },
                        "total_count": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "price",
                    "sku",
                    "option_values"
                  ],
                  "additionalProperties": false
                },
                "description": "An array of [Variants](/rest/version/variants) linked to the product."
              },
              "additional_fields": {
                "type": "object",
                "properties": {
                  "amazon": {
                    "type": "object",
                    "properties": {
                      "sku": {
                        "type": "string",
                        "description": "Contribution SKU: this attribute indicates the SKU number as assigned by the contributor."
                      },
                      "marketplace": {
                        "type": "string",
                        "enum": [
                          "BR",
                          "CA",
                          "MX",
                          "US",
                          "AE",
                          "DE",
                          "EG",
                          "ES",
                          "FR",
                          "BE",
                          "GB",
                          "IN",
                          "IT",
                          "NL",
                          "PL",
                          "SA",
                          "SE",
                          "TR",
                          "SG",
                          "AU",
                          "JP"
                        ],
                        "description": "Amazon Marketplace"
                      },
                      "office_products": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "shipping": {
                            "type": "object",
                            "properties": {},
                            "additionalProperties": false
                          },
                          "product_details": {
                            "type": "object",
                            "properties": {
                              "part_number": {
                                "type": "string",
                                "description": "Part Number: If applicable, please submit the manufacturer's part number for the product.  For most products, this will be identical to the model number; however, some manufacturers distinguish part number from model number."
                              },
                              "product_description": {
                                "type": "string",
                                "description": "Product Description: the text description of the product. This information will appear in paragraph form on the detail page of your product. Include unique product features, product line details, and product specifications. Do not use all caps. If this field is populated, we will not use the top level 'description' field value."
                              },
                              "bullet_point": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "Bullet Point: brief descriptive text, called out via a bullet point, regarding a specific aspect of the product. These display directly under or next to your product photo, it is useful to put interesting information in these fields. Do NOT use all caps or abbreviations. Please do NOT use for fabric content, care instructions or country as these are populated in different fields."
                              }
                            },
                            "required": [
                              "part_number",
                              "product_description",
                              "bullet_point"
                            ],
                            "additionalProperties": false
                          },
                          "product_identity": {
                            "type": "object",
                            "properties": {
                              "item_name": {
                                "type": "string",
                                "description": "Product Name: the title for the item that may be customer facing. Max. 250 characters. Please include the size and color of the item in the Product Name, if available.  If this field is populated, we will not use the top level 'name' field value."
                              },
                              "item_type_keyword": {
                                "type": "string",
                                "description": "Category (item-type): information is used to determine where your product will be displayed.  By selecting the most relevant term, you increase the chance that buyers will find this product. What is the item that you are selling?"
                              },
                              "manufacturer": {
                                "type": "string",
                                "description": "Manufacturer: he full name of the publisher who issued the product."
                              },
                              "brand": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "enum": [
                                  "Generic"
                                ],
                                "description": "Brand Name: the brand name of the product. An alphanumeric string; 1 character minimum in length and 50 characters maximum in length. If null is passed in, this field will be defaulted to 'Generic'."
                              }
                            },
                            "required": [
                              "item_name",
                              "item_type_keyword",
                              "manufacturer",
                              "brand"
                            ],
                            "additionalProperties": false
                          },
                          "safety_and_compliance": {
                            "type": "object",
                            "properties": {
                              "country_of_origin": {
                                "type": "string",
                                "description": "Country/Region of Origin: the product's country/region of origin. Input will be the 2 letter code of the country/region."
                              },
                              "cpsia_cautionary_statement": {
                                "type": "string",
                                "enum": [
                                  "choking_hazard_balloon",
                                  "choking_hazard_contains_a_marble",
                                  "choking_hazard_contains_small_ball",
                                  "choking_hazard_is_a_marble",
                                  "choking_hazard_is_a_small_ball",
                                  "choking_hazard_small_parts",
                                  "no_warning_applicable"
                                ],
                                "description": "Mandatory Cautionary Statement: relevant cautionary statements for the product as defined in Section 24 of the FHSA and section 105 of the CPSIA. The statements must be displayed on the product packaging and it is your responsibility to supply relevant statements."
                              },
                              "warranty_description": {
                                "type": "string",
                                "description": "Warranty Description: the description of the product's warranty."
                              },
                              "supplier_declared_dg_hz_regulation": {
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "enum": [
                                    "ghs",
                                    "not_applicable",
                                    "other",
                                    "storage",
                                    "transportation",
                                    "unknown",
                                    "waste"
                                  ]
                                },
                                "description": "If the product is a Dangerous Good or Hazardous Material, Substance or Waste that is regulated for transportation, storage, and/or waste select from the list of valid values"
                              }
                            },
                            "required": [
                              "country_of_origin",
                              "cpsia_cautionary_statement",
                              "warranty_description",
                              "supplier_declared_dg_hz_regulation"
                            ],
                            "additionalProperties": false
                          },
                          "variations": {
                            "type": "object",
                            "properties": {
                              "parentage_level": {
                                "type": "string",
                                "enum": [
                                  "parent",
                                  "child"
                                ],
                                "description": "Parentage Level: the SKU of the parent item."
                              },
                              "variation_theme": {
                                "type": "object",
                                "properties": {
                                  "name": {
                                    "type": "string",
                                    "enum": [
                                      "CUSTOMER_PACKAGE_TYPE",
                                      "COLOR",
                                      "COLOR_NAME",
                                      "COLOR_NAME/MATERIAL_TYPE",
                                      "COLOR_NAME/SIZE_NAME",
                                      "ITEM_SHAPE",
                                      "MATERIAL_TYPE",
                                      "MATERIAL_TYPE/COLOR_NAME",
                                      "MATERIAL_TYPE/SIZE_NAME",
                                      "NUMBER_OF_ITEMS",
                                      "PAPER_SIZE",
                                      "SIZE",
                                      "SIZE/COLOR",
                                      "SIZE_NAME",
                                      "SIZE_NAME/COLOR_NAME",
                                      "SIZE_NAME/NUMBER_OF_ITEMS",
                                      "SIZE_NAME/STYLE_NAME",
                                      "SPECIAL_SIZE_TYPE/SIZE_NAME",
                                      "SPECIAL_SIZE_TYPE/SIZE_NAME/COLOR_NAME",
                                      "SPECIAL_SIZE_TYPE/SIZE_NAME/MATERIAL_TYPE",
                                      "STYLE_NAME"
                                    ],
                                    "description": "Variation Theme Name: Specify the variation theme that the product will use. The theme's attributes must be populated for all items in the grouping."
                                  }
                                },
                                "additionalProperties": false
                              },
                              "child_parent_sku_relationship": {
                                "type": "object",
                                "properties": {
                                  "child_relationship_type": {
                                    "type": "string",
                                    "enum": [
                                      "variation"
                                    ],
                                    "description": "Child Relationship Type: the relationship that the child has to the parent."
                                  },
                                  "parent_sku": {
                                    "type": "string",
                                    "description": "Parent SKU: the SKU of the parent item."
                                  }
                                },
                                "required": [
                                  "child_relationship_type"
                                ],
                                "additionalProperties": false,
                                "description": "Child Parent Sku Relationship: the attribute indicates the Child Parent Sku Relationship of the product."
                              }
                            },
                            "required": [
                              "variation_theme"
                            ],
                            "additionalProperties": false,
                            "description": "Variations: Variations that product will use."
                          },
                          "image": {
                            "type": "object",
                            "properties": {
                              "main_product_image_locator": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Main Image URL: the URL where the main product-specific image of the product is located."
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Main Product Image Locator: the attribute indicates the Main Product Image Locator of the product."
                              },
                              "other_product_image_locator_1": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 1: the attribute indicates the Other Product Image Locator 1 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_2": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 2: the attribute indicates the Other Product Image Locator 2 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_3": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 3: the attribute indicates the Other Product Image Locator 3 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_4": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 4: the attribute indicates the Other Product Image Locator 4 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_5": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 5: the attribute indicates the Other Product Image Locator 5 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_6": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 6: the attribute indicates the Other Product Image Locator 6 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_7": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 7: the attribute indicates the Other Product Image Locator 7 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_8": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 8: the attribute indicates the Other Product Image Locator 8 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              }
                            },
                            "required": [
                              "main_product_image_locator"
                            ],
                            "additionalProperties": false
                          },
                          "offer": {
                            "type": "object",
                            "properties": {
                              "deprecated_offering_start_date": {
                                "type": "string",
                                "description": "Offering Start Date: the date when customers can purchase the product using YYYY-MM-DD format."
                              },
                              "condition_type": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "enum": [
                                  "new_new",
                                  "new_open_box",
                                  "new_oem",
                                  "refurbished_refurbished",
                                  "used_like_new",
                                  "used_very_good",
                                  "used_good",
                                  "used_acceptable",
                                  "collectible_like_new",
                                  "collectible_very_good",
                                  "collectible_good",
                                  "collectible_acceptable",
                                  "club_club"
                                ],
                                "description": "Offering Condition Type: the actual condition type of the product. Use one of these types: https://developer-docs.amazon.com/sp-api/docs/listings-items-api-v2021-08-01-reference#conditiontype. If null is passed in, this field will be defaulted to 'new_new'."
                              },
                              "fulfillment_availability": {
                                "type": "object",
                                "properties": {
                                  "fulfillment_channel_code": {
                                    "type": "string",
                                    "enum": [
                                      "AMAZON_NA",
                                      "DEFAULT"
                                    ],
                                    "description": "Fulfillment Channel Code: For those merchants using Amazon fulfillment services, this designates which fulfillment network will be used. Specifying a value other than DEFAULT will cancel the Merchant-fulfilled offering."
                                  },
                                  "quantity": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "description": "Quantity: the quantity of the item you are making available for sale.  This is your current INVENTORY commitment (as a whole number). Quantity is required for all “child” or stand-alone items. If left blank when first submitting the product information, the item will be displayed as “Out of stock.”  Do not enter quantity for parent items. Amazon-fulfilled products: Do not enter quantity, as it is not applicable for products fulfilled by Amazon.  Instead, submit fulfillment center id in a separate column (see data definition for details)."
                                  }
                                },
                                "required": [
                                  "fulfillment_channel_code",
                                  "quantity"
                                ],
                                "additionalProperties": false
                              },
                              "main_offer_image_locator": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Main Image URL: the URL where the main offer-specific image of the product is located."
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Main Offer Image Locator: Provide the location of the image."
                              },
                              "other_offer_image_locator_1": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Offer Image Locator 1: the attribute indicates the Other Offer Image Locator 1 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_offer_image_locator_2": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Offer Image Locator 2: the attribute indicates the Other Offer Image Locator 2 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_offer_image_locator_3": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Offer Image Locator 3: the attribute indicates the Other Offer Image Locator 3 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_offer_image_locator_4": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Offer Image Locator 4: the attribute indicates the Other Offer Image Locator 4 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_offer_image_locator_5": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Offer Image Locator 5: the attribute indicates the Other Offer Image Locator 5 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "purchasable_offer": {
                                "type": "object",
                                "properties": {
                                  "currency": {
                                    "type": "string",
                                    "description": "Currency: the corresponding currency"
                                  },
                                  "our_price": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "schedule": {
                                          "type": "array",
                                          "items": {
                                            "type": "object",
                                            "properties": {
                                              "value_with_tax": {
                                                "type": "number",
                                                "description": "Your Price: the base price of an item."
                                              }
                                            },
                                            "required": [
                                              "value_with_tax"
                                            ],
                                            "additionalProperties": false
                                          }
                                        }
                                      },
                                      "required": [
                                        "schedule"
                                      ],
                                      "additionalProperties": false
                                    }
                                  }
                                },
                                "required": [
                                  "our_price"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "required": [
                              "deprecated_offering_start_date",
                              "condition_type",
                              "fulfillment_availability",
                              "purchasable_offer"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "required": [
                          "shipping",
                          "product_details",
                          "product_identity",
                          "safety_and_compliance",
                          "image",
                          "offer"
                        ],
                        "additionalProperties": false
                      },
                      "display_album": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "safety_and_compliance": {
                            "type": "object",
                            "properties": {
                              "batteries_required": {
                                "type": "string",
                                "enum": [
                                  "false"
                                ],
                                "description": "Are batteries required: input 'true' if batteries are required to power the item (or if the item is a battery) or 'false' if they are not. Please note that an internal rechargeable battery is also considered a battery."
                              },
                              "country_of_origin": {
                                "type": "string",
                                "description": "Country/Region of Origin: the product's country/region of origin. Input will be the 2 letter code of the country/region."
                              },
                              "cpsia_cautionary_statement": {
                                "type": "string",
                                "enum": [
                                  "choking_hazard_balloon",
                                  "choking_hazard_contains_a_marble",
                                  "choking_hazard_contains_small_ball",
                                  "choking_hazard_is_a_marble",
                                  "choking_hazard_is_a_small_ball",
                                  "choking_hazard_small_parts",
                                  "no_warning_applicable"
                                ],
                                "description": "Mandatory Cautionary Statement: relevant cautionary statements for the product as defined in Section 24 of the FHSA and section 105 of the CPSIA. The statements must be displayed on the product packaging and it is your responsibility to supply relevant statements."
                              },
                              "supplier_declared_dg_hz_regulation": {
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "enum": [
                                    "ghs",
                                    "not_applicable",
                                    "other",
                                    "storage",
                                    "transportation",
                                    "unknown",
                                    "waste"
                                  ]
                                },
                                "description": "If the product is a Dangerous Good or Hazardous Material, Substance or Waste that is regulated for transportation, storage, and/or waste select from the list of valid values"
                              }
                            },
                            "required": [
                              "batteries_required",
                              "country_of_origin",
                              "cpsia_cautionary_statement",
                              "supplier_declared_dg_hz_regulation"
                            ],
                            "additionalProperties": false
                          },
                          "product_identity": {
                            "type": "object",
                            "properties": {
                              "item_name": {
                                "type": "string",
                                "description": "Product Name: the title for the item that may be customer facing. Max. 250 characters. Please include the size and color of the item in the Product Name, if available.  If this field is populated, we will not use the top level 'name' field value."
                              },
                              "item_type_keyword": {
                                "type": "string",
                                "description": "Category (item-type): information is used to determine where your product will be displayed.  By selecting the most relevant term, you increase the chance that buyers will find this product. What is the item that you are selling?"
                              },
                              "manufacturer": {
                                "type": "string",
                                "description": "Manufacturer: he full name of the publisher who issued the product."
                              },
                              "model_name": {
                                "type": "string",
                                "description": "Model Name: the model name of the product as defined by the manufacturer or brand excluding item type, color, brand or size."
                              },
                              "model_number": {
                                "type": "string",
                                "description": "Model Number: the manufacturer's model number for the item."
                              },
                              "brand": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "enum": [
                                  "Generic"
                                ],
                                "description": "Brand Name: the brand name of the product. An alphanumeric string; 1 character minimum in length and 50 characters maximum in length. If null is passed in, this field will be defaulted to 'Generic'."
                              }
                            },
                            "required": [
                              "item_name",
                              "item_type_keyword",
                              "manufacturer",
                              "model_name",
                              "model_number",
                              "brand"
                            ],
                            "additionalProperties": false
                          },
                          "product_details": {
                            "type": "object",
                            "properties": {
                              "item_type_name": {
                                "type": "string",
                                "description": "Item Type Name: a customer-facing one to two-word phrase that describes the type of item the product is."
                              },
                              "number_of_items": {
                                "type": "integer",
                                "minimum": 0,
                                "description": "Number of Items: the total number of identical items in the selling unit to the customer."
                              },
                              "product_description": {
                                "type": "string",
                                "description": "Product Description: the text description of the product. This information will appear in paragraph form on the detail page of your product. Include unique product features, product line details, and product specifications. Do not use all caps. If this field is populated, we will not use the top level 'description' field value."
                              },
                              "bullet_point": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "Bullet Point: brief descriptive text, called out via a bullet point, regarding a specific aspect of the product. These display directly under or next to your product photo, it is useful to put interesting information in these fields. Do NOT use all caps or abbreviations. Please do NOT use for fabric content, care instructions or country as these are populated in different fields."
                              },
                              "included_components": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "Included Components: the items that are included with this product."
                              },
                              "unit_count": {
                                "type": "object",
                                "properties": {
                                  "value": {
                                    "type": "string",
                                    "description": "Unit Count: For products that are consumed by volume, weight, linear dimension, etc., provide the net quantity that would be shipped to a customer who orders one ASIN (e.g. 12 pack of 6 floz. bottles of water = 72, vs. a single 2 liter bottle = 2). For products consumed as individual units, provide the total number of units (pack of 12 pens = 12). For packed assortments of non-identical items, enter 1."
                                  },
                                  "type": {
                                    "type": "object",
                                    "properties": {
                                      "value": {
                                        "type": "string",
                                        "enum": [
                                          "Count",
                                          "Fl Oz",
                                          "Foot",
                                          "Gram",
                                          "Ounce",
                                          "Pound",
                                          "Sq Ft"
                                        ],
                                        "description": "Unit Count Type: For items consumed by volume, weight, linear dimension etc., provide the unit of measure listed on the products. For products consumed as individual units, enter: count"
                                      }
                                    },
                                    "required": [
                                      "value"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "required": [
                                  "value",
                                  "type"
                                ],
                                "additionalProperties": false,
                                "description": "Unit Count: the number of units and the unit type of the product."
                              }
                            },
                            "required": [
                              "item_type_name",
                              "number_of_items",
                              "product_description",
                              "bullet_point",
                              "included_components",
                              "unit_count"
                            ],
                            "additionalProperties": false
                          },
                          "variations": {
                            "type": "object",
                            "properties": {
                              "parentage_level": {
                                "type": "string",
                                "enum": [
                                  "parent",
                                  "child"
                                ],
                                "description": "Parentage Level: the SKU of the parent item."
                              },
                              "variation_theme": {
                                "type": "object",
                                "properties": {
                                  "name": {
                                    "type": "string",
                                    "enum": [
                                      "CUSTOMER_PACKAGE_TYPE",
                                      "COLOR",
                                      "COLOR_NAME",
                                      "COLOR_NAME/MATERIAL_TYPE",
                                      "COLOR_NAME/SIZE_NAME",
                                      "ITEM_SHAPE",
                                      "MATERIAL_TYPE",
                                      "MATERIAL_TYPE/COLOR_NAME",
                                      "MATERIAL_TYPE/SIZE_NAME",
                                      "NUMBER_OF_ITEMS",
                                      "PAPER_SIZE",
                                      "SIZE",
                                      "SIZE/COLOR",
                                      "SIZE_NAME",
                                      "SIZE_NAME/COLOR_NAME",
                                      "SIZE_NAME/NUMBER_OF_ITEMS",
                                      "SIZE_NAME/STYLE_NAME",
                                      "SPECIAL_SIZE_TYPE/SIZE_NAME",
                                      "SPECIAL_SIZE_TYPE/SIZE_NAME/COLOR_NAME",
                                      "SPECIAL_SIZE_TYPE/SIZE_NAME/MATERIAL_TYPE",
                                      "STYLE_NAME"
                                    ],
                                    "description": "Variation Theme Name: Specify the variation theme that the product will use. The theme's attributes must be populated for all items in the grouping."
                                  }
                                },
                                "additionalProperties": false
                              },
                              "child_parent_sku_relationship": {
                                "type": "object",
                                "properties": {
                                  "child_relationship_type": {
                                    "type": "string",
                                    "enum": [
                                      "variation"
                                    ],
                                    "description": "Child Relationship Type: the relationship that the child has to the parent."
                                  },
                                  "parent_sku": {
                                    "type": "string",
                                    "description": "Parent SKU: the SKU of the parent item."
                                  }
                                },
                                "required": [
                                  "child_relationship_type"
                                ],
                                "additionalProperties": false,
                                "description": "Child Parent Sku Relationship: the attribute indicates the Child Parent Sku Relationship of the product."
                              }
                            },
                            "required": [
                              "variation_theme"
                            ],
                            "additionalProperties": false,
                            "description": "Variations: Variations that product will use."
                          },
                          "shipping": {
                            "type": "object",
                            "properties": {
                              "item_package_weight": {
                                "type": "object",
                                "properties": {
                                  "unit": {
                                    "type": "string",
                                    "enum": [
                                      "grams",
                                      "kilograms",
                                      "milligrams",
                                      "ounces",
                                      "pounds"
                                    ]
                                  },
                                  "value": {
                                    "type": "number",
                                    "minimum": 0
                                  }
                                },
                                "required": [
                                  "unit",
                                  "value"
                                ],
                                "additionalProperties": false,
                                "description": "Package Weight: the weight in original package."
                              },
                              "item_package_dimensions": {
                                "type": "object",
                                "properties": {
                                  "height": {
                                    "type": "object",
                                    "properties": {
                                      "unit": {
                                        "type": "string",
                                        "enum": [
                                          "centimeters",
                                          "feet",
                                          "inches",
                                          "meters",
                                          "millimeters",
                                          "yards"
                                        ]
                                      },
                                      "value": {
                                        "type": "number",
                                        "minimum": 0
                                      }
                                    },
                                    "required": [
                                      "unit",
                                      "value"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "length": {
                                    "type": "object",
                                    "properties": {
                                      "unit": {
                                        "type": "string",
                                        "enum": [
                                          "centimeters",
                                          "feet",
                                          "inches",
                                          "meters",
                                          "millimeters",
                                          "yards"
                                        ]
                                      },
                                      "value": {
                                        "type": "number",
                                        "minimum": 0
                                      }
                                    },
                                    "required": [
                                      "unit",
                                      "value"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "width": {
                                    "type": "object",
                                    "properties": {
                                      "unit": {
                                        "type": "string",
                                        "enum": [
                                          "centimeters",
                                          "feet",
                                          "inches",
                                          "meters",
                                          "millimeters",
                                          "yards"
                                        ]
                                      },
                                      "value": {
                                        "type": "number",
                                        "minimum": 0
                                      }
                                    },
                                    "required": [
                                      "unit",
                                      "value"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "required": [
                                  "height",
                                  "length",
                                  "width"
                                ],
                                "additionalProperties": false,
                                "description": "Item Package Dimensions: the item's package dimensions."
                              }
                            },
                            "required": [
                              "item_package_weight",
                              "item_package_dimensions"
                            ],
                            "additionalProperties": false
                          },
                          "image": {
                            "type": "object",
                            "properties": {
                              "main_product_image_locator": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Main Image URL: the URL where the main product-specific image of the product is located."
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Main Product Image Locator: the attribute indicates the Main Product Image Locator of the product."
                              },
                              "other_product_image_locator_1": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 1: the attribute indicates the Other Product Image Locator 1 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_2": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 2: the attribute indicates the Other Product Image Locator 2 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_3": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 3: the attribute indicates the Other Product Image Locator 3 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_4": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 4: the attribute indicates the Other Product Image Locator 4 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_5": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 5: the attribute indicates the Other Product Image Locator 5 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_6": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 6: the attribute indicates the Other Product Image Locator 6 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_7": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 7: the attribute indicates the Other Product Image Locator 7 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_8": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 8: the attribute indicates the Other Product Image Locator 8 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              }
                            },
                            "required": [
                              "main_product_image_locator"
                            ],
                            "additionalProperties": false
                          },
                          "offer": {
                            "type": "object",
                            "properties": {
                              "condition_type": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "enum": [
                                  "new_new",
                                  "new_open_box",
                                  "new_oem",
                                  "refurbished_refurbished",
                                  "used_like_new",
                                  "used_very_good",
                                  "used_good",
                                  "used_acceptable",
                                  "collectible_like_new",
                                  "collectible_very_good",
                                  "collectible_good",
                                  "collectible_acceptable",
                                  "club_club"
                                ],
                                "description": "Offering Condition Type: the actual condition type of the product. Use one of these types: https://developer-docs.amazon.com/sp-api/docs/listings-items-api-v2021-08-01-reference#conditiontype. If null is passed in, this field will be defaulted to 'new_new'."
                              },
                              "fulfillment_availability": {
                                "type": "object",
                                "properties": {
                                  "fulfillment_channel_code": {
                                    "type": "string",
                                    "enum": [
                                      "AMAZON_NA",
                                      "DEFAULT"
                                    ],
                                    "description": "Fulfillment Channel Code: For those merchants using Amazon fulfillment services, this designates which fulfillment network will be used. Specifying a value other than DEFAULT will cancel the Merchant-fulfilled offering."
                                  },
                                  "quantity": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "description": "Quantity: the quantity of the item you are making available for sale.  This is your current INVENTORY commitment (as a whole number). Quantity is required for all “child” or stand-alone items. If left blank when first submitting the product information, the item will be displayed as “Out of stock.”  Do not enter quantity for parent items. Amazon-fulfilled products: Do not enter quantity, as it is not applicable for products fulfilled by Amazon.  Instead, submit fulfillment center id in a separate column (see data definition for details)."
                                  }
                                },
                                "required": [
                                  "fulfillment_channel_code",
                                  "quantity"
                                ],
                                "additionalProperties": false
                              },
                              "main_offer_image_locator": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Main Image URL: the URL where the main offer-specific image of the product is located."
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Main Offer Image Locator: Provide the location of the image."
                              },
                              "other_offer_image_locator_1": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Offer Image Locator 1: the attribute indicates the Other Offer Image Locator 1 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_offer_image_locator_2": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Offer Image Locator 2: the attribute indicates the Other Offer Image Locator 2 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_offer_image_locator_3": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Offer Image Locator 3: the attribute indicates the Other Offer Image Locator 3 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_offer_image_locator_4": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Offer Image Locator 4: the attribute indicates the Other Offer Image Locator 4 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_offer_image_locator_5": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Offer Image Locator 5: the attribute indicates the Other Offer Image Locator 5 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "purchasable_offer": {
                                "type": "object",
                                "properties": {
                                  "currency": {
                                    "type": "string",
                                    "description": "Currency: the corresponding currency"
                                  },
                                  "our_price": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "schedule": {
                                          "type": "array",
                                          "items": {
                                            "type": "object",
                                            "properties": {
                                              "value_with_tax": {
                                                "type": "number",
                                                "description": "Your Price: the base price of an item."
                                              }
                                            },
                                            "required": [
                                              "value_with_tax"
                                            ],
                                            "additionalProperties": false
                                          }
                                        }
                                      },
                                      "required": [
                                        "schedule"
                                      ],
                                      "additionalProperties": false
                                    }
                                  }
                                },
                                "required": [
                                  "our_price"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "required": [
                              "condition_type",
                              "fulfillment_availability",
                              "purchasable_offer"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "required": [
                          "safety_and_compliance",
                          "product_identity",
                          "product_details",
                          "shipping",
                          "image",
                          "offer"
                        ],
                        "additionalProperties": false
                      },
                      "decorative_cutout": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "safety_and_compliance": {
                            "type": "object",
                            "properties": {
                              "batteries_required": {
                                "type": "string",
                                "enum": [
                                  "false"
                                ],
                                "description": "Are batteries required: input 'true' if batteries are required to power the item (or if the item is a battery) or 'false' if they are not. Please note that an internal rechargeable battery is also considered a battery."
                              },
                              "country_of_origin": {
                                "type": "string",
                                "description": "Country/Region of Origin: the product's country/region of origin. Input will be the 2 letter code of the country/region."
                              },
                              "cpsia_cautionary_statement": {
                                "type": "string",
                                "enum": [
                                  "choking_hazard_balloon",
                                  "choking_hazard_contains_a_marble",
                                  "choking_hazard_contains_small_ball",
                                  "choking_hazard_is_a_marble",
                                  "choking_hazard_is_a_small_ball",
                                  "choking_hazard_small_parts",
                                  "no_warning_applicable"
                                ],
                                "description": "Mandatory Cautionary Statement: relevant cautionary statements for the product as defined in Section 24 of the FHSA and section 105 of the CPSIA. The statements must be displayed on the product packaging and it is your responsibility to supply relevant statements."
                              },
                              "supplier_declared_dg_hz_regulation": {
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "enum": [
                                    "ghs",
                                    "not_applicable",
                                    "other",
                                    "storage",
                                    "transportation",
                                    "unknown",
                                    "waste"
                                  ]
                                },
                                "description": "If the product is a Dangerous Good or Hazardous Material, Substance or Waste that is regulated for transportation, storage, and/or waste select from the list of valid values"
                              }
                            },
                            "required": [
                              "batteries_required",
                              "country_of_origin",
                              "cpsia_cautionary_statement",
                              "supplier_declared_dg_hz_regulation"
                            ],
                            "additionalProperties": false
                          },
                          "product_identity": {
                            "type": "object",
                            "properties": {
                              "item_name": {
                                "type": "string",
                                "description": "Product Name: the title for the item that may be customer facing. Max. 250 characters. Please include the size and color of the item in the Product Name, if available.  If this field is populated, we will not use the top level 'name' field value."
                              },
                              "item_type_keyword": {
                                "type": "string",
                                "description": "Category (item-type): information is used to determine where your product will be displayed.  By selecting the most relevant term, you increase the chance that buyers will find this product. What is the item that you are selling?"
                              },
                              "manufacturer": {
                                "type": "string",
                                "description": "Manufacturer: he full name of the publisher who issued the product."
                              },
                              "model_name": {
                                "type": "string",
                                "description": "Model Name: the model name of the product as defined by the manufacturer or brand excluding item type, color, brand or size."
                              },
                              "model_number": {
                                "type": "string",
                                "description": "Model Number: the manufacturer's model number for the item."
                              },
                              "brand": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "enum": [
                                  "Generic"
                                ],
                                "description": "Brand Name: the brand name of the product. An alphanumeric string; 1 character minimum in length and 50 characters maximum in length. If null is passed in, this field will be defaulted to 'Generic'."
                              }
                            },
                            "required": [
                              "item_name",
                              "item_type_keyword",
                              "manufacturer",
                              "model_name",
                              "model_number",
                              "brand"
                            ],
                            "additionalProperties": false
                          },
                          "variations": {
                            "type": "object",
                            "properties": {
                              "parentage_level": {
                                "type": "string",
                                "enum": [
                                  "parent",
                                  "child"
                                ],
                                "description": "Parentage Level: the SKU of the parent item."
                              },
                              "variation_theme": {
                                "type": "object",
                                "properties": {
                                  "name": {
                                    "type": "string",
                                    "enum": [
                                      "CUSTOMER_PACKAGE_TYPE",
                                      "COLOR",
                                      "COLOR_NAME",
                                      "COLOR_NAME/MATERIAL_TYPE",
                                      "COLOR_NAME/SIZE_NAME",
                                      "ITEM_SHAPE",
                                      "MATERIAL_TYPE",
                                      "MATERIAL_TYPE/COLOR_NAME",
                                      "MATERIAL_TYPE/SIZE_NAME",
                                      "NUMBER_OF_ITEMS",
                                      "PAPER_SIZE",
                                      "SIZE",
                                      "SIZE/COLOR",
                                      "SIZE_NAME",
                                      "SIZE_NAME/COLOR_NAME",
                                      "SIZE_NAME/NUMBER_OF_ITEMS",
                                      "SIZE_NAME/STYLE_NAME",
                                      "SPECIAL_SIZE_TYPE/SIZE_NAME",
                                      "SPECIAL_SIZE_TYPE/SIZE_NAME/COLOR_NAME",
                                      "SPECIAL_SIZE_TYPE/SIZE_NAME/MATERIAL_TYPE",
                                      "STYLE_NAME"
                                    ],
                                    "description": "Variation Theme Name: Specify the variation theme that the product will use. The theme's attributes must be populated for all items in the grouping."
                                  }
                                },
                                "additionalProperties": false
                              },
                              "child_parent_sku_relationship": {
                                "type": "object",
                                "properties": {
                                  "child_relationship_type": {
                                    "type": "string",
                                    "enum": [
                                      "variation"
                                    ],
                                    "description": "Child Relationship Type: the relationship that the child has to the parent."
                                  },
                                  "parent_sku": {
                                    "type": "string",
                                    "description": "Parent SKU: the SKU of the parent item."
                                  }
                                },
                                "required": [
                                  "child_relationship_type"
                                ],
                                "additionalProperties": false,
                                "description": "Child Parent Sku Relationship: the attribute indicates the Child Parent Sku Relationship of the product."
                              }
                            },
                            "required": [
                              "variation_theme"
                            ],
                            "additionalProperties": false,
                            "description": "Variations: Variations that product will use."
                          },
                          "product_details": {
                            "type": "object",
                            "properties": {
                              "item_shape": {
                                "type": "string",
                                "description": "Shape: The shape of the item."
                              },
                              "item_type_name": {
                                "type": "string",
                                "description": "Item Type Name: a customer-facing one to two-word phrase that describes the type of item the product is."
                              },
                              "number_of_items": {
                                "type": "integer",
                                "minimum": 0,
                                "description": "Number of Items: the total number of identical items in the selling unit to the customer."
                              },
                              "part_number": {
                                "type": "string",
                                "description": "Part Number: If applicable, please submit the manufacturer's part number for the product.  For most products, this will be identical to the model number; however, some manufacturers distinguish part number from model number."
                              },
                              "product_description": {
                                "type": "string",
                                "description": "Product Description: the text description of the product. This information will appear in paragraph form on the detail page of your product. Include unique product features, product line details, and product specifications. Do not use all caps. If this field is populated, we will not use the top level 'description' field value."
                              },
                              "bullet_point": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "Bullet Point: brief descriptive text, called out via a bullet point, regarding a specific aspect of the product. These display directly under or next to your product photo, it is useful to put interesting information in these fields. Do NOT use all caps or abbreviations. Please do NOT use for fabric content, care instructions or country as these are populated in different fields."
                              },
                              "color": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Color: the color of the product. If null is passed in, this field will be defaulted to 'Cranberry'."
                              },
                              "fabric_type": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Fabric Type: list all fabrics separated by ','. Indicate with % composition. Always add 'Viscose' or 'Rayon' instead of 'Bamboo', and 'Azlon' for Soy. If null is passed in, this field will be defaulted to '100% Cotton'."
                              },
                              "material": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "Material: the primary materials used for manufacturing the item."
                              }
                            },
                            "required": [
                              "item_shape",
                              "item_type_name",
                              "number_of_items",
                              "part_number",
                              "product_description",
                              "bullet_point",
                              "color",
                              "fabric_type",
                              "material"
                            ],
                            "additionalProperties": false
                          },
                          "shipping": {
                            "type": "object",
                            "properties": {
                              "item_package_weight": {
                                "type": "object",
                                "properties": {
                                  "unit": {
                                    "type": "string",
                                    "enum": [
                                      "grams",
                                      "kilograms",
                                      "milligrams",
                                      "ounces",
                                      "pounds"
                                    ]
                                  },
                                  "value": {
                                    "type": "number",
                                    "minimum": 0
                                  }
                                },
                                "required": [
                                  "unit",
                                  "value"
                                ],
                                "additionalProperties": false,
                                "description": "Package Weight: the weight in original package."
                              },
                              "item_package_dimensions": {
                                "type": "object",
                                "properties": {
                                  "height": {
                                    "type": "object",
                                    "properties": {
                                      "unit": {
                                        "type": "string",
                                        "enum": [
                                          "centimeters",
                                          "feet",
                                          "inches",
                                          "meters",
                                          "millimeters",
                                          "yards"
                                        ]
                                      },
                                      "value": {
                                        "type": "number",
                                        "minimum": 0
                                      }
                                    },
                                    "required": [
                                      "unit",
                                      "value"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "length": {
                                    "type": "object",
                                    "properties": {
                                      "unit": {
                                        "type": "string",
                                        "enum": [
                                          "centimeters",
                                          "feet",
                                          "inches",
                                          "meters",
                                          "millimeters",
                                          "yards"
                                        ]
                                      },
                                      "value": {
                                        "type": "number",
                                        "minimum": 0
                                      }
                                    },
                                    "required": [
                                      "unit",
                                      "value"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "width": {
                                    "type": "object",
                                    "properties": {
                                      "unit": {
                                        "type": "string",
                                        "enum": [
                                          "centimeters",
                                          "feet",
                                          "inches",
                                          "meters",
                                          "millimeters",
                                          "yards"
                                        ]
                                      },
                                      "value": {
                                        "type": "number",
                                        "minimum": 0
                                      }
                                    },
                                    "required": [
                                      "unit",
                                      "value"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "required": [
                                  "height",
                                  "length",
                                  "width"
                                ],
                                "additionalProperties": false,
                                "description": "Item Package Dimensions: the item's package dimensions."
                              }
                            },
                            "required": [
                              "item_package_weight",
                              "item_package_dimensions"
                            ],
                            "additionalProperties": false
                          },
                          "image": {
                            "type": "object",
                            "properties": {
                              "main_product_image_locator": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Main Image URL: the URL where the main product-specific image of the product is located."
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Main Product Image Locator: the attribute indicates the Main Product Image Locator of the product."
                              },
                              "other_product_image_locator_1": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 1: the attribute indicates the Other Product Image Locator 1 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_2": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 2: the attribute indicates the Other Product Image Locator 2 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_3": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 3: the attribute indicates the Other Product Image Locator 3 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_4": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 4: the attribute indicates the Other Product Image Locator 4 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_5": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 5: the attribute indicates the Other Product Image Locator 5 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_6": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 6: the attribute indicates the Other Product Image Locator 6 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_7": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 7: the attribute indicates the Other Product Image Locator 7 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_8": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 8: the attribute indicates the Other Product Image Locator 8 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              }
                            },
                            "required": [
                              "main_product_image_locator"
                            ],
                            "additionalProperties": false
                          },
                          "offer": {
                            "type": "object",
                            "properties": {
                              "condition_type": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "enum": [
                                  "new_new",
                                  "new_open_box",
                                  "new_oem",
                                  "refurbished_refurbished",
                                  "used_like_new",
                                  "used_very_good",
                                  "used_good",
                                  "used_acceptable",
                                  "collectible_like_new",
                                  "collectible_very_good",
                                  "collectible_good",
                                  "collectible_acceptable",
                                  "club_club"
                                ],
                                "description": "Offering Condition Type: the actual condition type of the product. Use one of these types: https://developer-docs.amazon.com/sp-api/docs/listings-items-api-v2021-08-01-reference#conditiontype. If null is passed in, this field will be defaulted to 'new_new'."
                              },
                              "fulfillment_availability": {
                                "type": "object",
                                "properties": {
                                  "fulfillment_channel_code": {
                                    "type": "string",
                                    "enum": [
                                      "AMAZON_NA",
                                      "DEFAULT"
                                    ],
                                    "description": "Fulfillment Channel Code: For those merchants using Amazon fulfillment services, this designates which fulfillment network will be used. Specifying a value other than DEFAULT will cancel the Merchant-fulfilled offering."
                                  },
                                  "quantity": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "description": "Quantity: the quantity of the item you are making available for sale.  This is your current INVENTORY commitment (as a whole number). Quantity is required for all “child” or stand-alone items. If left blank when first submitting the product information, the item will be displayed as “Out of stock.”  Do not enter quantity for parent items. Amazon-fulfilled products: Do not enter quantity, as it is not applicable for products fulfilled by Amazon.  Instead, submit fulfillment center id in a separate column (see data definition for details)."
                                  }
                                },
                                "required": [
                                  "fulfillment_channel_code",
                                  "quantity"
                                ],
                                "additionalProperties": false
                              },
                              "main_offer_image_locator": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Main Image URL: the URL where the main offer-specific image of the product is located."
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Main Offer Image Locator: Provide the location of the image."
                              },
                              "other_offer_image_locator_1": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Offer Image Locator 1: the attribute indicates the Other Offer Image Locator 1 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_offer_image_locator_2": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Offer Image Locator 2: the attribute indicates the Other Offer Image Locator 2 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_offer_image_locator_3": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Offer Image Locator 3: the attribute indicates the Other Offer Image Locator 3 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_offer_image_locator_4": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Offer Image Locator 4: the attribute indicates the Other Offer Image Locator 4 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_offer_image_locator_5": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Offer Image Locator 5: the attribute indicates the Other Offer Image Locator 5 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "purchasable_offer": {
                                "type": "object",
                                "properties": {
                                  "currency": {
                                    "type": "string",
                                    "description": "Currency: the corresponding currency"
                                  },
                                  "our_price": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "schedule": {
                                          "type": "array",
                                          "items": {
                                            "type": "object",
                                            "properties": {
                                              "value_with_tax": {
                                                "type": "number",
                                                "description": "Your Price: the base price of an item."
                                              }
                                            },
                                            "required": [
                                              "value_with_tax"
                                            ],
                                            "additionalProperties": false
                                          }
                                        }
                                      },
                                      "required": [
                                        "schedule"
                                      ],
                                      "additionalProperties": false
                                    }
                                  }
                                },
                                "required": [
                                  "our_price"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "required": [
                              "condition_type",
                              "fulfillment_availability",
                              "purchasable_offer"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "required": [
                          "safety_and_compliance",
                          "product_identity",
                          "product_details",
                          "shipping",
                          "image",
                          "offer"
                        ],
                        "additionalProperties": false
                      },
                      "cellular_phone_case": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "product_identity": {
                            "type": "object",
                            "properties": {
                              "item_name": {
                                "type": "string",
                                "description": "Product Name: the title for the item that may be customer facing. Max. 250 characters. Please include the size and color of the item in the Product Name, if available.  If this field is populated, we will not use the top level 'name' field value."
                              },
                              "item_type_keyword": {
                                "type": "string",
                                "description": "Category (item-type): information is used to determine where your product will be displayed.  By selecting the most relevant term, you increase the chance that buyers will find this product. What is the item that you are selling?"
                              },
                              "manufacturer": {
                                "type": "string",
                                "description": "Manufacturer: he full name of the publisher who issued the product."
                              },
                              "brand": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "enum": [
                                  "Generic"
                                ],
                                "description": "Brand Name: the brand name of the product. An alphanumeric string; 1 character minimum in length and 50 characters maximum in length. If null is passed in, this field will be defaulted to 'Generic'."
                              }
                            },
                            "required": [
                              "item_name",
                              "item_type_keyword",
                              "manufacturer",
                              "brand"
                            ],
                            "additionalProperties": false
                          },
                          "safety_and_compliance": {
                            "type": "object",
                            "properties": {
                              "batteries_required": {
                                "type": "string",
                                "enum": [
                                  "false"
                                ],
                                "description": "Are batteries required: input 'true' if batteries are required to power the item (or if the item is a battery) or 'false' if they are not. Please note that an internal rechargeable battery is also considered a battery."
                              },
                              "country_of_origin": {
                                "type": "string",
                                "description": "Country/Region of Origin: the product's country/region of origin. Input will be the 2 letter code of the country/region."
                              },
                              "cpsia_cautionary_statement": {
                                "type": "string",
                                "enum": [
                                  "choking_hazard_balloon",
                                  "choking_hazard_contains_a_marble",
                                  "choking_hazard_contains_small_ball",
                                  "choking_hazard_is_a_marble",
                                  "choking_hazard_is_a_small_ball",
                                  "choking_hazard_small_parts",
                                  "no_warning_applicable"
                                ],
                                "description": "Mandatory Cautionary Statement: relevant cautionary statements for the product as defined in Section 24 of the FHSA and section 105 of the CPSIA. The statements must be displayed on the product packaging and it is your responsibility to supply relevant statements."
                              },
                              "warranty_description": {
                                "type": "string",
                                "description": "Warranty Description: the description of the product's warranty."
                              },
                              "supplier_declared_dg_hz_regulation": {
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "enum": [
                                    "ghs",
                                    "not_applicable",
                                    "other",
                                    "storage",
                                    "transportation",
                                    "unknown",
                                    "waste"
                                  ]
                                },
                                "description": "If the product is a Dangerous Good or Hazardous Material, Substance or Waste that is regulated for transportation, storage, and/or waste select from the list of valid values"
                              }
                            },
                            "required": [
                              "batteries_required",
                              "country_of_origin",
                              "cpsia_cautionary_statement",
                              "warranty_description",
                              "supplier_declared_dg_hz_regulation"
                            ],
                            "additionalProperties": false
                          },
                          "variations": {
                            "type": "object",
                            "properties": {
                              "parentage_level": {
                                "type": "string",
                                "enum": [
                                  "parent",
                                  "child"
                                ],
                                "description": "Parentage Level: the SKU of the parent item."
                              },
                              "variation_theme": {
                                "type": "object",
                                "properties": {
                                  "name": {
                                    "type": "string",
                                    "enum": [
                                      "CUSTOMER_PACKAGE_TYPE",
                                      "COLOR",
                                      "COLOR_NAME",
                                      "COLOR_NAME/MATERIAL_TYPE",
                                      "COLOR_NAME/SIZE_NAME",
                                      "ITEM_SHAPE",
                                      "MATERIAL_TYPE",
                                      "MATERIAL_TYPE/COLOR_NAME",
                                      "MATERIAL_TYPE/SIZE_NAME",
                                      "NUMBER_OF_ITEMS",
                                      "PAPER_SIZE",
                                      "SIZE",
                                      "SIZE/COLOR",
                                      "SIZE_NAME",
                                      "SIZE_NAME/COLOR_NAME",
                                      "SIZE_NAME/NUMBER_OF_ITEMS",
                                      "SIZE_NAME/STYLE_NAME",
                                      "SPECIAL_SIZE_TYPE/SIZE_NAME",
                                      "SPECIAL_SIZE_TYPE/SIZE_NAME/COLOR_NAME",
                                      "SPECIAL_SIZE_TYPE/SIZE_NAME/MATERIAL_TYPE",
                                      "STYLE_NAME"
                                    ],
                                    "description": "Variation Theme Name: Specify the variation theme that the product will use. The theme's attributes must be populated for all items in the grouping."
                                  }
                                },
                                "additionalProperties": false
                              },
                              "child_parent_sku_relationship": {
                                "type": "object",
                                "properties": {
                                  "child_relationship_type": {
                                    "type": "string",
                                    "enum": [
                                      "variation"
                                    ],
                                    "description": "Child Relationship Type: the relationship that the child has to the parent."
                                  },
                                  "parent_sku": {
                                    "type": "string",
                                    "description": "Parent SKU: the SKU of the parent item."
                                  }
                                },
                                "required": [
                                  "child_relationship_type"
                                ],
                                "additionalProperties": false,
                                "description": "Child Parent Sku Relationship: the attribute indicates the Child Parent Sku Relationship of the product."
                              }
                            },
                            "required": [
                              "variation_theme"
                            ],
                            "additionalProperties": false,
                            "description": "Variations: Variations that product will use."
                          },
                          "shipping": {
                            "type": "object",
                            "properties": {
                              "number_of_boxes": {
                                "type": "integer",
                                "minimum": 0,
                                "description": "Number of Boxes: the number of boxes that the product will be shipped in."
                              },
                              "item_package_weight": {
                                "type": "object",
                                "properties": {
                                  "unit": {
                                    "type": "string",
                                    "enum": [
                                      "grams",
                                      "kilograms",
                                      "milligrams",
                                      "ounces",
                                      "pounds"
                                    ]
                                  },
                                  "value": {
                                    "type": "number",
                                    "minimum": 0
                                  }
                                },
                                "required": [
                                  "unit",
                                  "value"
                                ],
                                "additionalProperties": false,
                                "description": "Package Weight: the weight in original package."
                              },
                              "item_package_dimensions": {
                                "type": "object",
                                "properties": {
                                  "height": {
                                    "type": "object",
                                    "properties": {
                                      "unit": {
                                        "type": "string",
                                        "enum": [
                                          "centimeters",
                                          "feet",
                                          "inches",
                                          "meters",
                                          "millimeters",
                                          "yards"
                                        ]
                                      },
                                      "value": {
                                        "type": "number",
                                        "minimum": 0
                                      }
                                    },
                                    "required": [
                                      "unit",
                                      "value"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "length": {
                                    "type": "object",
                                    "properties": {
                                      "unit": {
                                        "type": "string",
                                        "enum": [
                                          "centimeters",
                                          "feet",
                                          "inches",
                                          "meters",
                                          "millimeters",
                                          "yards"
                                        ]
                                      },
                                      "value": {
                                        "type": "number",
                                        "minimum": 0
                                      }
                                    },
                                    "required": [
                                      "unit",
                                      "value"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "width": {
                                    "type": "object",
                                    "properties": {
                                      "unit": {
                                        "type": "string",
                                        "enum": [
                                          "centimeters",
                                          "feet",
                                          "inches",
                                          "meters",
                                          "millimeters",
                                          "yards"
                                        ]
                                      },
                                      "value": {
                                        "type": "number",
                                        "minimum": 0
                                      }
                                    },
                                    "required": [
                                      "unit",
                                      "value"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "required": [
                                  "height",
                                  "length",
                                  "width"
                                ],
                                "additionalProperties": false,
                                "description": "Item Package Dimensions: the item's package dimensions."
                              }
                            },
                            "additionalProperties": false
                          },
                          "product_details": {
                            "type": "object",
                            "properties": {
                              "form_factor": {
                                "type": "string",
                                "description": "Form Factor: the outward design characteristics of the item."
                              },
                              "number_of_items": {
                                "type": "integer",
                                "minimum": 0,
                                "description": "Number of Items: the total number of identical items in the selling unit to the customer."
                              },
                              "part_number": {
                                "type": "string",
                                "description": "Part Number: If applicable, please submit the manufacturer's part number for the product.  For most products, this will be identical to the model number; however, some manufacturers distinguish part number from model number."
                              },
                              "pattern": {
                                "type": "string",
                                "description": "Mount Bolt Pattern: the item's pattern."
                              },
                              "product_description": {
                                "type": "string",
                                "description": "Product Description: the text description of the product. This information will appear in paragraph form on the detail page of your product. Include unique product features, product line details, and product specifications. Do not use all caps. If this field is populated, we will not use the top level 'description' field value."
                              },
                              "theme": {
                                "type": "string",
                                "description": "Theme: the theme of the product. Very similar to subject, but with more general use cases the style of the product."
                              },
                              "bullet_point": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "Bullet Point: brief descriptive text, called out via a bullet point, regarding a specific aspect of the product. These display directly under or next to your product photo, it is useful to put interesting information in these fields. Do NOT use all caps or abbreviations. Please do NOT use for fabric content, care instructions or country as these are populated in different fields."
                              },
                              "color": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Color: the color of the product. If null is passed in, this field will be defaulted to 'Cranberry'."
                              },
                              "compatible_phone_models": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "Compatible Phone Models: the phone models this product is compatible with."
                              },
                              "included_components": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "Included Components: the items that are included with this product."
                              },
                              "material": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "Material: the primary materials used for manufacturing the item."
                              },
                              "special_feature": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "Special Features: any special features an item has that distinguish it from other, comparable products."
                              }
                            },
                            "required": [
                              "form_factor",
                              "number_of_items",
                              "part_number",
                              "pattern",
                              "product_description",
                              "theme",
                              "bullet_point",
                              "color",
                              "compatible_phone_models",
                              "included_components",
                              "material",
                              "special_feature"
                            ],
                            "additionalProperties": false
                          },
                          "image": {
                            "type": "object",
                            "properties": {
                              "main_product_image_locator": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Main Image URL: the URL where the main product-specific image of the product is located."
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Main Product Image Locator: the attribute indicates the Main Product Image Locator of the product."
                              },
                              "other_product_image_locator_1": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 1: the attribute indicates the Other Product Image Locator 1 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_2": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 2: the attribute indicates the Other Product Image Locator 2 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_3": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 3: the attribute indicates the Other Product Image Locator 3 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_4": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 4: the attribute indicates the Other Product Image Locator 4 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_5": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 5: the attribute indicates the Other Product Image Locator 5 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_6": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 6: the attribute indicates the Other Product Image Locator 6 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_7": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 7: the attribute indicates the Other Product Image Locator 7 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_8": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 8: the attribute indicates the Other Product Image Locator 8 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              }
                            },
                            "required": [
                              "main_product_image_locator"
                            ],
                            "additionalProperties": false
                          },
                          "offer": {
                            "type": "object",
                            "properties": {
                              "condition_type": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "enum": [
                                  "new_new",
                                  "new_open_box",
                                  "new_oem",
                                  "refurbished_refurbished",
                                  "used_like_new",
                                  "used_very_good",
                                  "used_good",
                                  "used_acceptable",
                                  "collectible_like_new",
                                  "collectible_very_good",
                                  "collectible_good",
                                  "collectible_acceptable",
                                  "club_club"
                                ],
                                "description": "Offering Condition Type: the actual condition type of the product. Use one of these types: https://developer-docs.amazon.com/sp-api/docs/listings-items-api-v2021-08-01-reference#conditiontype. If null is passed in, this field will be defaulted to 'new_new'."
                              },
                              "fulfillment_availability": {
                                "type": "object",
                                "properties": {
                                  "fulfillment_channel_code": {
                                    "type": "string",
                                    "enum": [
                                      "AMAZON_NA",
                                      "DEFAULT"
                                    ],
                                    "description": "Fulfillment Channel Code: For those merchants using Amazon fulfillment services, this designates which fulfillment network will be used. Specifying a value other than DEFAULT will cancel the Merchant-fulfilled offering."
                                  },
                                  "quantity": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "description": "Quantity: the quantity of the item you are making available for sale.  This is your current INVENTORY commitment (as a whole number). Quantity is required for all “child” or stand-alone items. If left blank when first submitting the product information, the item will be displayed as “Out of stock.”  Do not enter quantity for parent items. Amazon-fulfilled products: Do not enter quantity, as it is not applicable for products fulfilled by Amazon.  Instead, submit fulfillment center id in a separate column (see data definition for details)."
                                  }
                                },
                                "required": [
                                  "fulfillment_channel_code",
                                  "quantity"
                                ],
                                "additionalProperties": false
                              },
                              "main_offer_image_locator": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Main Image URL: the URL where the main offer-specific image of the product is located."
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Main Offer Image Locator: Provide the location of the image."
                              },
                              "other_offer_image_locator_1": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Offer Image Locator 1: the attribute indicates the Other Offer Image Locator 1 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_offer_image_locator_2": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Offer Image Locator 2: the attribute indicates the Other Offer Image Locator 2 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_offer_image_locator_3": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Offer Image Locator 3: the attribute indicates the Other Offer Image Locator 3 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_offer_image_locator_4": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Offer Image Locator 4: the attribute indicates the Other Offer Image Locator 4 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_offer_image_locator_5": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Offer Image Locator 5: the attribute indicates the Other Offer Image Locator 5 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "purchasable_offer": {
                                "type": "object",
                                "properties": {
                                  "currency": {
                                    "type": "string",
                                    "description": "Currency: the corresponding currency"
                                  },
                                  "our_price": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "schedule": {
                                          "type": "array",
                                          "items": {
                                            "type": "object",
                                            "properties": {
                                              "value_with_tax": {
                                                "type": "number",
                                                "description": "Your Price: the base price of an item."
                                              }
                                            },
                                            "required": [
                                              "value_with_tax"
                                            ],
                                            "additionalProperties": false
                                          }
                                        }
                                      },
                                      "required": [
                                        "schedule"
                                      ],
                                      "additionalProperties": false
                                    }
                                  }
                                },
                                "required": [
                                  "our_price"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "required": [
                              "condition_type",
                              "fulfillment_availability",
                              "purchasable_offer"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "required": [
                          "product_identity",
                          "safety_and_compliance",
                          "shipping",
                          "product_details",
                          "image",
                          "offer"
                        ],
                        "additionalProperties": false
                      },
                      "wall_art": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "product_identity": {
                            "type": "object",
                            "properties": {
                              "item_name": {
                                "type": "string",
                                "description": "Product Name: the title for the item that may be customer facing. Max. 250 characters. Please include the size and color of the item in the Product Name, if available.  If this field is populated, we will not use the top level 'name' field value."
                              },
                              "item_type_keyword": {
                                "type": "string",
                                "description": "Category (item-type): information is used to determine where your product will be displayed.  By selecting the most relevant term, you increase the chance that buyers will find this product. What is the item that you are selling?"
                              },
                              "brand": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "enum": [
                                  "Generic"
                                ],
                                "description": "Brand Name: the brand name of the product. An alphanumeric string; 1 character minimum in length and 50 characters maximum in length. If null is passed in, this field will be defaulted to 'Generic'."
                              }
                            },
                            "required": [
                              "item_name",
                              "item_type_keyword",
                              "brand"
                            ],
                            "additionalProperties": false
                          },
                          "safety_and_compliance": {
                            "type": "object",
                            "properties": {
                              "batteries_required": {
                                "type": "string",
                                "enum": [
                                  "false"
                                ],
                                "description": "Are batteries required: input 'true' if batteries are required to power the item (or if the item is a battery) or 'false' if they are not. Please note that an internal rechargeable battery is also considered a battery."
                              },
                              "country_of_origin": {
                                "type": "string",
                                "description": "Country/Region of Origin: the product's country/region of origin. Input will be the 2 letter code of the country/region."
                              },
                              "supplier_declared_dg_hz_regulation": {
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "enum": [
                                    "ghs",
                                    "not_applicable",
                                    "other",
                                    "storage",
                                    "transportation",
                                    "unknown",
                                    "waste"
                                  ]
                                },
                                "description": "If the product is a Dangerous Good or Hazardous Material, Substance or Waste that is regulated for transportation, storage, and/or waste select from the list of valid values"
                              }
                            },
                            "required": [
                              "batteries_required",
                              "country_of_origin",
                              "supplier_declared_dg_hz_regulation"
                            ],
                            "additionalProperties": false
                          },
                          "variations": {
                            "type": "object",
                            "properties": {
                              "parentage_level": {
                                "type": "string",
                                "enum": [
                                  "parent",
                                  "child"
                                ],
                                "description": "Parentage Level: the SKU of the parent item."
                              },
                              "variation_theme": {
                                "type": "object",
                                "properties": {
                                  "name": {
                                    "type": "string",
                                    "enum": [
                                      "CUSTOMER_PACKAGE_TYPE",
                                      "COLOR",
                                      "COLOR_NAME",
                                      "COLOR_NAME/MATERIAL_TYPE",
                                      "COLOR_NAME/SIZE_NAME",
                                      "ITEM_SHAPE",
                                      "MATERIAL_TYPE",
                                      "MATERIAL_TYPE/COLOR_NAME",
                                      "MATERIAL_TYPE/SIZE_NAME",
                                      "NUMBER_OF_ITEMS",
                                      "PAPER_SIZE",
                                      "SIZE",
                                      "SIZE/COLOR",
                                      "SIZE_NAME",
                                      "SIZE_NAME/COLOR_NAME",
                                      "SIZE_NAME/NUMBER_OF_ITEMS",
                                      "SIZE_NAME/STYLE_NAME",
                                      "SPECIAL_SIZE_TYPE/SIZE_NAME",
                                      "SPECIAL_SIZE_TYPE/SIZE_NAME/COLOR_NAME",
                                      "SPECIAL_SIZE_TYPE/SIZE_NAME/MATERIAL_TYPE",
                                      "STYLE_NAME"
                                    ],
                                    "description": "Variation Theme Name: Specify the variation theme that the product will use. The theme's attributes must be populated for all items in the grouping."
                                  }
                                },
                                "additionalProperties": false
                              },
                              "child_parent_sku_relationship": {
                                "type": "object",
                                "properties": {
                                  "child_relationship_type": {
                                    "type": "string",
                                    "enum": [
                                      "variation"
                                    ],
                                    "description": "Child Relationship Type: the relationship that the child has to the parent."
                                  },
                                  "parent_sku": {
                                    "type": "string",
                                    "description": "Parent SKU: the SKU of the parent item."
                                  }
                                },
                                "required": [
                                  "child_relationship_type"
                                ],
                                "additionalProperties": false,
                                "description": "Child Parent Sku Relationship: the attribute indicates the Child Parent Sku Relationship of the product."
                              }
                            },
                            "required": [
                              "variation_theme"
                            ],
                            "additionalProperties": false,
                            "description": "Variations: Variations that product will use."
                          },
                          "shipping": {
                            "type": "object",
                            "properties": {
                              "item_package_weight": {
                                "type": "object",
                                "properties": {
                                  "unit": {
                                    "type": "string",
                                    "enum": [
                                      "grams",
                                      "kilograms",
                                      "milligrams",
                                      "ounces",
                                      "pounds"
                                    ]
                                  },
                                  "value": {
                                    "type": "number",
                                    "minimum": 0
                                  }
                                },
                                "required": [
                                  "unit",
                                  "value"
                                ],
                                "additionalProperties": false,
                                "description": "Package Weight: the weight in original package."
                              },
                              "item_package_dimensions": {
                                "type": "object",
                                "properties": {
                                  "height": {
                                    "type": "object",
                                    "properties": {
                                      "unit": {
                                        "type": "string",
                                        "enum": [
                                          "centimeters",
                                          "feet",
                                          "inches",
                                          "meters",
                                          "millimeters",
                                          "yards"
                                        ]
                                      },
                                      "value": {
                                        "type": "number",
                                        "minimum": 0
                                      }
                                    },
                                    "required": [
                                      "unit",
                                      "value"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "length": {
                                    "type": "object",
                                    "properties": {
                                      "unit": {
                                        "type": "string",
                                        "enum": [
                                          "centimeters",
                                          "feet",
                                          "inches",
                                          "meters",
                                          "millimeters",
                                          "yards"
                                        ]
                                      },
                                      "value": {
                                        "type": "number",
                                        "minimum": 0
                                      }
                                    },
                                    "required": [
                                      "unit",
                                      "value"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "width": {
                                    "type": "object",
                                    "properties": {
                                      "unit": {
                                        "type": "string",
                                        "enum": [
                                          "centimeters",
                                          "feet",
                                          "inches",
                                          "meters",
                                          "millimeters",
                                          "yards"
                                        ]
                                      },
                                      "value": {
                                        "type": "number",
                                        "minimum": 0
                                      }
                                    },
                                    "required": [
                                      "unit",
                                      "value"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "required": [
                                  "height",
                                  "length",
                                  "width"
                                ],
                                "additionalProperties": false,
                                "description": "Item Package Dimensions: the item's package dimensions."
                              }
                            },
                            "required": [
                              "item_package_weight",
                              "item_package_dimensions"
                            ],
                            "additionalProperties": false
                          },
                          "image": {
                            "type": "object",
                            "properties": {
                              "main_product_image_locator": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Main Image URL: the URL where the main product-specific image of the product is located."
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Main Product Image Locator: the attribute indicates the Main Product Image Locator of the product."
                              },
                              "other_product_image_locator_1": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 1: the attribute indicates the Other Product Image Locator 1 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_2": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 2: the attribute indicates the Other Product Image Locator 2 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_3": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 3: the attribute indicates the Other Product Image Locator 3 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_4": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 4: the attribute indicates the Other Product Image Locator 4 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_5": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 5: the attribute indicates the Other Product Image Locator 5 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_6": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 6: the attribute indicates the Other Product Image Locator 6 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_7": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 7: the attribute indicates the Other Product Image Locator 7 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_8": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 8: the attribute indicates the Other Product Image Locator 8 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              }
                            },
                            "required": [
                              "main_product_image_locator"
                            ],
                            "additionalProperties": false
                          },
                          "offer": {
                            "type": "object",
                            "properties": {
                              "condition_type": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "enum": [
                                  "new_new",
                                  "new_open_box",
                                  "new_oem",
                                  "refurbished_refurbished",
                                  "used_like_new",
                                  "used_very_good",
                                  "used_good",
                                  "used_acceptable",
                                  "collectible_like_new",
                                  "collectible_very_good",
                                  "collectible_good",
                                  "collectible_acceptable",
                                  "club_club"
                                ],
                                "description": "Offering Condition Type: the actual condition type of the product. Use one of these types: https://developer-docs.amazon.com/sp-api/docs/listings-items-api-v2021-08-01-reference#conditiontype. If null is passed in, this field will be defaulted to 'new_new'."
                              },
                              "fulfillment_availability": {
                                "type": "object",
                                "properties": {
                                  "fulfillment_channel_code": {
                                    "type": "string",
                                    "enum": [
                                      "AMAZON_NA",
                                      "DEFAULT"
                                    ],
                                    "description": "Fulfillment Channel Code: For those merchants using Amazon fulfillment services, this designates which fulfillment network will be used. Specifying a value other than DEFAULT will cancel the Merchant-fulfilled offering."
                                  },
                                  "quantity": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "description": "Quantity: the quantity of the item you are making available for sale.  This is your current INVENTORY commitment (as a whole number). Quantity is required for all “child” or stand-alone items. If left blank when first submitting the product information, the item will be displayed as “Out of stock.”  Do not enter quantity for parent items. Amazon-fulfilled products: Do not enter quantity, as it is not applicable for products fulfilled by Amazon.  Instead, submit fulfillment center id in a separate column (see data definition for details)."
                                  }
                                },
                                "required": [
                                  "fulfillment_channel_code",
                                  "quantity"
                                ],
                                "additionalProperties": false
                              },
                              "main_offer_image_locator": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Main Image URL: the URL where the main offer-specific image of the product is located."
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Main Offer Image Locator: Provide the location of the image."
                              },
                              "other_offer_image_locator_1": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Offer Image Locator 1: the attribute indicates the Other Offer Image Locator 1 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_offer_image_locator_2": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Offer Image Locator 2: the attribute indicates the Other Offer Image Locator 2 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_offer_image_locator_3": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Offer Image Locator 3: the attribute indicates the Other Offer Image Locator 3 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_offer_image_locator_4": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Offer Image Locator 4: the attribute indicates the Other Offer Image Locator 4 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_offer_image_locator_5": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Offer Image Locator 5: the attribute indicates the Other Offer Image Locator 5 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "purchasable_offer": {
                                "type": "object",
                                "properties": {
                                  "currency": {
                                    "type": "string",
                                    "description": "Currency: the corresponding currency"
                                  },
                                  "our_price": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "schedule": {
                                          "type": "array",
                                          "items": {
                                            "type": "object",
                                            "properties": {
                                              "value_with_tax": {
                                                "type": "number",
                                                "description": "Your Price: the base price of an item."
                                              }
                                            },
                                            "required": [
                                              "value_with_tax"
                                            ],
                                            "additionalProperties": false
                                          }
                                        }
                                      },
                                      "required": [
                                        "schedule"
                                      ],
                                      "additionalProperties": false
                                    }
                                  }
                                },
                                "required": [
                                  "our_price"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "required": [
                              "condition_type",
                              "fulfillment_availability",
                              "purchasable_offer"
                            ],
                            "additionalProperties": false
                          },
                          "product_details": {
                            "type": "object",
                            "properties": {
                              "item_shape": {
                                "type": "string",
                                "description": "Shape: The shape of the item."
                              },
                              "number_of_items": {
                                "type": "integer",
                                "minimum": 0,
                                "description": "Number of Items: the total number of identical items in the selling unit to the customer."
                              },
                              "product_description": {
                                "type": "string",
                                "description": "Product Description: the text description of the product. This information will appear in paragraph form on the detail page of your product. Include unique product features, product line details, and product specifications. Do not use all caps. If this field is populated, we will not use the top level 'description' field value."
                              },
                              "theme": {
                                "type": "string",
                                "description": "Theme: the theme of the product. Very similar to subject, but with more general use cases the style of the product."
                              },
                              "wall_art_form": {
                                "type": "string",
                                "description": "Wall Art Form: the form of the wall art. The form represents the design and construction features and method of the wall art."
                              },
                              "bullet_point": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "Bullet Point: brief descriptive text, called out via a bullet point, regarding a specific aspect of the product. These display directly under or next to your product photo, it is useful to put interesting information in these fields. Do NOT use all caps or abbreviations. Please do NOT use for fabric content, care instructions or country as these are populated in different fields."
                              },
                              "color": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Color: the color of the product. If null is passed in, this field will be defaulted to 'Cranberry'."
                              },
                              "is_framed": {
                                "type": "string",
                                "enum": [
                                  "true",
                                  "false"
                                ],
                                "description": "Is Framed: the attribute indicates the Is Framed of the product."
                              },
                              "orientation": {
                                "type": "string",
                                "description": "Orientation: the orientation of the item."
                              },
                              "size": {
                                "type": "string",
                                "description": "Size: numeric or text version of the item's size."
                              },
                              "item_length_width": {
                                "type": "object",
                                "properties": {
                                  "length": {
                                    "type": "object",
                                    "properties": {
                                      "unit": {
                                        "type": "string",
                                        "enum": [
                                          "centimeters",
                                          "feet",
                                          "inches",
                                          "meters",
                                          "millimeters",
                                          "yards"
                                        ]
                                      },
                                      "value": {
                                        "type": "number",
                                        "minimum": 0
                                      }
                                    },
                                    "required": [
                                      "unit",
                                      "value"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "width": {
                                    "type": "object",
                                    "properties": {
                                      "unit": {
                                        "type": "string",
                                        "enum": [
                                          "centimeters",
                                          "feet",
                                          "inches",
                                          "meters",
                                          "millimeters",
                                          "yards"
                                        ]
                                      },
                                      "value": {
                                        "type": "number",
                                        "minimum": 0
                                      }
                                    },
                                    "required": [
                                      "unit",
                                      "value"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "required": [
                                  "length",
                                  "width"
                                ],
                                "additionalProperties": false,
                                "description": "Item Dimensions W x H: the measurement of the width and height of the item in ready to use condition."
                              },
                              "frame": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "material": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "value": {
                                            "type": "string",
                                            "description": "Frame Material: the material of the item's frame."
                                          }
                                        },
                                        "required": [
                                          "value"
                                        ],
                                        "additionalProperties": false
                                      }
                                    },
                                    "type": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "value": {
                                            "type": "string",
                                            "description": "Frame Type: the product's frame type."
                                          }
                                        },
                                        "required": [
                                          "value"
                                        ],
                                        "additionalProperties": false
                                      }
                                    }
                                  },
                                  "additionalProperties": false
                                }
                              }
                            },
                            "required": [
                              "item_shape",
                              "number_of_items",
                              "product_description",
                              "theme",
                              "wall_art_form",
                              "bullet_point",
                              "color",
                              "item_length_width"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "required": [
                          "product_identity",
                          "safety_and_compliance",
                          "shipping",
                          "image",
                          "offer",
                          "product_details"
                        ],
                        "additionalProperties": false
                      },
                      "drinking_cup": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "safety_and_compliance": {
                            "type": "object",
                            "properties": {
                              "batteries_required": {
                                "type": "string",
                                "enum": [
                                  "false"
                                ],
                                "description": "Are batteries required: input 'true' if batteries are required to power the item (or if the item is a battery) or 'false' if they are not. Please note that an internal rechargeable battery is also considered a battery."
                              },
                              "contains_liquid_contents": {
                                "type": "string",
                                "enum": [
                                  "false"
                                ],
                                "description": "Contains Liquid Contents?: Does the product contain liquid contents?"
                              },
                              "country_of_origin": {
                                "type": "string",
                                "description": "Country/Region of Origin: the product's country/region of origin. Input will be the 2 letter code of the country/region."
                              },
                              "cpsia_cautionary_statement": {
                                "type": "string",
                                "enum": [
                                  "choking_hazard_balloon",
                                  "choking_hazard_contains_a_marble",
                                  "choking_hazard_contains_small_ball",
                                  "choking_hazard_is_a_marble",
                                  "choking_hazard_is_a_small_ball",
                                  "choking_hazard_small_parts",
                                  "no_warning_applicable"
                                ],
                                "description": "Mandatory Cautionary Statement: relevant cautionary statements for the product as defined in Section 24 of the FHSA and section 105 of the CPSIA. The statements must be displayed on the product packaging and it is your responsibility to supply relevant statements."
                              },
                              "supplier_declared_dg_hz_regulation": {
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "enum": [
                                    "ghs",
                                    "not_applicable",
                                    "other",
                                    "storage",
                                    "transportation",
                                    "unknown",
                                    "waste"
                                  ]
                                },
                                "description": "If the product is a Dangerous Good or Hazardous Material, Substance or Waste that is regulated for transportation, storage, and/or waste select from the list of valid values"
                              }
                            },
                            "required": [
                              "batteries_required",
                              "contains_liquid_contents",
                              "country_of_origin",
                              "cpsia_cautionary_statement",
                              "supplier_declared_dg_hz_regulation"
                            ],
                            "additionalProperties": false
                          },
                          "product_identity": {
                            "type": "object",
                            "properties": {
                              "item_name": {
                                "type": "string",
                                "description": "Product Name: the title for the item that may be customer facing. Max. 250 characters. Please include the size and color of the item in the Product Name, if available.  If this field is populated, we will not use the top level 'name' field value."
                              },
                              "item_type_keyword": {
                                "type": "string",
                                "description": "Category (item-type): information is used to determine where your product will be displayed.  By selecting the most relevant term, you increase the chance that buyers will find this product. What is the item that you are selling?"
                              },
                              "manufacturer": {
                                "type": "string",
                                "description": "Manufacturer: he full name of the publisher who issued the product."
                              },
                              "model_name": {
                                "type": "string",
                                "description": "Model Name: the model name of the product as defined by the manufacturer or brand excluding item type, color, brand or size."
                              },
                              "model_number": {
                                "type": "string",
                                "description": "Model Number: the manufacturer's model number for the item."
                              },
                              "brand": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "enum": [
                                  "Generic"
                                ],
                                "description": "Brand Name: the brand name of the product. An alphanumeric string; 1 character minimum in length and 50 characters maximum in length. If null is passed in, this field will be defaulted to 'Generic'."
                              }
                            },
                            "required": [
                              "item_name",
                              "item_type_keyword",
                              "manufacturer",
                              "model_name",
                              "model_number",
                              "brand"
                            ],
                            "additionalProperties": false
                          },
                          "variations": {
                            "type": "object",
                            "properties": {
                              "parentage_level": {
                                "type": "string",
                                "enum": [
                                  "parent",
                                  "child"
                                ],
                                "description": "Parentage Level: the SKU of the parent item."
                              },
                              "variation_theme": {
                                "type": "object",
                                "properties": {
                                  "name": {
                                    "type": "string",
                                    "enum": [
                                      "CUSTOMER_PACKAGE_TYPE",
                                      "COLOR",
                                      "COLOR_NAME",
                                      "COLOR_NAME/MATERIAL_TYPE",
                                      "COLOR_NAME/SIZE_NAME",
                                      "ITEM_SHAPE",
                                      "MATERIAL_TYPE",
                                      "MATERIAL_TYPE/COLOR_NAME",
                                      "MATERIAL_TYPE/SIZE_NAME",
                                      "NUMBER_OF_ITEMS",
                                      "PAPER_SIZE",
                                      "SIZE",
                                      "SIZE/COLOR",
                                      "SIZE_NAME",
                                      "SIZE_NAME/COLOR_NAME",
                                      "SIZE_NAME/NUMBER_OF_ITEMS",
                                      "SIZE_NAME/STYLE_NAME",
                                      "SPECIAL_SIZE_TYPE/SIZE_NAME",
                                      "SPECIAL_SIZE_TYPE/SIZE_NAME/COLOR_NAME",
                                      "SPECIAL_SIZE_TYPE/SIZE_NAME/MATERIAL_TYPE",
                                      "STYLE_NAME"
                                    ],
                                    "description": "Variation Theme Name: Specify the variation theme that the product will use. The theme's attributes must be populated for all items in the grouping."
                                  }
                                },
                                "additionalProperties": false
                              },
                              "child_parent_sku_relationship": {
                                "type": "object",
                                "properties": {
                                  "child_relationship_type": {
                                    "type": "string",
                                    "enum": [
                                      "variation"
                                    ],
                                    "description": "Child Relationship Type: the relationship that the child has to the parent."
                                  },
                                  "parent_sku": {
                                    "type": "string",
                                    "description": "Parent SKU: the SKU of the parent item."
                                  }
                                },
                                "required": [
                                  "child_relationship_type"
                                ],
                                "additionalProperties": false,
                                "description": "Child Parent Sku Relationship: the attribute indicates the Child Parent Sku Relationship of the product."
                              }
                            },
                            "required": [
                              "variation_theme"
                            ],
                            "additionalProperties": false,
                            "description": "Variations: Variations that product will use."
                          },
                          "shipping": {
                            "type": "object",
                            "properties": {
                              "number_of_boxes": {
                                "type": "integer",
                                "minimum": 0,
                                "description": "Number of Boxes: the number of boxes that the product will be shipped in."
                              },
                              "item_package_weight": {
                                "type": "object",
                                "properties": {
                                  "unit": {
                                    "type": "string",
                                    "enum": [
                                      "grams",
                                      "kilograms",
                                      "milligrams",
                                      "ounces",
                                      "pounds"
                                    ]
                                  },
                                  "value": {
                                    "type": "number",
                                    "minimum": 0
                                  }
                                },
                                "required": [
                                  "unit",
                                  "value"
                                ],
                                "additionalProperties": false,
                                "description": "Package Weight: the weight in original package."
                              },
                              "item_package_dimensions": {
                                "type": "object",
                                "properties": {
                                  "height": {
                                    "type": "object",
                                    "properties": {
                                      "unit": {
                                        "type": "string",
                                        "enum": [
                                          "centimeters",
                                          "feet",
                                          "inches",
                                          "meters",
                                          "millimeters",
                                          "yards"
                                        ]
                                      },
                                      "value": {
                                        "type": "number",
                                        "minimum": 0
                                      }
                                    },
                                    "required": [
                                      "unit",
                                      "value"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "length": {
                                    "type": "object",
                                    "properties": {
                                      "unit": {
                                        "type": "string",
                                        "enum": [
                                          "centimeters",
                                          "feet",
                                          "inches",
                                          "meters",
                                          "millimeters",
                                          "yards"
                                        ]
                                      },
                                      "value": {
                                        "type": "number",
                                        "minimum": 0
                                      }
                                    },
                                    "required": [
                                      "unit",
                                      "value"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "width": {
                                    "type": "object",
                                    "properties": {
                                      "unit": {
                                        "type": "string",
                                        "enum": [
                                          "centimeters",
                                          "feet",
                                          "inches",
                                          "meters",
                                          "millimeters",
                                          "yards"
                                        ]
                                      },
                                      "value": {
                                        "type": "number",
                                        "minimum": 0
                                      }
                                    },
                                    "required": [
                                      "unit",
                                      "value"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "required": [
                                  "height",
                                  "length",
                                  "width"
                                ],
                                "additionalProperties": false,
                                "description": "Item Package Dimensions: the item's package dimensions."
                              }
                            },
                            "additionalProperties": false
                          },
                          "image": {
                            "type": "object",
                            "properties": {
                              "main_product_image_locator": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Main Image URL: the URL where the main product-specific image of the product is located."
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Main Product Image Locator: the attribute indicates the Main Product Image Locator of the product."
                              },
                              "other_product_image_locator_1": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 1: the attribute indicates the Other Product Image Locator 1 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_2": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 2: the attribute indicates the Other Product Image Locator 2 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_3": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 3: the attribute indicates the Other Product Image Locator 3 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_4": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 4: the attribute indicates the Other Product Image Locator 4 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_5": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 5: the attribute indicates the Other Product Image Locator 5 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_6": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 6: the attribute indicates the Other Product Image Locator 6 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_7": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 7: the attribute indicates the Other Product Image Locator 7 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_8": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 8: the attribute indicates the Other Product Image Locator 8 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              }
                            },
                            "required": [
                              "main_product_image_locator"
                            ],
                            "additionalProperties": false
                          },
                          "offer": {
                            "type": "object",
                            "properties": {
                              "condition_type": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "enum": [
                                  "new_new",
                                  "new_open_box",
                                  "new_oem",
                                  "refurbished_refurbished",
                                  "used_like_new",
                                  "used_very_good",
                                  "used_good",
                                  "used_acceptable",
                                  "collectible_like_new",
                                  "collectible_very_good",
                                  "collectible_good",
                                  "collectible_acceptable",
                                  "club_club"
                                ],
                                "description": "Offering Condition Type: the actual condition type of the product. Use one of these types: https://developer-docs.amazon.com/sp-api/docs/listings-items-api-v2021-08-01-reference#conditiontype. If null is passed in, this field will be defaulted to 'new_new'."
                              },
                              "fulfillment_availability": {
                                "type": "object",
                                "properties": {
                                  "fulfillment_channel_code": {
                                    "type": "string",
                                    "enum": [
                                      "AMAZON_NA",
                                      "DEFAULT"
                                    ],
                                    "description": "Fulfillment Channel Code: For those merchants using Amazon fulfillment services, this designates which fulfillment network will be used. Specifying a value other than DEFAULT will cancel the Merchant-fulfilled offering."
                                  },
                                  "quantity": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "description": "Quantity: the quantity of the item you are making available for sale.  This is your current INVENTORY commitment (as a whole number). Quantity is required for all “child” or stand-alone items. If left blank when first submitting the product information, the item will be displayed as “Out of stock.”  Do not enter quantity for parent items. Amazon-fulfilled products: Do not enter quantity, as it is not applicable for products fulfilled by Amazon.  Instead, submit fulfillment center id in a separate column (see data definition for details)."
                                  }
                                },
                                "required": [
                                  "fulfillment_channel_code",
                                  "quantity"
                                ],
                                "additionalProperties": false
                              },
                              "main_offer_image_locator": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Main Image URL: the URL where the main offer-specific image of the product is located."
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Main Offer Image Locator: Provide the location of the image."
                              },
                              "other_offer_image_locator_1": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Offer Image Locator 1: the attribute indicates the Other Offer Image Locator 1 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_offer_image_locator_2": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Offer Image Locator 2: the attribute indicates the Other Offer Image Locator 2 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_offer_image_locator_3": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Offer Image Locator 3: the attribute indicates the Other Offer Image Locator 3 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_offer_image_locator_4": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Offer Image Locator 4: the attribute indicates the Other Offer Image Locator 4 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_offer_image_locator_5": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Offer Image Locator 5: the attribute indicates the Other Offer Image Locator 5 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "purchasable_offer": {
                                "type": "object",
                                "properties": {
                                  "currency": {
                                    "type": "string",
                                    "description": "Currency: the corresponding currency"
                                  },
                                  "our_price": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "schedule": {
                                          "type": "array",
                                          "items": {
                                            "type": "object",
                                            "properties": {
                                              "value_with_tax": {
                                                "type": "number",
                                                "description": "Your Price: the base price of an item."
                                              }
                                            },
                                            "required": [
                                              "value_with_tax"
                                            ],
                                            "additionalProperties": false
                                          }
                                        }
                                      },
                                      "required": [
                                        "schedule"
                                      ],
                                      "additionalProperties": false
                                    }
                                  }
                                },
                                "required": [
                                  "our_price"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "required": [
                              "condition_type",
                              "fulfillment_availability",
                              "purchasable_offer"
                            ],
                            "additionalProperties": false
                          },
                          "product_details": {
                            "type": "object",
                            "properties": {
                              "item_type_name": {
                                "type": "string",
                                "description": "Item Type Name: a customer-facing one to two-word phrase that describes the type of item the product is."
                              },
                              "number_of_items": {
                                "type": "integer",
                                "minimum": 0,
                                "description": "Number of Items: the total number of identical items in the selling unit to the customer."
                              },
                              "number_of_pieces": {
                                "type": "integer",
                                "minimum": 0,
                                "description": "Number of Pieces: the number of pieces within the unit being sold to the customer."
                              },
                              "occasion_type": {
                                "type": "string",
                                "description": "Occasion: the occasions the product is best suited for."
                              },
                              "product_description": {
                                "type": "string",
                                "description": "Product Description: the text description of the product. This information will appear in paragraph form on the detail page of your product. Include unique product features, product line details, and product specifications. Do not use all caps. If this field is populated, we will not use the top level 'description' field value."
                              },
                              "size": {
                                "type": "string",
                                "description": "Size: numeric or text version of the item's size."
                              },
                              "bullet_point": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "Bullet Point: brief descriptive text, called out via a bullet point, regarding a specific aspect of the product. These display directly under or next to your product photo, it is useful to put interesting information in these fields. Do NOT use all caps or abbreviations. Please do NOT use for fabric content, care instructions or country as these are populated in different fields."
                              },
                              "care_instructions": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Care Instructions: the instructions related to how to care for the item. If null is passed in, this field will be defaulted to 'Hand Wash'."
                              },
                              "color": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Color: the color of the product. If null is passed in, this field will be defaulted to 'Cranberry'."
                              },
                              "included_components": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "Included Components: the items that are included with this product."
                              },
                              "material": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "Material: the primary materials used for manufacturing the item."
                              },
                              "special_feature": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "Special Features: any special features an item has that distinguish it from other, comparable products."
                              },
                              "style": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Style: the style of the product. Style refers to the aesthetic choices of a person or a group of people. It describes the distinctive visual representation of a product. If null is passed in, this field will be defaulted to 'Regular'."
                              },
                              "capacity": {
                                "type": "object",
                                "properties": {
                                  "unit": {
                                    "type": "string",
                                    "enum": [
                                      "cubic_centimeters",
                                      "cubic_feet",
                                      "cubic_inches",
                                      "fluid_ounces",
                                      "gallons",
                                      "kilograms",
                                      "liters",
                                      "microliters",
                                      "milliliters",
                                      "ounces",
                                      "pints",
                                      "pounds",
                                      "quarts",
                                      "tons"
                                    ],
                                    "description": "Capacity: the capacity of the item."
                                  },
                                  "value": {
                                    "type": "number",
                                    "minimum": 0,
                                    "description": "Capacity: the capacity of the item as a numeric value."
                                  }
                                },
                                "required": [
                                  "unit",
                                  "value"
                                ],
                                "additionalProperties": false,
                                "description": "Capacity: the capacity of the item."
                              },
                              "unit_count": {
                                "type": "object",
                                "properties": {
                                  "value": {
                                    "type": "string",
                                    "description": "Unit Count: For products that are consumed by volume, weight, linear dimension, etc., provide the net quantity that would be shipped to a customer who orders one ASIN (e.g. 12 pack of 6 floz. bottles of water = 72, vs. a single 2 liter bottle = 2). For products consumed as individual units, provide the total number of units (pack of 12 pens = 12). For packed assortments of non-identical items, enter 1."
                                  },
                                  "type": {
                                    "type": "object",
                                    "properties": {
                                      "value": {
                                        "type": "string",
                                        "enum": [
                                          "Count",
                                          "Fl Oz",
                                          "Foot",
                                          "Gram",
                                          "Ounce",
                                          "Pound",
                                          "Sq Ft"
                                        ],
                                        "description": "Unit Count Type: For items consumed by volume, weight, linear dimension etc., provide the unit of measure listed on the products. For products consumed as individual units, enter: count"
                                      }
                                    },
                                    "required": [
                                      "value"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "required": [
                                  "value",
                                  "type"
                                ],
                                "additionalProperties": false,
                                "description": "Unit Count: the number of units and the unit type of the product."
                              },
                              "item_width_height": {
                                "type": "object",
                                "properties": {
                                  "height": {
                                    "type": "object",
                                    "properties": {
                                      "unit": {
                                        "type": "string",
                                        "enum": [
                                          "centimeters",
                                          "feet",
                                          "inches",
                                          "meters",
                                          "millimeters",
                                          "yards"
                                        ]
                                      },
                                      "value": {
                                        "type": "number",
                                        "minimum": 0
                                      }
                                    },
                                    "required": [
                                      "unit",
                                      "value"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "width": {
                                    "type": "object",
                                    "properties": {
                                      "unit": {
                                        "type": "string",
                                        "enum": [
                                          "centimeters",
                                          "feet",
                                          "inches",
                                          "meters",
                                          "millimeters",
                                          "yards"
                                        ]
                                      },
                                      "value": {
                                        "type": "number",
                                        "minimum": 0
                                      }
                                    },
                                    "required": [
                                      "unit",
                                      "value"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "required": [
                                  "height",
                                  "width"
                                ],
                                "additionalProperties": false,
                                "description": "Item Dimensions W x H: the measurement of the width and height of the item in ready to use condition."
                              }
                            },
                            "required": [
                              "item_type_name",
                              "number_of_items",
                              "number_of_pieces",
                              "occasion_type",
                              "product_description",
                              "size",
                              "bullet_point",
                              "care_instructions",
                              "color",
                              "included_components",
                              "material",
                              "special_feature",
                              "style",
                              "capacity",
                              "unit_count",
                              "item_width_height"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "required": [
                          "safety_and_compliance",
                          "product_identity",
                          "shipping",
                          "image",
                          "offer",
                          "product_details"
                        ],
                        "additionalProperties": false
                      },
                      "tote_bag": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "product_identity": {
                            "type": "object",
                            "properties": {
                              "item_name": {
                                "type": "string",
                                "description": "Product Name: the title for the item that may be customer facing. Max. 250 characters. Please include the size and color of the item in the Product Name, if available.  If this field is populated, we will not use the top level 'name' field value."
                              },
                              "item_type_keyword": {
                                "type": "string",
                                "description": "Category (item-type): information is used to determine where your product will be displayed.  By selecting the most relevant term, you increase the chance that buyers will find this product. What is the item that you are selling?"
                              },
                              "model_name": {
                                "type": "string",
                                "description": "Model Name: the model name of the product as defined by the manufacturer or brand excluding item type, color, brand or size."
                              },
                              "model_number": {
                                "type": "string",
                                "description": "Model Number: the manufacturer's model number for the item."
                              },
                              "brand": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "enum": [
                                  "Generic"
                                ],
                                "description": "Brand Name: the brand name of the product. An alphanumeric string; 1 character minimum in length and 50 characters maximum in length. If null is passed in, this field will be defaulted to 'Generic'."
                              }
                            },
                            "required": [
                              "item_name",
                              "item_type_keyword",
                              "model_name",
                              "model_number",
                              "brand"
                            ],
                            "additionalProperties": false
                          },
                          "safety_and_compliance": {
                            "type": "object",
                            "properties": {
                              "batteries_required": {
                                "type": "string",
                                "enum": [
                                  "false"
                                ],
                                "description": "Are batteries required: input 'true' if batteries are required to power the item (or if the item is a battery) or 'false' if they are not. Please note that an internal rechargeable battery is also considered a battery."
                              },
                              "country_of_origin": {
                                "type": "string",
                                "description": "Country/Region of Origin: the product's country/region of origin. Input will be the 2 letter code of the country/region."
                              },
                              "cpsia_cautionary_statement": {
                                "type": "string",
                                "enum": [
                                  "choking_hazard_balloon",
                                  "choking_hazard_contains_a_marble",
                                  "choking_hazard_contains_small_ball",
                                  "choking_hazard_is_a_marble",
                                  "choking_hazard_is_a_small_ball",
                                  "choking_hazard_small_parts",
                                  "no_warning_applicable"
                                ],
                                "description": "Mandatory Cautionary Statement: relevant cautionary statements for the product as defined in Section 24 of the FHSA and section 105 of the CPSIA. The statements must be displayed on the product packaging and it is your responsibility to supply relevant statements."
                              },
                              "inner": {
                                "type": "string",
                                "description": "Inner Material: the inner material of the product."
                              },
                              "outer": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "Outer Material: the outer material of the product."
                              },
                              "supplier_declared_dg_hz_regulation": {
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "enum": [
                                    "ghs",
                                    "not_applicable",
                                    "other",
                                    "storage",
                                    "transportation",
                                    "unknown",
                                    "waste"
                                  ]
                                },
                                "description": "If the product is a Dangerous Good or Hazardous Material, Substance or Waste that is regulated for transportation, storage, and/or waste select from the list of valid values"
                              }
                            },
                            "required": [
                              "batteries_required",
                              "country_of_origin",
                              "cpsia_cautionary_statement",
                              "inner",
                              "outer",
                              "supplier_declared_dg_hz_regulation"
                            ],
                            "additionalProperties": false
                          },
                          "variations": {
                            "type": "object",
                            "properties": {
                              "parentage_level": {
                                "type": "string",
                                "enum": [
                                  "parent",
                                  "child"
                                ],
                                "description": "Parentage Level: the SKU of the parent item."
                              },
                              "variation_theme": {
                                "type": "object",
                                "properties": {
                                  "name": {
                                    "type": "string",
                                    "enum": [
                                      "CUSTOMER_PACKAGE_TYPE",
                                      "COLOR",
                                      "COLOR_NAME",
                                      "COLOR_NAME/MATERIAL_TYPE",
                                      "COLOR_NAME/SIZE_NAME",
                                      "ITEM_SHAPE",
                                      "MATERIAL_TYPE",
                                      "MATERIAL_TYPE/COLOR_NAME",
                                      "MATERIAL_TYPE/SIZE_NAME",
                                      "NUMBER_OF_ITEMS",
                                      "PAPER_SIZE",
                                      "SIZE",
                                      "SIZE/COLOR",
                                      "SIZE_NAME",
                                      "SIZE_NAME/COLOR_NAME",
                                      "SIZE_NAME/NUMBER_OF_ITEMS",
                                      "SIZE_NAME/STYLE_NAME",
                                      "SPECIAL_SIZE_TYPE/SIZE_NAME",
                                      "SPECIAL_SIZE_TYPE/SIZE_NAME/COLOR_NAME",
                                      "SPECIAL_SIZE_TYPE/SIZE_NAME/MATERIAL_TYPE",
                                      "STYLE_NAME"
                                    ],
                                    "description": "Variation Theme Name: Specify the variation theme that the product will use. The theme's attributes must be populated for all items in the grouping."
                                  }
                                },
                                "additionalProperties": false
                              },
                              "child_parent_sku_relationship": {
                                "type": "object",
                                "properties": {
                                  "child_relationship_type": {
                                    "type": "string",
                                    "enum": [
                                      "variation"
                                    ],
                                    "description": "Child Relationship Type: the relationship that the child has to the parent."
                                  },
                                  "parent_sku": {
                                    "type": "string",
                                    "description": "Parent SKU: the SKU of the parent item."
                                  }
                                },
                                "required": [
                                  "child_relationship_type"
                                ],
                                "additionalProperties": false,
                                "description": "Child Parent Sku Relationship: the attribute indicates the Child Parent Sku Relationship of the product."
                              }
                            },
                            "required": [
                              "variation_theme"
                            ],
                            "additionalProperties": false,
                            "description": "Variations: Variations that product will use."
                          },
                          "shipping": {
                            "type": "object",
                            "properties": {
                              "item_package_weight": {
                                "type": "object",
                                "properties": {
                                  "unit": {
                                    "type": "string",
                                    "enum": [
                                      "grams",
                                      "kilograms",
                                      "milligrams",
                                      "ounces",
                                      "pounds"
                                    ]
                                  },
                                  "value": {
                                    "type": "number",
                                    "minimum": 0
                                  }
                                },
                                "required": [
                                  "unit",
                                  "value"
                                ],
                                "additionalProperties": false,
                                "description": "Package Weight: the weight in original package."
                              },
                              "item_package_dimensions": {
                                "type": "object",
                                "properties": {
                                  "height": {
                                    "type": "object",
                                    "properties": {
                                      "unit": {
                                        "type": "string",
                                        "enum": [
                                          "centimeters",
                                          "feet",
                                          "inches",
                                          "meters",
                                          "millimeters",
                                          "yards"
                                        ]
                                      },
                                      "value": {
                                        "type": "number",
                                        "minimum": 0
                                      }
                                    },
                                    "required": [
                                      "unit",
                                      "value"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "length": {
                                    "type": "object",
                                    "properties": {
                                      "unit": {
                                        "type": "string",
                                        "enum": [
                                          "centimeters",
                                          "feet",
                                          "inches",
                                          "meters",
                                          "millimeters",
                                          "yards"
                                        ]
                                      },
                                      "value": {
                                        "type": "number",
                                        "minimum": 0
                                      }
                                    },
                                    "required": [
                                      "unit",
                                      "value"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "width": {
                                    "type": "object",
                                    "properties": {
                                      "unit": {
                                        "type": "string",
                                        "enum": [
                                          "centimeters",
                                          "feet",
                                          "inches",
                                          "meters",
                                          "millimeters",
                                          "yards"
                                        ]
                                      },
                                      "value": {
                                        "type": "number",
                                        "minimum": 0
                                      }
                                    },
                                    "required": [
                                      "unit",
                                      "value"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "required": [
                                  "height",
                                  "length",
                                  "width"
                                ],
                                "additionalProperties": false,
                                "description": "Item Package Dimensions: the item's package dimensions."
                              }
                            },
                            "required": [
                              "item_package_weight",
                              "item_package_dimensions"
                            ],
                            "additionalProperties": false
                          },
                          "image": {
                            "type": "object",
                            "properties": {
                              "main_product_image_locator": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Main Image URL: the URL where the main product-specific image of the product is located."
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Main Product Image Locator: the attribute indicates the Main Product Image Locator of the product."
                              },
                              "other_product_image_locator_1": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 1: the attribute indicates the Other Product Image Locator 1 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_2": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 2: the attribute indicates the Other Product Image Locator 2 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_3": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 3: the attribute indicates the Other Product Image Locator 3 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_4": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 4: the attribute indicates the Other Product Image Locator 4 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_5": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 5: the attribute indicates the Other Product Image Locator 5 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_6": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 6: the attribute indicates the Other Product Image Locator 6 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_7": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 7: the attribute indicates the Other Product Image Locator 7 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_8": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 8: the attribute indicates the Other Product Image Locator 8 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              }
                            },
                            "required": [
                              "main_product_image_locator"
                            ],
                            "additionalProperties": false
                          },
                          "offer": {
                            "type": "object",
                            "properties": {
                              "import_designation": {
                                "type": "string",
                                "enum": [
                                  "Imported",
                                  "Made in the USA",
                                  "Made in the USA and Imported",
                                  "Made in the USA or Imported"
                                ],
                                "description": "Import Designation: the import designation for the item."
                              },
                              "condition_type": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "enum": [
                                  "new_new",
                                  "new_open_box",
                                  "new_oem",
                                  "refurbished_refurbished",
                                  "used_like_new",
                                  "used_very_good",
                                  "used_good",
                                  "used_acceptable",
                                  "collectible_like_new",
                                  "collectible_very_good",
                                  "collectible_good",
                                  "collectible_acceptable",
                                  "club_club"
                                ],
                                "description": "Offering Condition Type: the actual condition type of the product. Use one of these types: https://developer-docs.amazon.com/sp-api/docs/listings-items-api-v2021-08-01-reference#conditiontype. If null is passed in, this field will be defaulted to 'new_new'."
                              },
                              "fulfillment_availability": {
                                "type": "object",
                                "properties": {
                                  "fulfillment_channel_code": {
                                    "type": "string",
                                    "enum": [
                                      "AMAZON_NA",
                                      "DEFAULT"
                                    ],
                                    "description": "Fulfillment Channel Code: For those merchants using Amazon fulfillment services, this designates which fulfillment network will be used. Specifying a value other than DEFAULT will cancel the Merchant-fulfilled offering."
                                  },
                                  "quantity": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "description": "Quantity: the quantity of the item you are making available for sale.  This is your current INVENTORY commitment (as a whole number). Quantity is required for all “child” or stand-alone items. If left blank when first submitting the product information, the item will be displayed as “Out of stock.”  Do not enter quantity for parent items. Amazon-fulfilled products: Do not enter quantity, as it is not applicable for products fulfilled by Amazon.  Instead, submit fulfillment center id in a separate column (see data definition for details)."
                                  }
                                },
                                "required": [
                                  "fulfillment_channel_code",
                                  "quantity"
                                ],
                                "additionalProperties": false
                              },
                              "main_offer_image_locator": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Main Image URL: the URL where the main offer-specific image of the product is located."
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Main Offer Image Locator: Provide the location of the image."
                              },
                              "other_offer_image_locator_1": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Offer Image Locator 1: the attribute indicates the Other Offer Image Locator 1 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_offer_image_locator_2": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Offer Image Locator 2: the attribute indicates the Other Offer Image Locator 2 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_offer_image_locator_3": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Offer Image Locator 3: the attribute indicates the Other Offer Image Locator 3 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_offer_image_locator_4": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Offer Image Locator 4: the attribute indicates the Other Offer Image Locator 4 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_offer_image_locator_5": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Offer Image Locator 5: the attribute indicates the Other Offer Image Locator 5 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "purchasable_offer": {
                                "type": "object",
                                "properties": {
                                  "currency": {
                                    "type": "string",
                                    "description": "Currency: the corresponding currency"
                                  },
                                  "our_price": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "schedule": {
                                          "type": "array",
                                          "items": {
                                            "type": "object",
                                            "properties": {
                                              "value_with_tax": {
                                                "type": "number",
                                                "description": "Your Price: the base price of an item."
                                              }
                                            },
                                            "required": [
                                              "value_with_tax"
                                            ],
                                            "additionalProperties": false
                                          }
                                        }
                                      },
                                      "required": [
                                        "schedule"
                                      ],
                                      "additionalProperties": false
                                    }
                                  }
                                },
                                "required": [
                                  "our_price"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "required": [
                              "import_designation",
                              "condition_type",
                              "fulfillment_availability",
                              "purchasable_offer"
                            ],
                            "additionalProperties": false
                          },
                          "product_details": {
                            "type": "object",
                            "properties": {
                              "item_type_name": {
                                "type": "string",
                                "description": "Item Type Name: a customer-facing one to two-word phrase that describes the type of item the product is."
                              },
                              "lining_description": {
                                "type": "string",
                                "description": "Lining Description: the lining of the product."
                              },
                              "number_of_compartments": {
                                "type": "integer",
                                "minimum": 0,
                                "description": "Number of Compartments: the number of compartments that the item has."
                              },
                              "number_of_items": {
                                "type": "integer",
                                "minimum": 0,
                                "description": "Number of Items: the total number of identical items in the selling unit to the customer."
                              },
                              "number_of_pockets": {
                                "type": "integer",
                                "minimum": 0,
                                "description": "Number of Pockets: the number of pockets in the item."
                              },
                              "product_description": {
                                "type": "string",
                                "description": "Product Description: the text description of the product. This information will appear in paragraph form on the detail page of your product. Include unique product features, product line details, and product specifications. Do not use all caps. If this field is populated, we will not use the top level 'description' field value."
                              },
                              "size": {
                                "type": "string",
                                "description": "Size: numeric or text version of the item's size."
                              },
                              "size_info": {
                                "type": "string",
                                "description": "Size Info: size description as if you were explaining to a customer what the size of this item is when they can only see the picture of it. For example: How big is this carry-on suitcase?"
                              },
                              "strap_type": {
                                "type": "string",
                                "description": "Strap Type: the type of strap for this item."
                              },
                              "age_range_description": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Age Range Description: the appropriate age range description for the item. If null is passed in, this field will be defaulted to 'Adult'."
                              },
                              "bullet_point": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "Bullet Point: brief descriptive text, called out via a bullet point, regarding a specific aspect of the product. These display directly under or next to your product photo, it is useful to put interesting information in these fields. Do NOT use all caps or abbreviations. Please do NOT use for fabric content, care instructions or country as these are populated in different fields."
                              },
                              "color": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Color: the color of the product. If null is passed in, this field will be defaulted to 'Cranberry'."
                              },
                              "department": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Department Name: Provide the gender/age for which this item is intended. If null is passed in, this field will be defaulted to 'Adult'."
                              },
                              "fabric_type": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Fabric Type: list all fabrics separated by ','. Indicate with % composition. Always add 'Viscose' or 'Rayon' instead of 'Bamboo', and 'Azlon' for Soy. If null is passed in, this field will be defaulted to '100% Cotton'."
                              },
                              "material": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "Material: the primary materials used for manufacturing the item."
                              },
                              "special_feature": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "Special Features: any special features an item has that distinguish it from other, comparable products."
                              },
                              "style": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Style: the style of the product. Style refers to the aesthetic choices of a person or a group of people. It describes the distinctive visual representation of a product. If null is passed in, this field will be defaulted to 'Regular'."
                              },
                              "target_gender": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "enum": [
                                  "female",
                                  "male",
                                  "unisex"
                                ],
                                "description": "Target Gender: the target gender for the product. If null is passed in, this field will be defaulted to 'unisex'."
                              },
                              "capacity": {
                                "type": "object",
                                "properties": {
                                  "unit": {
                                    "type": "string",
                                    "enum": [
                                      "cubic_centimeters",
                                      "cubic_feet",
                                      "cubic_inches",
                                      "fluid_ounces",
                                      "gallons",
                                      "kilograms",
                                      "liters",
                                      "microliters",
                                      "milliliters",
                                      "ounces",
                                      "pints",
                                      "pounds",
                                      "quarts",
                                      "tons"
                                    ],
                                    "description": "Capacity: the capacity of the item."
                                  },
                                  "value": {
                                    "type": "number",
                                    "minimum": 0,
                                    "description": "Capacity: the capacity of the item as a numeric value."
                                  }
                                },
                                "required": [
                                  "unit",
                                  "value"
                                ],
                                "additionalProperties": false,
                                "description": "Capacity: the capacity of the item."
                              },
                              "closure": {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "value": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "value"
                                      ],
                                      "additionalProperties": false
                                    }
                                  }
                                },
                                "required": [
                                  "type"
                                ],
                                "additionalProperties": false,
                                "description": "Apparel Closure Type: the type of closing mechanism used by the item. The closing type allows a user to fully wear, seal, or close the item."
                              },
                              "item_length_width_height": {
                                "type": "object",
                                "properties": {
                                  "height": {
                                    "type": "object",
                                    "properties": {
                                      "unit": {
                                        "type": "string",
                                        "enum": [
                                          "centimeters",
                                          "feet",
                                          "inches",
                                          "meters",
                                          "millimeters",
                                          "yards"
                                        ]
                                      },
                                      "value": {
                                        "type": "number",
                                        "minimum": 0
                                      }
                                    },
                                    "required": [
                                      "unit",
                                      "value"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "length": {
                                    "type": "object",
                                    "properties": {
                                      "unit": {
                                        "type": "string",
                                        "enum": [
                                          "centimeters",
                                          "feet",
                                          "inches",
                                          "meters",
                                          "millimeters",
                                          "yards"
                                        ]
                                      },
                                      "value": {
                                        "type": "number",
                                        "minimum": 0
                                      }
                                    },
                                    "required": [
                                      "unit",
                                      "value"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "width": {
                                    "type": "object",
                                    "properties": {
                                      "unit": {
                                        "type": "string",
                                        "enum": [
                                          "centimeters",
                                          "feet",
                                          "inches",
                                          "meters",
                                          "millimeters",
                                          "yards"
                                        ]
                                      },
                                      "value": {
                                        "type": "number",
                                        "minimum": 0
                                      }
                                    },
                                    "required": [
                                      "unit",
                                      "value"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "required": [
                                  "height",
                                  "length",
                                  "width"
                                ],
                                "additionalProperties": false,
                                "description": "Item Dimensions W x H: the measurement of the width and height of the item in ready to use condition."
                              }
                            },
                            "required": [
                              "item_type_name",
                              "lining_description",
                              "number_of_compartments",
                              "number_of_items",
                              "number_of_pockets",
                              "product_description",
                              "size",
                              "size_info",
                              "strap_type",
                              "age_range_description",
                              "bullet_point",
                              "color",
                              "department",
                              "fabric_type",
                              "material",
                              "special_feature",
                              "style",
                              "target_gender",
                              "capacity",
                              "closure",
                              "item_length_width_height"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "required": [
                          "product_identity",
                          "safety_and_compliance",
                          "shipping",
                          "image",
                          "offer",
                          "product_details"
                        ],
                        "additionalProperties": false
                      },
                      "shirt": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "product_identity": {
                            "type": "object",
                            "properties": {
                              "item_name": {
                                "type": "string",
                                "description": "Product Name: the title for the item that may be customer facing. Max. 250 characters. Please include the size and color of the item in the Product Name, if available.  If this field is populated, we will not use the top level 'name' field value."
                              },
                              "item_type_keyword": {
                                "type": "string",
                                "description": "Category (item-type): information is used to determine where your product will be displayed.  By selecting the most relevant term, you increase the chance that buyers will find this product. What is the item that you are selling?"
                              },
                              "model_name": {
                                "type": "string",
                                "description": "Model Name: the model name of the product as defined by the manufacturer or brand excluding item type, color, brand or size."
                              },
                              "brand": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "enum": [
                                  "Generic"
                                ],
                                "description": "Brand Name: the brand name of the product. An alphanumeric string; 1 character minimum in length and 50 characters maximum in length. If null is passed in, this field will be defaulted to 'Generic'."
                              },
                              "model_number": {
                                "type": "string",
                                "description": "Model Number: the manufacturer's model number for the item."
                              }
                            },
                            "required": [
                              "item_name",
                              "item_type_keyword",
                              "model_name",
                              "brand"
                            ],
                            "additionalProperties": false
                          },
                          "safety_and_compliance": {
                            "type": "object",
                            "properties": {
                              "country_of_origin": {
                                "type": "string",
                                "description": "Country/Region of Origin: the product's country/region of origin. Input will be the 2 letter code of the country/region."
                              },
                              "cpsia_cautionary_statement": {
                                "type": "string",
                                "enum": [
                                  "choking_hazard_balloon",
                                  "choking_hazard_contains_a_marble",
                                  "choking_hazard_contains_small_ball",
                                  "choking_hazard_is_a_marble",
                                  "choking_hazard_is_a_small_ball",
                                  "choking_hazard_small_parts",
                                  "no_warning_applicable"
                                ],
                                "description": "Mandatory Cautionary Statement: relevant cautionary statements for the product as defined in Section 24 of the FHSA and section 105 of the CPSIA. The statements must be displayed on the product packaging and it is your responsibility to supply relevant statements."
                              },
                              "batteries_required": {
                                "type": "string",
                                "enum": [
                                  "false"
                                ],
                                "description": "Are batteries required: input 'true' if batteries are required to power the item (or if the item is a battery) or 'false' if they are not. Please note that an internal rechargeable battery is also considered a battery."
                              },
                              "supplier_declared_dg_hz_regulation": {
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "enum": [
                                    "ghs",
                                    "not_applicable",
                                    "other",
                                    "storage",
                                    "transportation",
                                    "unknown",
                                    "waste"
                                  ]
                                },
                                "description": "If the product is a Dangerous Good or Hazardous Material, Substance or Waste that is regulated for transportation, storage, and/or waste select from the list of valid values"
                              },
                              "supplier_declared_material_regulation": {
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "enum": [
                                    "bamboo",
                                    "wool",
                                    "fur",
                                    "not_applicable"
                                  ]
                                },
                                "description": "Material/Fabric Regulations: Does your product contain any of the following materials/fabrics subject to regulation: Bamboo, Wool, and/or Fur? Please select all that apply."
                              }
                            },
                            "required": [
                              "country_of_origin",
                              "cpsia_cautionary_statement",
                              "supplier_declared_dg_hz_regulation"
                            ],
                            "additionalProperties": false
                          },
                          "variations": {
                            "type": "object",
                            "properties": {
                              "parentage_level": {
                                "type": "string",
                                "enum": [
                                  "parent",
                                  "child"
                                ],
                                "description": "Parentage Level: the SKU of the parent item."
                              },
                              "variation_theme": {
                                "type": "object",
                                "properties": {
                                  "name": {
                                    "type": "string",
                                    "enum": [
                                      "CUSTOMER_PACKAGE_TYPE",
                                      "COLOR",
                                      "COLOR_NAME",
                                      "COLOR_NAME/MATERIAL_TYPE",
                                      "COLOR_NAME/SIZE_NAME",
                                      "ITEM_SHAPE",
                                      "MATERIAL_TYPE",
                                      "MATERIAL_TYPE/COLOR_NAME",
                                      "MATERIAL_TYPE/SIZE_NAME",
                                      "NUMBER_OF_ITEMS",
                                      "PAPER_SIZE",
                                      "SIZE",
                                      "SIZE/COLOR",
                                      "SIZE_NAME",
                                      "SIZE_NAME/COLOR_NAME",
                                      "SIZE_NAME/NUMBER_OF_ITEMS",
                                      "SIZE_NAME/STYLE_NAME",
                                      "SPECIAL_SIZE_TYPE/SIZE_NAME",
                                      "SPECIAL_SIZE_TYPE/SIZE_NAME/COLOR_NAME",
                                      "SPECIAL_SIZE_TYPE/SIZE_NAME/MATERIAL_TYPE",
                                      "STYLE_NAME"
                                    ],
                                    "description": "Variation Theme Name: Specify the variation theme that the product will use. The theme's attributes must be populated for all items in the grouping."
                                  }
                                },
                                "additionalProperties": false
                              },
                              "child_parent_sku_relationship": {
                                "type": "object",
                                "properties": {
                                  "child_relationship_type": {
                                    "type": "string",
                                    "enum": [
                                      "variation"
                                    ],
                                    "description": "Child Relationship Type: the relationship that the child has to the parent."
                                  },
                                  "parent_sku": {
                                    "type": "string",
                                    "description": "Parent SKU: the SKU of the parent item."
                                  }
                                },
                                "required": [
                                  "child_relationship_type"
                                ],
                                "additionalProperties": false,
                                "description": "Child Parent Sku Relationship: the attribute indicates the Child Parent Sku Relationship of the product."
                              }
                            },
                            "required": [
                              "variation_theme"
                            ],
                            "additionalProperties": false,
                            "description": "Variations: Variations that product will use."
                          },
                          "shipping": {
                            "type": "object",
                            "properties": {
                              "item_package_weight": {
                                "type": "object",
                                "properties": {
                                  "unit": {
                                    "type": "string",
                                    "enum": [
                                      "grams",
                                      "kilograms",
                                      "milligrams",
                                      "ounces",
                                      "pounds"
                                    ]
                                  },
                                  "value": {
                                    "type": "number",
                                    "minimum": 0
                                  }
                                },
                                "required": [
                                  "unit",
                                  "value"
                                ],
                                "additionalProperties": false,
                                "description": "Package Weight: the weight in original package."
                              },
                              "item_package_dimensions": {
                                "type": "object",
                                "properties": {
                                  "height": {
                                    "type": "object",
                                    "properties": {
                                      "unit": {
                                        "type": "string",
                                        "enum": [
                                          "centimeters",
                                          "feet",
                                          "inches",
                                          "meters",
                                          "millimeters",
                                          "yards"
                                        ]
                                      },
                                      "value": {
                                        "type": "number",
                                        "minimum": 0
                                      }
                                    },
                                    "required": [
                                      "unit",
                                      "value"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "length": {
                                    "type": "object",
                                    "properties": {
                                      "unit": {
                                        "type": "string",
                                        "enum": [
                                          "centimeters",
                                          "feet",
                                          "inches",
                                          "meters",
                                          "millimeters",
                                          "yards"
                                        ]
                                      },
                                      "value": {
                                        "type": "number",
                                        "minimum": 0
                                      }
                                    },
                                    "required": [
                                      "unit",
                                      "value"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "width": {
                                    "type": "object",
                                    "properties": {
                                      "unit": {
                                        "type": "string",
                                        "enum": [
                                          "centimeters",
                                          "feet",
                                          "inches",
                                          "meters",
                                          "millimeters",
                                          "yards"
                                        ]
                                      },
                                      "value": {
                                        "type": "number",
                                        "minimum": 0
                                      }
                                    },
                                    "required": [
                                      "unit",
                                      "value"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "required": [
                                  "height",
                                  "length",
                                  "width"
                                ],
                                "additionalProperties": false,
                                "description": "Item Package Dimensions: the item's package dimensions."
                              }
                            },
                            "required": [
                              "item_package_weight",
                              "item_package_dimensions"
                            ],
                            "additionalProperties": false
                          },
                          "image": {
                            "type": "object",
                            "properties": {
                              "main_product_image_locator": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Main Image URL: the URL where the main product-specific image of the product is located."
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Main Product Image Locator: the attribute indicates the Main Product Image Locator of the product."
                              },
                              "other_product_image_locator_1": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 1: the attribute indicates the Other Product Image Locator 1 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_2": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 2: the attribute indicates the Other Product Image Locator 2 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_3": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 3: the attribute indicates the Other Product Image Locator 3 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_4": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 4: the attribute indicates the Other Product Image Locator 4 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_5": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 5: the attribute indicates the Other Product Image Locator 5 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_6": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 6: the attribute indicates the Other Product Image Locator 6 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_7": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 7: the attribute indicates the Other Product Image Locator 7 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_8": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 8: the attribute indicates the Other Product Image Locator 8 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              }
                            },
                            "required": [
                              "main_product_image_locator"
                            ],
                            "additionalProperties": false
                          },
                          "offer": {
                            "type": "object",
                            "properties": {
                              "import_designation": {
                                "type": "string",
                                "enum": [
                                  "Imported",
                                  "Made in the USA",
                                  "Made in the USA and Imported",
                                  "Made in the USA or Imported"
                                ],
                                "description": "Import Designation: the import designation for the item."
                              },
                              "condition_type": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "enum": [
                                  "new_new",
                                  "new_open_box",
                                  "new_oem",
                                  "refurbished_refurbished",
                                  "used_like_new",
                                  "used_very_good",
                                  "used_good",
                                  "used_acceptable",
                                  "collectible_like_new",
                                  "collectible_very_good",
                                  "collectible_good",
                                  "collectible_acceptable",
                                  "club_club"
                                ],
                                "description": "Offering Condition Type: the actual condition type of the product. Use one of these types: https://developer-docs.amazon.com/sp-api/docs/listings-items-api-v2021-08-01-reference#conditiontype. If null is passed in, this field will be defaulted to 'new_new'."
                              },
                              "fulfillment_availability": {
                                "type": "object",
                                "properties": {
                                  "fulfillment_channel_code": {
                                    "type": "string",
                                    "enum": [
                                      "AMAZON_NA",
                                      "DEFAULT"
                                    ],
                                    "description": "Fulfillment Channel Code: For those merchants using Amazon fulfillment services, this designates which fulfillment network will be used. Specifying a value other than DEFAULT will cancel the Merchant-fulfilled offering."
                                  },
                                  "quantity": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "description": "Quantity: the quantity of the item you are making available for sale.  This is your current INVENTORY commitment (as a whole number). Quantity is required for all “child” or stand-alone items. If left blank when first submitting the product information, the item will be displayed as “Out of stock.”  Do not enter quantity for parent items. Amazon-fulfilled products: Do not enter quantity, as it is not applicable for products fulfilled by Amazon.  Instead, submit fulfillment center id in a separate column (see data definition for details)."
                                  }
                                },
                                "required": [
                                  "fulfillment_channel_code",
                                  "quantity"
                                ],
                                "additionalProperties": false
                              },
                              "main_offer_image_locator": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Main Image URL: the URL where the main offer-specific image of the product is located."
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Main Offer Image Locator: Provide the location of the image."
                              },
                              "other_offer_image_locator_1": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Offer Image Locator 1: the attribute indicates the Other Offer Image Locator 1 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_offer_image_locator_2": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Offer Image Locator 2: the attribute indicates the Other Offer Image Locator 2 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_offer_image_locator_3": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Offer Image Locator 3: the attribute indicates the Other Offer Image Locator 3 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_offer_image_locator_4": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Offer Image Locator 4: the attribute indicates the Other Offer Image Locator 4 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_offer_image_locator_5": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Offer Image Locator 5: the attribute indicates the Other Offer Image Locator 5 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "purchasable_offer": {
                                "type": "object",
                                "properties": {
                                  "currency": {
                                    "type": "string",
                                    "description": "Currency: the corresponding currency"
                                  },
                                  "our_price": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "schedule": {
                                          "type": "array",
                                          "items": {
                                            "type": "object",
                                            "properties": {
                                              "value_with_tax": {
                                                "type": "number",
                                                "description": "Your Price: the base price of an item."
                                              }
                                            },
                                            "required": [
                                              "value_with_tax"
                                            ],
                                            "additionalProperties": false
                                          }
                                        }
                                      },
                                      "required": [
                                        "schedule"
                                      ],
                                      "additionalProperties": false
                                    }
                                  }
                                },
                                "required": [
                                  "our_price"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "required": [
                              "import_designation",
                              "condition_type",
                              "fulfillment_availability",
                              "purchasable_offer"
                            ],
                            "additionalProperties": false
                          },
                          "product_details": {
                            "type": "object",
                            "properties": {
                              "product_description": {
                                "type": "string",
                                "description": "Product Description: the text description of the product. This information will appear in paragraph form on the detail page of your product. Include unique product features, product line details, and product specifications. Do not use all caps. If this field is populated, we will not use the top level 'description' field value."
                              },
                              "age_range_description": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Age Range Description: the appropriate age range description for the item. If null is passed in, this field will be defaulted to 'Adult'."
                              },
                              "bullet_point": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "Bullet Point: brief descriptive text, called out via a bullet point, regarding a specific aspect of the product. These display directly under or next to your product photo, it is useful to put interesting information in these fields. Do NOT use all caps or abbreviations. Please do NOT use for fabric content, care instructions or country as these are populated in different fields."
                              },
                              "care_instructions": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Care Instructions: the instructions related to how to care for the item. If null is passed in, this field will be defaulted to 'Hand Wash'."
                              },
                              "color": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Color: the color of the product. If null is passed in, this field will be defaulted to 'Cranberry'."
                              },
                              "department": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Department Name: Provide the gender/age for which this item is intended. If null is passed in, this field will be defaulted to 'Adult'."
                              },
                              "fabric_type": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Fabric Type: list all fabrics separated by ','. Indicate with % composition. Always add 'Viscose' or 'Rayon' instead of 'Bamboo', and 'Azlon' for Soy. If null is passed in, this field will be defaulted to '100% Cotton'."
                              },
                              "fit_type": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Fit type: the item's fit type. If null is passed in, this field will be defaulted to 'Regular Fit'."
                              },
                              "item_type_name": {
                                "type": "string",
                                "description": "Item Type Name: a customer-facing one to two-word phrase that describes the type of item the product is."
                              },
                              "material": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "Material: the primary materials used for manufacturing the item."
                              },
                              "size": {
                                "type": "string",
                                "description": "Size: numeric or text version of the item's size."
                              },
                              "special_size_type": {
                                "type": "string",
                                "description": "Special Size: Specify the special size type for the item."
                              },
                              "style": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Style: the style of the product. Style refers to the aesthetic choices of a person or a group of people. It describes the distinctive visual representation of a product. If null is passed in, this field will be defaulted to 'Regular'."
                              },
                              "target_gender": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "enum": [
                                  "female",
                                  "male",
                                  "unisex"
                                ],
                                "description": "Target Gender: the target gender for the product. If null is passed in, this field will be defaulted to 'unisex'."
                              },
                              "neck": {
                                "type": "object",
                                "properties": {
                                  "neck_style": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "value": {
                                          "type": "string",
                                          "description": "Neck Style: the neck style of the product."
                                        }
                                      },
                                      "required": [
                                        "value"
                                      ],
                                      "additionalProperties": false
                                    }
                                  }
                                },
                                "required": [
                                  "neck_style"
                                ],
                                "additionalProperties": false,
                                "description": "Neck: the attribute indicates Neck of the product."
                              },
                              "sleeve": {
                                "type": "object",
                                "properties": {
                                  "cuff_style": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "value": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "value"
                                      ],
                                      "additionalProperties": false
                                    },
                                    "description": "Sleeve Cuff Style: the item's sleeve cuff style."
                                  },
                                  "type": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "value": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "value"
                                      ],
                                      "additionalProperties": false
                                    },
                                    "description": "Sleeve Type: the item's type of sleeve."
                                  }
                                },
                                "additionalProperties": false,
                                "description": "Sleeve: attribute indicates the Sleeve of the product."
                              },
                              "shirt_size": {
                                "type": "object",
                                "properties": {
                                  "size": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "Shirt Size Value: the size value associated with the size system and size class. If null is passed in, this field will be defaulted to 'm'."
                                  },
                                  "size_class": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "enum": [
                                      "age",
                                      "alpha",
                                      "alpha_jaspo",
                                      "neck",
                                      "neck_sleeve",
                                      "numeric",
                                      "numeric_go",
                                      "numeric_height"
                                    ],
                                    "description": "Shirt Size Class: the size class for the shirt."
                                  },
                                  "size_system": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "enum": [
                                      "as1",
                                      "as2",
                                      "as3",
                                      "as4",
                                      "as5",
                                      "as6",
                                      "as7",
                                      "as8"
                                    ],
                                    "description": "Shirt Size System: the size system for the shirt. `UK market: as8` | `US & CA markets: as1` | `FR, ES, AE, SA markets: as4` | `DE, NL, SE, PL markets: as3` | `IT market: as6` | `JP market: as2` | `AU market: as5` | `MX market: as7`"
                                  },
                                  "body_type": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "enum": [
                                      "big",
                                      "slim",
                                      "regular",
                                      "plus"
                                    ],
                                    "description": "Shirt Body Type: the body type for apparel item, select 'regular' in case of no special body type. If null is passed in, this field will be defaulted to 'regular'."
                                  },
                                  "height_type": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "enum": [
                                      "petite",
                                      "regular",
                                      "tall",
                                      "extra_tall",
                                      "long",
                                      "short"
                                    ],
                                    "description": "Shirt Height Type: the height type for apparel item, select 'Regular' in case of no special height type. If null is passed in, this field will be defaulted to 'regular'."
                                  }
                                },
                                "required": [
                                  "size",
                                  "size_class",
                                  "size_system"
                                ],
                                "additionalProperties": false,
                                "description": "Shirt Size: the sizing information for the shirt."
                              }
                            },
                            "required": [
                              "product_description",
                              "age_range_description",
                              "bullet_point",
                              "care_instructions",
                              "color",
                              "department",
                              "fabric_type",
                              "fit_type",
                              "material",
                              "style",
                              "target_gender",
                              "neck",
                              "shirt_size"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "required": [
                          "product_identity",
                          "safety_and_compliance",
                          "shipping",
                          "image",
                          "offer",
                          "product_details"
                        ],
                        "additionalProperties": false
                      },
                      "sweatshirt": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "product_identity": {
                            "type": "object",
                            "properties": {
                              "item_name": {
                                "type": "string",
                                "description": "Product Name: the title for the item that may be customer facing. Max. 250 characters. Please include the size and color of the item in the Product Name, if available.  If this field is populated, we will not use the top level 'name' field value."
                              },
                              "item_type_keyword": {
                                "type": "string",
                                "description": "Category (item-type): information is used to determine where your product will be displayed.  By selecting the most relevant term, you increase the chance that buyers will find this product. What is the item that you are selling?"
                              },
                              "model_name": {
                                "type": "string",
                                "description": "Model Name: the model name of the product as defined by the manufacturer or brand excluding item type, color, brand or size."
                              },
                              "brand": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "enum": [
                                  "Generic"
                                ],
                                "description": "Brand Name: the brand name of the product. An alphanumeric string; 1 character minimum in length and 50 characters maximum in length. If null is passed in, this field will be defaulted to 'Generic'."
                              }
                            },
                            "required": [
                              "item_name",
                              "item_type_keyword",
                              "model_name",
                              "brand"
                            ],
                            "additionalProperties": false
                          },
                          "safety_and_compliance": {
                            "type": "object",
                            "properties": {
                              "batteries_required": {
                                "type": "string",
                                "enum": [
                                  "false"
                                ],
                                "description": "Are batteries required: input 'true' if batteries are required to power the item (or if the item is a battery) or 'false' if they are not. Please note that an internal rechargeable battery is also considered a battery."
                              },
                              "country_of_origin": {
                                "type": "string",
                                "description": "Country/Region of Origin: the product's country/region of origin. Input will be the 2 letter code of the country/region."
                              },
                              "cpsia_cautionary_statement": {
                                "type": "string",
                                "enum": [
                                  "choking_hazard_balloon",
                                  "choking_hazard_contains_a_marble",
                                  "choking_hazard_contains_small_ball",
                                  "choking_hazard_is_a_marble",
                                  "choking_hazard_is_a_small_ball",
                                  "choking_hazard_small_parts",
                                  "no_warning_applicable"
                                ],
                                "description": "Mandatory Cautionary Statement: relevant cautionary statements for the product as defined in Section 24 of the FHSA and section 105 of the CPSIA. The statements must be displayed on the product packaging and it is your responsibility to supply relevant statements."
                              },
                              "supplier_declared_dg_hz_regulation": {
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "enum": [
                                    "ghs",
                                    "not_applicable",
                                    "other",
                                    "storage",
                                    "transportation",
                                    "unknown",
                                    "waste"
                                  ]
                                },
                                "description": "If the product is a Dangerous Good or Hazardous Material, Substance or Waste that is regulated for transportation, storage, and/or waste select from the list of valid values"
                              }
                            },
                            "required": [
                              "batteries_required",
                              "country_of_origin",
                              "cpsia_cautionary_statement",
                              "supplier_declared_dg_hz_regulation"
                            ],
                            "additionalProperties": false
                          },
                          "variations": {
                            "type": "object",
                            "properties": {
                              "parentage_level": {
                                "type": "string",
                                "enum": [
                                  "parent",
                                  "child"
                                ],
                                "description": "Parentage Level: the SKU of the parent item."
                              },
                              "variation_theme": {
                                "type": "object",
                                "properties": {
                                  "name": {
                                    "type": "string",
                                    "enum": [
                                      "CUSTOMER_PACKAGE_TYPE",
                                      "COLOR",
                                      "COLOR_NAME",
                                      "COLOR_NAME/MATERIAL_TYPE",
                                      "COLOR_NAME/SIZE_NAME",
                                      "ITEM_SHAPE",
                                      "MATERIAL_TYPE",
                                      "MATERIAL_TYPE/COLOR_NAME",
                                      "MATERIAL_TYPE/SIZE_NAME",
                                      "NUMBER_OF_ITEMS",
                                      "PAPER_SIZE",
                                      "SIZE",
                                      "SIZE/COLOR",
                                      "SIZE_NAME",
                                      "SIZE_NAME/COLOR_NAME",
                                      "SIZE_NAME/NUMBER_OF_ITEMS",
                                      "SIZE_NAME/STYLE_NAME",
                                      "SPECIAL_SIZE_TYPE/SIZE_NAME",
                                      "SPECIAL_SIZE_TYPE/SIZE_NAME/COLOR_NAME",
                                      "SPECIAL_SIZE_TYPE/SIZE_NAME/MATERIAL_TYPE",
                                      "STYLE_NAME"
                                    ],
                                    "description": "Variation Theme Name: Specify the variation theme that the product will use. The theme's attributes must be populated for all items in the grouping."
                                  }
                                },
                                "additionalProperties": false
                              },
                              "child_parent_sku_relationship": {
                                "type": "object",
                                "properties": {
                                  "child_relationship_type": {
                                    "type": "string",
                                    "enum": [
                                      "variation"
                                    ],
                                    "description": "Child Relationship Type: the relationship that the child has to the parent."
                                  },
                                  "parent_sku": {
                                    "type": "string",
                                    "description": "Parent SKU: the SKU of the parent item."
                                  }
                                },
                                "required": [
                                  "child_relationship_type"
                                ],
                                "additionalProperties": false,
                                "description": "Child Parent Sku Relationship: the attribute indicates the Child Parent Sku Relationship of the product."
                              }
                            },
                            "required": [
                              "variation_theme"
                            ],
                            "additionalProperties": false,
                            "description": "Variations: Variations that product will use."
                          },
                          "shipping": {
                            "type": "object",
                            "properties": {
                              "item_package_weight": {
                                "type": "object",
                                "properties": {
                                  "unit": {
                                    "type": "string",
                                    "enum": [
                                      "grams",
                                      "kilograms",
                                      "milligrams",
                                      "ounces",
                                      "pounds"
                                    ]
                                  },
                                  "value": {
                                    "type": "number",
                                    "minimum": 0
                                  }
                                },
                                "required": [
                                  "unit",
                                  "value"
                                ],
                                "additionalProperties": false,
                                "description": "Package Weight: the weight in original package."
                              },
                              "item_package_dimensions": {
                                "type": "object",
                                "properties": {
                                  "height": {
                                    "type": "object",
                                    "properties": {
                                      "unit": {
                                        "type": "string",
                                        "enum": [
                                          "centimeters",
                                          "feet",
                                          "inches",
                                          "meters",
                                          "millimeters",
                                          "yards"
                                        ]
                                      },
                                      "value": {
                                        "type": "number",
                                        "minimum": 0
                                      }
                                    },
                                    "required": [
                                      "unit",
                                      "value"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "length": {
                                    "type": "object",
                                    "properties": {
                                      "unit": {
                                        "type": "string",
                                        "enum": [
                                          "centimeters",
                                          "feet",
                                          "inches",
                                          "meters",
                                          "millimeters",
                                          "yards"
                                        ]
                                      },
                                      "value": {
                                        "type": "number",
                                        "minimum": 0
                                      }
                                    },
                                    "required": [
                                      "unit",
                                      "value"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "width": {
                                    "type": "object",
                                    "properties": {
                                      "unit": {
                                        "type": "string",
                                        "enum": [
                                          "centimeters",
                                          "feet",
                                          "inches",
                                          "meters",
                                          "millimeters",
                                          "yards"
                                        ]
                                      },
                                      "value": {
                                        "type": "number",
                                        "minimum": 0
                                      }
                                    },
                                    "required": [
                                      "unit",
                                      "value"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "required": [
                                  "height",
                                  "length",
                                  "width"
                                ],
                                "additionalProperties": false,
                                "description": "Item Package Dimensions: the item's package dimensions."
                              }
                            },
                            "required": [
                              "item_package_weight",
                              "item_package_dimensions"
                            ],
                            "additionalProperties": false
                          },
                          "image": {
                            "type": "object",
                            "properties": {
                              "main_product_image_locator": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Main Image URL: the URL where the main product-specific image of the product is located."
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Main Product Image Locator: the attribute indicates the Main Product Image Locator of the product."
                              },
                              "other_product_image_locator_1": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 1: the attribute indicates the Other Product Image Locator 1 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_2": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 2: the attribute indicates the Other Product Image Locator 2 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_3": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 3: the attribute indicates the Other Product Image Locator 3 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_4": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 4: the attribute indicates the Other Product Image Locator 4 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_5": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 5: the attribute indicates the Other Product Image Locator 5 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_6": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 6: the attribute indicates the Other Product Image Locator 6 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_7": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 7: the attribute indicates the Other Product Image Locator 7 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_product_image_locator_8": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Product Image Locator 8: the attribute indicates the Other Product Image Locator 8 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              }
                            },
                            "required": [
                              "main_product_image_locator"
                            ],
                            "additionalProperties": false
                          },
                          "offer": {
                            "type": "object",
                            "properties": {
                              "import_designation": {
                                "type": "string",
                                "enum": [
                                  "Imported",
                                  "Made in the USA",
                                  "Made in the USA and Imported",
                                  "Made in the USA or Imported"
                                ],
                                "description": "Import Designation: the import designation for the item."
                              },
                              "condition_type": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "enum": [
                                  "new_new",
                                  "new_open_box",
                                  "new_oem",
                                  "refurbished_refurbished",
                                  "used_like_new",
                                  "used_very_good",
                                  "used_good",
                                  "used_acceptable",
                                  "collectible_like_new",
                                  "collectible_very_good",
                                  "collectible_good",
                                  "collectible_acceptable",
                                  "club_club"
                                ],
                                "description": "Offering Condition Type: the actual condition type of the product. Use one of these types: https://developer-docs.amazon.com/sp-api/docs/listings-items-api-v2021-08-01-reference#conditiontype. If null is passed in, this field will be defaulted to 'new_new'."
                              },
                              "fulfillment_availability": {
                                "type": "object",
                                "properties": {
                                  "fulfillment_channel_code": {
                                    "type": "string",
                                    "enum": [
                                      "AMAZON_NA",
                                      "DEFAULT"
                                    ],
                                    "description": "Fulfillment Channel Code: For those merchants using Amazon fulfillment services, this designates which fulfillment network will be used. Specifying a value other than DEFAULT will cancel the Merchant-fulfilled offering."
                                  },
                                  "quantity": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "description": "Quantity: the quantity of the item you are making available for sale.  This is your current INVENTORY commitment (as a whole number). Quantity is required for all “child” or stand-alone items. If left blank when first submitting the product information, the item will be displayed as “Out of stock.”  Do not enter quantity for parent items. Amazon-fulfilled products: Do not enter quantity, as it is not applicable for products fulfilled by Amazon.  Instead, submit fulfillment center id in a separate column (see data definition for details)."
                                  }
                                },
                                "required": [
                                  "fulfillment_channel_code",
                                  "quantity"
                                ],
                                "additionalProperties": false
                              },
                              "main_offer_image_locator": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Main Image URL: the URL where the main offer-specific image of the product is located."
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Main Offer Image Locator: Provide the location of the image."
                              },
                              "other_offer_image_locator_1": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Offer Image Locator 1: the attribute indicates the Other Offer Image Locator 1 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_offer_image_locator_2": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Offer Image Locator 2: the attribute indicates the Other Offer Image Locator 2 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_offer_image_locator_3": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Offer Image Locator 3: the attribute indicates the Other Offer Image Locator 3 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_offer_image_locator_4": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Offer Image Locator 4: the attribute indicates the Other Offer Image Locator 4 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "other_offer_image_locator_5": {
                                "type": "object",
                                "properties": {
                                  "media_location": {
                                    "type": "string",
                                    "description": "Other Offer Image Locator 5: the attribute indicates the Other Offer Image Locator 5 of the product"
                                  }
                                },
                                "required": [
                                  "media_location"
                                ],
                                "additionalProperties": false,
                                "description": "Other Image URL: the URL for additional images of your product. These images will be shown on the detail page when the customer clicks through to see other views associated with the product."
                              },
                              "purchasable_offer": {
                                "type": "object",
                                "properties": {
                                  "currency": {
                                    "type": "string",
                                    "description": "Currency: the corresponding currency"
                                  },
                                  "our_price": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "schedule": {
                                          "type": "array",
                                          "items": {
                                            "type": "object",
                                            "properties": {
                                              "value_with_tax": {
                                                "type": "number",
                                                "description": "Your Price: the base price of an item."
                                              }
                                            },
                                            "required": [
                                              "value_with_tax"
                                            ],
                                            "additionalProperties": false
                                          }
                                        }
                                      },
                                      "required": [
                                        "schedule"
                                      ],
                                      "additionalProperties": false
                                    }
                                  }
                                },
                                "required": [
                                  "our_price"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "required": [
                              "import_designation",
                              "condition_type",
                              "fulfillment_availability",
                              "purchasable_offer"
                            ],
                            "additionalProperties": false
                          },
                          "product_details": {
                            "type": "object",
                            "properties": {
                              "form_factor": {
                                "type": "string",
                                "description": "Form Factor: the outward design characteristics of the item."
                              },
                              "is_assembly_required": {
                                "type": "string",
                                "enum": [
                                  "true",
                                  "false"
                                ],
                                "description": "Required Assembly: indicate whether or not the item requires assembly by the customer."
                              },
                              "is_expiration_dated_product": {
                                "type": "string",
                                "enum": [
                                  "true",
                                  "false"
                                ],
                                "description": "Is Product Expirable: Select `true` if the product meets one of the following criteria: 1. Has a printed expiration date; 2. Is a topical or consumable product for either human or animal use; 3. Has a recommended shelf life. Otherwise, select `false`"
                              },
                              "is_framed": {
                                "type": "string",
                                "enum": [
                                  "true",
                                  "false"
                                ],
                                "description": "Is Framed: the attribute indicates the Is Framed of the product."
                              },
                              "item_shape": {
                                "type": "string",
                                "description": "Shape: The shape of the item."
                              },
                              "item_type_name": {
                                "type": "string",
                                "description": "Item Type Name: a customer-facing one to two-word phrase that describes the type of item the product is."
                              },
                              "lining_description": {
                                "type": "string",
                                "description": "Lining Description: the lining of the product."
                              },
                              "number_of_compartments": {
                                "type": "integer",
                                "minimum": 0,
                                "description": "Number of Compartments: the number of compartments that the item has."
                              },
                              "number_of_items": {
                                "type": "integer",
                                "minimum": 0,
                                "description": "Number of Items: the total number of identical items in the selling unit to the customer."
                              },
                              "number_of_pieces": {
                                "type": "integer",
                                "minimum": 0,
                                "description": "Number of Pieces: the number of pieces within the unit being sold to the customer."
                              },
                              "number_of_pockets": {
                                "type": "integer",
                                "minimum": 0,
                                "description": "Number of Pockets: the number of pockets in the item."
                              },
                              "occasion_type": {
                                "type": "string",
                                "description": "Occasion: the occasions the product is best suited for."
                              },
                              "orientation": {
                                "type": "string",
                                "description": "Orientation: the orientation of the item."
                              },
                              "part_number": {
                                "type": "string",
                                "description": "Part Number: If applicable, please submit the manufacturer's part number for the product.  For most products, this will be identical to the model number; however, some manufacturers distinguish part number from model number."
                              },
                              "pattern": {
                                "type": "string",
                                "description": "Mount Bolt Pattern: the item's pattern."
                              },
                              "product_description": {
                                "type": "string",
                                "description": "Product Description: the text description of the product. This information will appear in paragraph form on the detail page of your product. Include unique product features, product line details, and product specifications. Do not use all caps. If this field is populated, we will not use the top level 'description' field value."
                              },
                              "size": {
                                "type": "string",
                                "description": "Size: numeric or text version of the item's size."
                              },
                              "size_info": {
                                "type": "string",
                                "description": "Size Info: size description as if you were explaining to a customer what the size of this item is when they can only see the picture of it. For example: How big is this carry-on suitcase?"
                              },
                              "special_size_type": {
                                "type": "string",
                                "description": "Special Size: Specify the special size type for the item."
                              },
                              "strap_type": {
                                "type": "string",
                                "description": "Strap Type: the type of strap for this item."
                              },
                              "theme": {
                                "type": "string",
                                "description": "Theme: the theme of the product. Very similar to subject, but with more general use cases the style of the product."
                              },
                              "wall_art_form": {
                                "type": "string",
                                "description": "Wall Art Form: the form of the wall art. The form represents the design and construction features and method of the wall art."
                              },
                              "age_range_description": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Age Range Description: the appropriate age range description for the item. If null is passed in, this field will be defaulted to 'Adult'."
                              },
                              "bullet_point": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "Bullet Point: brief descriptive text, called out via a bullet point, regarding a specific aspect of the product. These display directly under or next to your product photo, it is useful to put interesting information in these fields. Do NOT use all caps or abbreviations. Please do NOT use for fabric content, care instructions or country as these are populated in different fields."
                              },
                              "care_instructions": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Care Instructions: the instructions related to how to care for the item. If null is passed in, this field will be defaulted to 'Hand Wash'."
                              },
                              "color": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Color: the color of the product. If null is passed in, this field will be defaulted to 'Cranberry'."
                              },
                              "compatible_phone_models": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "Compatible Phone Models: the phone models this product is compatible with."
                              },
                              "department": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Department Name: Provide the gender/age for which this item is intended. If null is passed in, this field will be defaulted to 'Adult'."
                              },
                              "fabric_type": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Fabric Type: list all fabrics separated by ','. Indicate with % composition. Always add 'Viscose' or 'Rayon' instead of 'Bamboo', and 'Azlon' for Soy. If null is passed in, this field will be defaulted to '100% Cotton'."
                              },
                              "fit_type": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Fit type: the item's fit type. If null is passed in, this field will be defaulted to 'Regular Fit'."
                              },
                              "included_components": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "Included Components: the items that are included with this product."
                              },
                              "material": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "Material: the primary materials used for manufacturing the item."
                              },
                              "special_feature": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "Special Features: any special features an item has that distinguish it from other, comparable products."
                              },
                              "style": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Style: the style of the product. Style refers to the aesthetic choices of a person or a group of people. It describes the distinctive visual representation of a product. If null is passed in, this field will be defaulted to 'Regular'."
                              },
                              "target_gender": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "enum": [
                                  "female",
                                  "male",
                                  "unisex"
                                ],
                                "description": "Target Gender: the target gender for the product. If null is passed in, this field will be defaulted to 'unisex'."
                              },
                              "capacity": {
                                "type": "object",
                                "properties": {
                                  "unit": {
                                    "type": "string",
                                    "enum": [
                                      "cubic_centimeters",
                                      "cubic_feet",
                                      "cubic_inches",
                                      "fluid_ounces",
                                      "gallons",
                                      "kilograms",
                                      "liters",
                                      "microliters",
                                      "milliliters",
                                      "ounces",
                                      "pints",
                                      "pounds",
                                      "quarts",
                                      "tons"
                                    ],
                                    "description": "Capacity: the capacity of the item."
                                  },
                                  "value": {
                                    "type": "number",
                                    "minimum": 0,
                                    "description": "Capacity: the capacity of the item as a numeric value."
                                  }
                                },
                                "required": [
                                  "unit",
                                  "value"
                                ],
                                "additionalProperties": false,
                                "description": "Capacity: the capacity of the item."
                              },
                              "closure": {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "value": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "value"
                                      ],
                                      "additionalProperties": false
                                    }
                                  }
                                },
                                "required": [
                                  "type"
                                ],
                                "additionalProperties": false,
                                "description": "Apparel Closure Type: the type of closing mechanism used by the item. The closing type allows a user to fully wear, seal, or close the item."
                              },
                              "neck": {
                                "type": "object",
                                "properties": {
                                  "neck_style": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "value": {
                                          "type": "string",
                                          "description": "Neck Style: the neck style of the product."
                                        }
                                      },
                                      "required": [
                                        "value"
                                      ],
                                      "additionalProperties": false
                                    }
                                  }
                                },
                                "required": [
                                  "neck_style"
                                ],
                                "additionalProperties": false,
                                "description": "Neck: the attribute indicates Neck of the product."
                              },
                              "unit_count": {
                                "type": "object",
                                "properties": {
                                  "value": {
                                    "type": "string",
                                    "description": "Unit Count: For products that are consumed by volume, weight, linear dimension, etc., provide the net quantity that would be shipped to a customer who orders one ASIN (e.g. 12 pack of 6 floz. bottles of water = 72, vs. a single 2 liter bottle = 2). For products consumed as individual units, provide the total number of units (pack of 12 pens = 12). For packed assortments of non-identical items, enter 1."
                                  },
                                  "type": {
                                    "type": "object",
                                    "properties": {
                                      "value": {
                                        "type": "string",
                                        "enum": [
                                          "Count",
                                          "Fl Oz",
                                          "Foot",
                                          "Gram",
                                          "Ounce",
                                          "Pound",
                                          "Sq Ft"
                                        ],
                                        "description": "Unit Count Type: For items consumed by volume, weight, linear dimension etc., provide the unit of measure listed on the products. For products consumed as individual units, enter: count"
                                      }
                                    },
                                    "required": [
                                      "value"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "required": [
                                  "value",
                                  "type"
                                ],
                                "additionalProperties": false,
                                "description": "Unit Count: the number of units and the unit type of the product."
                              },
                              "item_length_width": {
                                "type": "object",
                                "properties": {
                                  "length": {
                                    "type": "object",
                                    "properties": {
                                      "unit": {
                                        "type": "string",
                                        "enum": [
                                          "centimeters",
                                          "feet",
                                          "inches",
                                          "meters",
                                          "millimeters",
                                          "yards"
                                        ]
                                      },
                                      "value": {
                                        "type": "number",
                                        "minimum": 0
                                      }
                                    },
                                    "required": [
                                      "unit",
                                      "value"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "width": {
                                    "type": "object",
                                    "properties": {
                                      "unit": {
                                        "type": "string",
                                        "enum": [
                                          "centimeters",
                                          "feet",
                                          "inches",
                                          "meters",
                                          "millimeters",
                                          "yards"
                                        ]
                                      },
                                      "value": {
                                        "type": "number",
                                        "minimum": 0
                                      }
                                    },
                                    "required": [
                                      "unit",
                                      "value"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "required": [
                                  "length",
                                  "width"
                                ],
                                "additionalProperties": false,
                                "description": "Item Dimensions W x H: the measurement of the width and height of the item in ready to use condition."
                              },
                              "item_width_height": {
                                "type": "object",
                                "properties": {
                                  "height": {
                                    "type": "object",
                                    "properties": {
                                      "unit": {
                                        "type": "string",
                                        "enum": [
                                          "centimeters",
                                          "feet",
                                          "inches",
                                          "meters",
                                          "millimeters",
                                          "yards"
                                        ]
                                      },
                                      "value": {
                                        "type": "number",
                                        "minimum": 0
                                      }
                                    },
                                    "required": [
                                      "unit",
                                      "value"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "width": {
                                    "type": "object",
                                    "properties": {
                                      "unit": {
                                        "type": "string",
                                        "enum": [
                                          "centimeters",
                                          "feet",
                                          "inches",
                                          "meters",
                                          "millimeters",
                                          "yards"
                                        ]
                                      },
                                      "value": {
                                        "type": "number",
                                        "minimum": 0
                                      }
                                    },
                                    "required": [
                                      "unit",
                                      "value"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "required": [
                                  "height",
                                  "width"
                                ],
                                "additionalProperties": false,
                                "description": "Item Dimensions W x H: the measurement of the width and height of the item in ready to use condition."
                              },
                              "sleeve": {
                                "type": "object",
                                "properties": {
                                  "cuff_style": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "value": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "value"
                                      ],
                                      "additionalProperties": false
                                    },
                                    "description": "Sleeve Cuff Style: the item's sleeve cuff style."
                                  },
                                  "type": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "value": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "value"
                                      ],
                                      "additionalProperties": false
                                    },
                                    "description": "Sleeve Type: the item's type of sleeve."
                                  }
                                },
                                "additionalProperties": false,
                                "description": "Sleeve: attribute indicates the Sleeve of the product."
                              },
                              "frame": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "material": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "value": {
                                            "type": "string",
                                            "description": "Frame Material: the material of the item's frame."
                                          }
                                        },
                                        "required": [
                                          "value"
                                        ],
                                        "additionalProperties": false
                                      }
                                    },
                                    "type": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "value": {
                                            "type": "string",
                                            "description": "Frame Type: the product's frame type."
                                          }
                                        },
                                        "required": [
                                          "value"
                                        ],
                                        "additionalProperties": false
                                      }
                                    }
                                  },
                                  "additionalProperties": false
                                }
                              },
                              "item_length_width_height": {
                                "type": "object",
                                "properties": {
                                  "height": {
                                    "type": "object",
                                    "properties": {
                                      "unit": {
                                        "type": "string",
                                        "enum": [
                                          "centimeters",
                                          "feet",
                                          "inches",
                                          "meters",
                                          "millimeters",
                                          "yards"
                                        ]
                                      },
                                      "value": {
                                        "type": "number",
                                        "minimum": 0
                                      }
                                    },
                                    "required": [
                                      "unit",
                                      "value"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "length": {
                                    "type": "object",
                                    "properties": {
                                      "unit": {
                                        "type": "string",
                                        "enum": [
                                          "centimeters",
                                          "feet",
                                          "inches",
                                          "meters",
                                          "millimeters",
                                          "yards"
                                        ]
                                      },
                                      "value": {
                                        "type": "number",
                                        "minimum": 0
                                      }
                                    },
                                    "required": [
                                      "unit",
                                      "value"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "width": {
                                    "type": "object",
                                    "properties": {
                                      "unit": {
                                        "type": "string",
                                        "enum": [
                                          "centimeters",
                                          "feet",
                                          "inches",
                                          "meters",
                                          "millimeters",
                                          "yards"
                                        ]
                                      },
                                      "value": {
                                        "type": "number",
                                        "minimum": 0
                                      }
                                    },
                                    "required": [
                                      "unit",
                                      "value"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "required": [
                                  "height",
                                  "length",
                                  "width"
                                ],
                                "additionalProperties": false,
                                "description": "Item Dimensions W x H: the measurement of the width and height of the item in ready to use condition."
                              },
                              "apparel_size": {
                                "type": "object",
                                "properties": {
                                  "size": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "Apparel Size Value: the size value associated with the size system and size class. If null is passed in, this field will be defaulted to 'm'."
                                  },
                                  "size_class": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "enum": [
                                      "age",
                                      "alpha",
                                      "alpha_jaspo",
                                      "neck",
                                      "neck_sleeve",
                                      "numeric",
                                      "numeric_go",
                                      "numeric_height"
                                    ],
                                    "description": "Apparel Size Class: the size class for the shirt."
                                  },
                                  "size_system": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "enum": [
                                      "as1",
                                      "as2",
                                      "as3",
                                      "as4",
                                      "as5",
                                      "as6",
                                      "as7",
                                      "as8"
                                    ],
                                    "description": "Apparel Size System: the selected size must be specific to the marketplace size system and might differ from the label size. `UK market: as8` | `US & CA markets: as1` | `FR, ES, AE, SA markets: as4` | `DE, NL, SE, PL markets: as3` | `IT market: as6` | `JP market: as2` | `AU market: as5` | `MX market: as7`"
                                  },
                                  "body_type": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "enum": [
                                      "big",
                                      "slim",
                                      "regular",
                                      "plus"
                                    ],
                                    "description": "Apparel Size Body Type: the body type for apparel item, select 'regular' in case of no special body type. If null is passed in, this field will be defaulted to 'regular'."
                                  },
                                  "height_type": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "enum": [
                                      "petite",
                                      "regular",
                                      "tall",
                                      "extra_tall",
                                      "long",
                                      "short"
                                    ],
                                    "description": "Apparel Size Height Type: the height type for apparel item, select 'Regular' in case of no special height type. If null is passed in, this field will be defaulted to 'regular'."
                                  }
                                },
                                "required": [
                                  "size",
                                  "size_class",
                                  "size_system"
                                ],
                                "additionalProperties": false,
                                "description": "Shirt Size: the sizing information for the apparel item."
                              },
                              "shirt_size": {
                                "type": "object",
                                "properties": {
                                  "size": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "Shirt Size Value: the size value associated with the size system and size class. If null is passed in, this field will be defaulted to 'm'."
                                  },
                                  "size_class": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "enum": [
                                      "age",
                                      "alpha",
                                      "alpha_jaspo",
                                      "neck",
                                      "neck_sleeve",
                                      "numeric",
                                      "numeric_go",
                                      "numeric_height"
                                    ],
                                    "description": "Shirt Size Class: the size class for the shirt."
                                  },
                                  "size_system": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "enum": [
                                      "as1",
                                      "as2",
                                      "as3",
                                      "as4",
                                      "as5",
                                      "as6",
                                      "as7",
                                      "as8"
                                    ],
                                    "description": "Shirt Size System: the size system for the shirt. `UK market: as8` | `US & CA markets: as1` | `FR, ES, AE, SA markets: as4` | `DE, NL, SE, PL markets: as3` | `IT market: as6` | `JP market: as2` | `AU market: as5` | `MX market: as7`"
                                  },
                                  "body_type": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "enum": [
                                      "big",
                                      "slim",
                                      "regular",
                                      "plus"
                                    ],
                                    "description": "Shirt Body Type: the body type for apparel item, select 'regular' in case of no special body type. If null is passed in, this field will be defaulted to 'regular'."
                                  },
                                  "height_type": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "enum": [
                                      "petite",
                                      "regular",
                                      "tall",
                                      "extra_tall",
                                      "long",
                                      "short"
                                    ],
                                    "description": "Shirt Height Type: the height type for apparel item, select 'Regular' in case of no special height type. If null is passed in, this field will be defaulted to 'regular'."
                                  }
                                },
                                "required": [
                                  "size",
                                  "size_class",
                                  "size_system"
                                ],
                                "additionalProperties": false,
                                "description": "Shirt Size: the sizing information for the shirt."
                              }
                            },
                            "additionalProperties": false
                          }
                        },
                        "required": [
                          "product_identity",
                          "safety_and_compliance",
                          "shipping",
                          "image",
                          "offer",
                          "product_details"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "required": [
                      "sku"
                    ],
                    "additionalProperties": false,
                    "description": "Due to the complexity of the POST /products call for Amazon, the schema will live in additional_fields. Please see our [Amazon POST /products workflow guide](https://rutterapi.notion.site/Amazon-POST-products-Workflow-941ca70bdf114ad282277f3951fc25c6?pvs=4) for the prescribed workflow and additional resources eg example POST body."
                  }
                },
                "additionalProperties": false
              }
            },
            "required": [
              "description",
              "name",
              "variants"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "product"
        ],
        "examples": [
          {
            "CreateProductBody_Example": {
              "$ref": "#/components/examples/CreateProductBody_Example"
            }
          }
        ]
      },
      "CreateProductResponse": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "async_response": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "response_url": {
                    "type": "string"
                  },
                  "status": {
                    "type": "string",
                    "enum": [
                      "prequeued",
                      "pending",
                      "success",
                      "failure"
                    ]
                  }
                },
                "required": [
                  "id",
                  "response_url",
                  "status"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "async_response"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "product": {
                "$ref": "#/components/schemas/Product"
              }
            },
            "required": [
              "product"
            ],
            "additionalProperties": false
          }
        ],
        "examples": [
          {
            "CreateProductResponse_Example": {
              "$ref": "#/components/examples/CreateProductResponse_Example"
            }
          }
        ]
      },
      "GetProductsQuery": {
        "type": "object",
        "properties": {
          "access_token": {
            "type": "string",
            "format": "uuid",
            "description": "The access token of the connection."
          },
          "force_fetch": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ],
            "description": "Force a response even if the underlying connection hasn't finished the initial sync."
          }
        },
        "required": [
          "access_token"
        ]
      },
      "GetProductResponse": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "product": {
            "$ref": "#/components/schemas/Product"
          }
        },
        "required": [
          "connection",
          "product"
        ],
        "examples": [
          {
            "GetProductResponse_Example": {
              "$ref": "#/components/examples/GetProductResponse_Example"
            }
          }
        ]
      },
      "DeleteProductResponse": {
        "type": "object",
        "properties": {
          "product": {
            "type": "string",
            "description": "Id of the deleted product"
          },
          "success": {
            "type": "boolean",
            "description": "`true` if the delete operation succeeded."
          }
        },
        "required": [
          "product",
          "success"
        ],
        "examples": [
          {
            "DeleteProductResponse_Example": {
              "$ref": "#/components/examples/DeleteProductResponse_Example"
            }
          }
        ]
      },
      "UpdateProductBody": {
        "type": "object",
        "properties": {
          "product": {
            "type": "object",
            "properties": {
              "description": {
                "type": "string",
                "description": "The description of the product."
              },
              "name": {
                "type": "string",
                "description": "The name of the product."
              },
              "status": {
                "type": "string",
                "enum": [
                  "active",
                  "archived",
                  "inactive",
                  "draft",
                  "unknown"
                ],
                "description": "The status of the product."
              }
            },
            "additionalProperties": false
          }
        },
        "required": [
          "product"
        ],
        "examples": [
          {
            "UpdateProductBody_Example": {
              "$ref": "#/components/examples/UpdateProductBody_Example"
            }
          }
        ]
      },
      "PatchProductResponse": {
        "type": "object",
        "properties": {
          "product": {
            "$ref": "#/components/schemas/Product"
          }
        },
        "required": [
          "product"
        ],
        "examples": [
          {
            "PatchProductResponse_Example": {
              "$ref": "#/components/examples/PatchProductResponse_Example"
            }
          }
        ]
      },
      "CreateVariantBody": {
        "type": "object",
        "properties": {
          "variant": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "price": {
                "type": "number"
              },
              "sku": {
                "type": "string"
              },
              "images": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "src": {
                      "type": "string",
                      "description": "The URL of the image."
                    }
                  },
                  "required": [
                    "src"
                  ],
                  "additionalProperties": false
                },
                "description": "Supported only for Wix, Etsy, Shopify, BigCommerce, Magento, PrestaShop."
              },
              "option_values": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "value": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "name",
                    "value"
                  ],
                  "additionalProperties": false
                }
              },
              "weight": {
                "type": "object",
                "properties": {
                  "unit": {
                    "type": "string",
                    "enum": [
                      "kg",
                      "g",
                      "oz",
                      "lb",
                      "gal"
                    ]
                  },
                  "value": {
                    "type": "number"
                  }
                },
                "required": [
                  "unit",
                  "value"
                ],
                "additionalProperties": false
              },
              "inventory": {
                "type": "object",
                "properties": {
                  "location_id": {
                    "type": "string"
                  },
                  "total_count": {
                    "type": "number"
                  }
                },
                "additionalProperties": false
              }
            },
            "required": [
              "price",
              "sku",
              "option_values"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "variant"
        ],
        "examples": [
          {
            "CreateVariantBody_Example": {
              "$ref": "#/components/examples/CreateVariantBody_Example"
            }
          }
        ]
      },
      "VariantResponse": {
        "type": "object",
        "properties": {
          "variant": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "description": "The ID of the variant. This value can either be a Rutter-generated UUID or the ID of the variant in the platform. This ID is not guaranteed to be unique across all variants."
              },
              "platform_id": {
                "type": "string",
                "description": "The platform specific ID of the variant."
              },
              "product_id": {
                "type": "string"
              },
              "price": {
                "type": "number",
                "description": "The price of the variant."
              },
              "requires_shipping": {
                "type": "boolean",
                "description": "Whether the variant requires shipping."
              },
              "barcode": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "The barcode of the variant."
              },
              "fulfillment_service": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "The fulfillment service of the variant."
              },
              "inventory_management": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "The inventory management system of the variant."
              },
              "iso_currency_code": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "The [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code of the variant."
              },
              "sku": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "The stock keeping unit (SKU) of the variant."
              },
              "title": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "The title of the variant."
              },
              "unit_cost": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "The unit cost of the variant."
              },
              "variant_url": {
                "type": "string",
                "description": "The consumer facing URL used to access the variant online."
              },
              "description": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "The description of the variant."
              },
              "images": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "src": {
                      "type": "string",
                      "description": "The URL of the image."
                    }
                  },
                  "required": [
                    "src"
                  ],
                  "additionalProperties": false
                },
                "description": "An array of images linked to the variant."
              },
              "short_description": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "An abbreviated description of the variant."
              },
              "option_values": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string",
                      "description": "The name of the variant option."
                    },
                    "value": {
                      "type": "string",
                      "description": "The value of the variant option."
                    }
                  },
                  "required": [
                    "name",
                    "value"
                  ],
                  "additionalProperties": false
                },
                "description": "The option values associated with the variant. This describes how the variant is unique from other variants of the same product."
              },
              "currency_prices": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "iso_currency_code": {
                      "type": "string",
                      "description": "The [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code of the price."
                    },
                    "price": {
                      "type": "number",
                      "description": "The value of the price."
                    }
                  },
                  "required": [
                    "iso_currency_code",
                    "price"
                  ],
                  "additionalProperties": false
                },
                "description": "An array of prices in different supported currencies for the variant."
              },
              "weight": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "unit": {
                    "type": "string",
                    "enum": [
                      "kg",
                      "g",
                      "oz",
                      "lb",
                      "gal"
                    ],
                    "description": "The unit the weight is being measured in."
                  },
                  "value": {
                    "type": "number",
                    "description": "The value of the weight."
                  }
                },
                "required": [
                  "unit",
                  "value"
                ],
                "additionalProperties": false,
                "description": "The weight of the variant."
              },
              "linked_products": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "variant_id": {
                      "type": "string"
                    },
                    "link_type": {
                      "type": "string"
                    },
                    "sku": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "variant_id",
                    "link_type",
                    "sku"
                  ],
                  "additionalProperties": false
                }
              },
              "inventory": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "total_count": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "description": "The total amount of inventory of the variant."
                  },
                  "locations": {
                    "type": [
                      "array",
                      "null"
                    ],
                    "items": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "description": "The Rutter generated unique ID of the location."
                        },
                        "address1": {
                          "type": "string",
                          "description": "The first address line of the location."
                        },
                        "address2": {
                          "type": "string",
                          "description": "The second address line of the location."
                        },
                        "city": {
                          "type": "string",
                          "description": "The city of the location."
                        },
                        "country": {
                          "type": "string",
                          "description": "The country of the location."
                        },
                        "name": {
                          "type": "string",
                          "description": "The name of the location."
                        },
                        "postal_code": {
                          "type": "string",
                          "description": "The postal code of the location."
                        },
                        "quantity": {
                          "type": "number",
                          "description": "The quantity of inventory at the location."
                        },
                        "region": {
                          "type": "string",
                          "description": "The region of the location."
                        },
                        "updated_at": {
                          "type": "string",
                          "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the location was last updated."
                        }
                      },
                      "required": [
                        "id",
                        "address1",
                        "address2",
                        "city",
                        "country",
                        "name",
                        "postal_code",
                        "quantity",
                        "region",
                        "updated_at"
                      ],
                      "additionalProperties": false
                    },
                    "description": "The locations containing inventory for the variant."
                  }
                },
                "required": [
                  "total_count",
                  "locations"
                ],
                "additionalProperties": false,
                "description": "Details about the inventory of the variant."
              },
              "created_at": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the variant was created."
              },
              "updated_at": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the variant was last updated."
              }
            },
            "required": [
              "id",
              "product_id",
              "price",
              "requires_shipping",
              "barcode",
              "fulfillment_service",
              "inventory_management",
              "iso_currency_code",
              "sku",
              "title",
              "unit_cost",
              "images",
              "option_values",
              "created_at",
              "updated_at"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "variant"
        ],
        "examples": [
          {
            "VariantResponse_Example": {
              "$ref": "#/components/examples/VariantResponse_Example"
            }
          }
        ]
      },
      "DeleteVariantPathParams": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The Rutter generated unique ID of the variant."
          }
        },
        "required": [
          "id"
        ]
      },
      "DeleteVariantResponse": {
        "type": "object",
        "properties": {
          "productId": {
            "type": "string"
          },
          "variantId": {
            "type": "string"
          }
        },
        "required": [
          "productId",
          "variantId"
        ],
        "examples": [
          {
            "DeleteVariantResponse_Example": {
              "$ref": "#/components/examples/DeleteVariantResponse_Example"
            }
          }
        ]
      },
      "UpdateVariantPathParams": {
        "type": "object",
        "properties": {
          "variantId": {
            "type": "string",
            "description": "The Rutter generated unique ID of the variant."
          }
        },
        "required": [
          "variantId"
        ]
      },
      "UpdateVariantBody": {
        "type": "object",
        "properties": {
          "variant": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "price": {
                "type": "number"
              },
              "sku": {
                "type": "string"
              },
              "images": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "src": {
                      "type": "string",
                      "description": "The URL of the image."
                    }
                  },
                  "required": [
                    "src"
                  ],
                  "additionalProperties": false
                },
                "description": "Supported only for Wix, Etsy, Shopify."
              },
              "weight": {
                "type": "object",
                "properties": {
                  "unit": {
                    "type": "string",
                    "enum": [
                      "kg",
                      "g",
                      "oz",
                      "lb",
                      "gal"
                    ]
                  },
                  "value": {
                    "type": "number"
                  }
                },
                "required": [
                  "unit",
                  "value"
                ],
                "additionalProperties": false
              },
              "option_values": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "value": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "name",
                    "value"
                  ],
                  "additionalProperties": false
                }
              },
              "inventory": {
                "type": "object",
                "properties": {
                  "location_id": {
                    "type": "string"
                  },
                  "total_count": {
                    "type": "number"
                  }
                },
                "additionalProperties": false
              }
            },
            "required": [
              "id"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "variant"
        ],
        "examples": [
          {
            "UpdateVariantBody_Example": {
              "$ref": "#/components/examples/UpdateVariantBody_Example"
            }
          }
        ]
      },
      "ListProductCategoriesQuery": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Only fetch a specific product category id."
          },
          "access_token": {
            "type": "string",
            "format": "uuid",
            "description": "The access token of the connection."
          },
          "force_fetch": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ],
            "description": "Force a response even if the underlying connection hasn't finished the initial sync."
          }
        },
        "required": [
          "access_token"
        ]
      },
      "ProductCategory": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The Rutter generated unique ID of the product category."
          },
          "name": {
            "type": "string",
            "description": "The name of the category"
          },
          "children": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProductCategory"
            },
            "description": "Array of sub-categories in the same format."
          }
        },
        "required": [
          "id",
          "name",
          "children"
        ]
      },
      "ListProductCategoriesResponse": {
        "type": "object",
        "properties": {
          "categories": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProductCategory"
            }
          }
        },
        "required": [
          "categories"
        ],
        "examples": [
          {
            "ListProductCategoriesResponse_Example": {
              "$ref": "#/components/examples/ListProductCategoriesResponse_Example"
            }
          }
        ]
      },
      "CommonGetParamsWithExpand": {
        "type": "object",
        "properties": {
          "access_token": {
            "type": "string",
            "format": "uuid",
            "description": "The access token of the connection."
          },
          "expand": {
            "type": "string",
            "enum": [
              "platform_data"
            ],
            "description": "Optionally, include raw external platform data when fetching data."
          },
          "force_fetch": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ],
            "description": "Force a response even if the underlying connection hasn't finished the initial sync."
          }
        },
        "required": [
          "access_token"
        ]
      },
      "Store": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The Rutter generated unique ID of the store."
          },
          "store_name": {
            "type": "string",
            "description": "The unique identifier or brand name of the store."
          },
          "url": {
            "type": "string",
            "description": "The consumer facing URL of the store."
          },
          "default_currency": {
            "type": [
              "string",
              "null"
            ],
            "description": "The [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code of the store."
          },
          "email": {
            "type": "string",
            "description": "The email of the primary contact of the store."
          }
        },
        "required": [
          "id",
          "store_name",
          "url",
          "default_currency"
        ],
        "examples": [
          {
            "Store_Example": {
              "$ref": "#/components/examples/Store_Example"
            }
          }
        ]
      },
      "GetStoreResponse": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "store": {
            "$ref": "#/components/schemas/Store",
            "type": [
              "null"
            ]
          }
        },
        "required": [
          "store"
        ],
        "examples": [
          {
            "GetStoreResponse_Example": {
              "$ref": "#/components/examples/GetStoreResponse_Example"
            }
          }
        ]
      },
      "ListSubscriptionsQuery": {
        "type": "object",
        "properties": {
          "access_token": {
            "type": "string",
            "format": "uuid",
            "description": "The access token of the connection."
          },
          "cursor": {
            "type": "string",
            "description": "The cursor to use for pagination. Use the value of `next_cursor` provided in a previous response."
          },
          "force_fetch": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ],
            "description": "Force a response even if the underlying connection hasn't finished the initial sync."
          },
          "limit": {
            "type": "integer",
            "description": "The number of entities to return. Defaults to 50. Maximum is 500."
          },
          "updated_at_max": {
            "type": "integer",
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum updated_at datetime to fetch entities from."
          },
          "updated_at_min": {
            "type": "integer",
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum updated_at datetime to fetch entities from."
          }
        },
        "required": [
          "access_token"
        ]
      },
      "SubscriptionItem": {
        "type": "object",
        "properties": {
          "platform_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The platform specific ID of the subscription line item."
          },
          "interval": {
            "type": "string",
            "description": "Frequency with which this subscription item is billed. Accepted values include `day`, `week`, `month`, and `year`."
          },
          "interval_count": {
            "type": "number",
            "description": "Number of intervals between subscription billings. For instance, if this is set to 3 and interval is set to month, the user would be billed every 3 months."
          },
          "quantity": {
            "type": "number",
            "description": "The number of products sold in the subscription."
          },
          "amount": {
            "type": [
              "number",
              "null"
            ],
            "description": "The total amount charged for the subscription line item."
          },
          "unit_amount": {
            "type": [
              "number",
              "null"
            ],
            "description": "The unit cost of the product sold in the subscription."
          }
        },
        "required": [
          "platform_id",
          "interval",
          "interval_count",
          "quantity",
          "amount",
          "unit_amount"
        ]
      },
      "Subscription": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The Rutter generated unique ID of the subscription."
          },
          "platform_id": {
            "type": "string",
            "description": "The platform specific ID of the subscription."
          },
          "platform_customer_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The platform specific ID of the customer linked to the subscription."
          },
          "iso_currency_code": {
            "type": "string",
            "description": "The [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code of the subscription."
          },
          "status": {
            "type": "string",
            "enum": [
              "active",
              "in_trial",
              "canceled",
              "paused",
              "unknown"
            ],
            "description": "Status of subscription. Possible values are: `active`, `in_trial`, `canceled`, `paused`, `unknown`"
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SubscriptionItem"
            },
            "description": "An array of subscription items linked to the subscription."
          },
          "created_at": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the subscription was created."
          },
          "updated_at": {
            "type": "string",
            "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp that the subscription was last updated."
          }
        },
        "required": [
          "id",
          "platform_id",
          "iso_currency_code",
          "status",
          "created_at",
          "updated_at"
        ],
        "examples": [
          {
            "Subscription_Example": {
              "$ref": "#/components/examples/Subscription_Example"
            }
          }
        ]
      },
      "Subscriptions": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/Subscription"
        }
      },
      "ListSubscriptionsResponse": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "subscriptions": {
            "$ref": "#/components/schemas/Subscriptions"
          },
          "next_cursor": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "subscriptions",
          "next_cursor"
        ],
        "examples": [
          {
            "ListSubscriptionsResponse_Example": {
              "$ref": "#/components/examples/ListSubscriptionsResponse_Example"
            }
          }
        ]
      },
      "ListTransactionsQuery": {
        "type": "object",
        "properties": {
          "access_token": {
            "type": "string",
            "format": "uuid",
            "description": "The access token of the connection."
          },
          "created_at_max": {
            "type": "integer",
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum created_at datetime to fetch entities from."
          },
          "created_at_min": {
            "type": "integer",
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum created_at datetime to fetch entities from."
          },
          "cursor": {
            "type": "string",
            "description": "The cursor to use for pagination. Use the value of `next_cursor` provided in a previous response."
          },
          "force_fetch": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ],
            "description": "Force a response even if the underlying connection hasn't finished the initial sync."
          },
          "limit": {
            "type": "integer",
            "description": "The number of entities to return. Defaults to 50. Maximum is 500."
          },
          "sort": {
            "type": "string",
            "enum": [
              "desc",
              "asc"
            ]
          },
          "updated_at_max": {
            "type": "integer",
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the maximum updated_at datetime to fetch entities from."
          },
          "updated_at_min": {
            "type": "integer",
            "description": "[Unix Timestamp](https://en.wikipedia.org/wiki/Unix_time) in milliseconds representing the minimum updated_at datetime to fetch entities from."
          }
        },
        "required": [
          "access_token"
        ]
      },
      "Transactions": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/OrderTransaction"
        }
      },
      "ListTransactionsResponse": {
        "type": "object",
        "properties": {
          "connection": {
            "$ref": "#/components/schemas/Connection"
          },
          "transactions": {
            "$ref": "#/components/schemas/Transactions"
          },
          "next_cursor": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "connection",
          "transactions",
          "next_cursor"
        ],
        "examples": [
          {
            "ListTransactionsResponse_Example": {
              "$ref": "#/components/examples/ListTransactionsResponse_Example"
            }
          }
        ]
      }
    },
    "examples": {
      "CreateEntityWithCustomFieldsPage_Example": {
        "value": {
          "other_entity_fields": "Other entity values",
          "custom_fields": {
            "custom_field_key": "Custom field value"
          },
          "line_items": [
            {
              "other_line_item_fields": "Other line item values",
              "custom_fields": {
                "line_item_custom_field_key": "Line item custom field value"
              }
            }
          ]
        }
      },
      "CreateEntityWithCustomFieldsPageResponse_Example": {
        "value": {
          "other_entity_fields": "Other entity values",
          "line_items": [
            {
              "other_line_item_fields": "Other line item values"
            }
          ],
          "platform_data": {
            "custom_field_key": "custom field value",
            "other_platform_fields": "Platform fields",
            "sublist_key": [
              {
                "line_item_custom_field_key": "Line item custom field value",
                "other_sublist_fields": "Sublist fields"
              }
            ]
          }
        }
      },
      "CustomFieldsSchema_Example": {
        "value": {
          "description": "(More description to come...) Netsuite Type: select",
          "key": "custcol_reminderformat",
          "name": "Custom Line Item Reminder Format",
          "required": false,
          "type": "select",
          "options": [
            {
              "text": "Mail",
              "value": "1"
            },
            {
              "text": "Email",
              "value": "2"
            },
            {
              "text": "SMS",
              "value": "3"
            },
            {
              "text": "Phone",
              "value": "4"
            }
          ],
          "default": null
        }
      },
      "CustomFieldsPageGenericEntityResponse_Example": {
        "value": {
          "custom_fields": {
            "entity": [
              {
                "description": "This is a mandatory field. Netsuite Type: text",
                "key": "custbodymandatoryfield",
                "name": "Rutter Mandatory Field",
                "required": false,
                "type": "string",
                "options": [],
                "default": "Default Value"
              },
              {
                "description": "This is an select field. Netsuite Type: select",
                "key": "custbodyemployees",
                "name": "Rutter Enum List Record",
                "required": false,
                "type": "select",
                "options": [
                  {
                    "text": "Bill",
                    "value": "4"
                  },
                  {
                    "text": "Rutter Engineering",
                    "value": "3"
                  },
                  {
                    "text": "Rutter User",
                    "value": "6"
                  }
                ],
                "default": null
              }
            ],
            "entity.line_items": [
              {
                "description": "Please check if this is an out going order. Netsuite Type: checkbox",
                "key": "custcoloutgoingboolean",
                "name": "Outgoing order field",
                "required": true,
                "type": "boolean",
                "options": [],
                "default": false
              },
              {
                "description": "Please describe the invoice more. Netsuite Type: text",
                "key": "custcoldescription",
                "name": "Custom Description",
                "required": false,
                "type": "string",
                "options": [],
                "default": null
              }
            ]
          }
        }
      },
      "Connection_Example": {
        "value": {
          "id": "00000000-0000-0000-0000-000000000000",
          "orgId": "00000000-0000-0000-0000-000000000000",
          "platform": "SHOPIFY"
        }
      },
      "Account_Example": {
        "value": {
          "id": "00000000-0000-0000-0000-000000000000",
          "platform_id": "12345678",
          "account_type": "bank",
          "category": "asset",
          "status": "active",
          "balance": 123.45,
          "currency_code": "USD",
          "name": "Checking",
          "nominal_code": "1001",
          "subsidiaries": [
            {
              "id": "00000000-0000-0000-0000-000000000000"
            },
            {
              "id": "00000000-0000-0000-0000-000000000000"
            }
          ],
          "created_at": "2023-01-02T02:34:56.000Z",
          "updated_at": "2023-01-02T02:34:56.000Z",
          "last_synced_at": "2023-01-02T02:34:56.000Z",
          "platform_data": {
            "id": 123,
            "data": "Varies by platform"
          }
        }
      },
      "ListAccountResponseWithConnection_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "NETSUITE"
          },
          "accounts": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "platform_id": "12345678",
              "account_type": "bank",
              "category": "asset",
              "status": "active",
              "balance": 123.45,
              "currency_code": "USD",
              "name": "Checking",
              "nominal_code": "1001",
              "subsidiaries": [
                {
                  "id": "00000000-0000-0000-0000-000000000000"
                },
                {
                  "id": "00000000-0000-0000-0000-000000000000"
                }
              ],
              "created_at": "2023-01-02T02:34:56.000Z",
              "updated_at": "2023-01-02T02:34:56.000Z",
              "last_synced_at": "2023-01-02T02:34:56.000Z",
              "platform_data": {
                "id": 123,
                "data": "Varies by platform"
              }
            }
          ],
          "next_cursor": "MTY3NDgzMTk0Ml82MDY4ZDI0ZC02NGRmLTRmN2EtYTM0Ny0zN2ZmNjY5MGVmMjU="
        }
      },
      "CreateAccount_Example": {
        "value": {
          "subsidiary_id": "00000000-0000-0000-0000-000000000000",
          "account_type": "bank",
          "currency_code": "USD",
          "name": "Checking",
          "nominal_code": "1000"
        }
      },
      "CreateCreateAccountRequest_Example": {
        "value": {
          "account": {
            "subsidiary_id": "00000000-0000-0000-0000-000000000000",
            "account_type": "bank",
            "currency_code": "USD",
            "name": "Checking",
            "nominal_code": "1000"
          }
        }
      },
      "AccountResponse_Example": {
        "value": {
          "account": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "account_type": "bank",
            "category": "asset",
            "status": "active",
            "balance": 123.45,
            "currency_code": "USD",
            "name": "Checking",
            "nominal_code": "1001",
            "subsidiaries": [
              {
                "id": "00000000-0000-0000-0000-000000000000"
              },
              {
                "id": "00000000-0000-0000-0000-000000000000"
              }
            ],
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z",
            "last_synced_at": "2023-01-02T02:34:56.000Z",
            "platform_data": {
              "id": 123,
              "data": "Varies by platform"
            }
          }
        }
      },
      "CreateAccountResponse_Example": {
        "value": {
          "account": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "account_type": "bank",
            "category": "asset",
            "status": "active",
            "balance": 123.45,
            "currency_code": "USD",
            "name": "Checking",
            "nominal_code": "1001",
            "subsidiaries": [
              {
                "id": "00000000-0000-0000-0000-000000000000"
              },
              {
                "id": "00000000-0000-0000-0000-000000000000"
              }
            ],
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z",
            "last_synced_at": "2023-01-02T02:34:56.000Z",
            "platform_data": {
              "id": 123,
              "data": "Varies by platform"
            }
          }
        }
      },
      "AccountResponseWithConnection_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "NETSUITE"
          },
          "account": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "account_type": "bank",
            "category": "asset",
            "status": "active",
            "balance": 123.45,
            "currency_code": "USD",
            "name": "Checking",
            "nominal_code": "1001",
            "subsidiaries": [
              {
                "id": "00000000-0000-0000-0000-000000000000"
              },
              {
                "id": "00000000-0000-0000-0000-000000000000"
              }
            ],
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z",
            "last_synced_at": "2023-01-02T02:34:56.000Z",
            "platform_data": {
              "id": 123,
              "data": "Varies by platform"
            }
          }
        }
      },
      "UpdateAccount_Example": {
        "value": {
          "subsidiary_id": "00000000-0000-0000-0000-000000000000",
          "name": "Checking 1001",
          "nominal_code": "1001"
        }
      },
      "CreateUpdateAccountRequest_Example": {
        "value": {
          "account": {
            "subsidiary_id": "00000000-0000-0000-0000-000000000000",
            "name": "Checking 1001",
            "nominal_code": "1001"
          }
        }
      },
      "APAgingReportSummary_Example": {
        "value": {
          "id": "00000000-0000-0000-0000-000000000000",
          "start_date": "2023-01-02T02:34:56.000Z",
          "end_date": "2023-01-02T02:34:56.000Z",
          "vendors": [
            {
              "vendor_id": "00000000-0000-0000-0000-000000000000",
              "current": "1",
              "days30": "1",
              "days60": "1",
              "days90": "1",
              "days91plus": "1",
              "total": "1"
            }
          ],
          "created_at": "2023-01-02T02:34:56.000Z",
          "platform_data": {
            "id": 123,
            "data": "Varies by platform"
          }
        }
      },
      "APAgingReportSummaryResponseWithConnection_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "NETSUITE"
          },
          "ap_aging_report_summary": {
            "id": "00000000-0000-0000-0000-000000000000",
            "start_date": "2023-01-02T02:34:56.000Z",
            "end_date": "2023-01-02T02:34:56.000Z",
            "vendors": [
              {
                "vendor_id": "00000000-0000-0000-0000-000000000000",
                "current": "1",
                "days30": "1",
                "days60": "1",
                "days90": "1",
                "days91plus": "1",
                "total": "1"
              }
            ],
            "created_at": "2023-01-02T02:34:56.000Z",
            "platform_data": {
              "id": 123,
              "data": "Varies by platform"
            }
          }
        }
      },
      "ARAgingReportSummary_Example": {
        "value": {
          "id": "00000000-0000-0000-0000-000000000000",
          "start_date": "2023-01-02T02:34:56.000Z",
          "end_date": "2023-01-02T02:34:56.000Z",
          "customers": [
            {
              "customer_id": "00000000-0000-0000-0000-000000000000",
              "customer_parent_id": "00000000-0000-0000-0000-000000000000",
              "current": "1",
              "days30": "1",
              "days60": "1",
              "days90": "1",
              "days91plus": "1",
              "total": "1"
            }
          ],
          "created_at": "2023-01-02T02:34:56.000Z",
          "platform_data": {
            "id": 123,
            "data": "Varies by platform"
          }
        }
      },
      "ARAgingReportSummaryResponseWithConnection_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "NETSUITE"
          },
          "ar_aging_report_summary": {
            "id": "00000000-0000-0000-0000-000000000000",
            "start_date": "2023-01-02T02:34:56.000Z",
            "end_date": "2023-01-02T02:34:56.000Z",
            "customers": [
              {
                "customer_id": "00000000-0000-0000-0000-000000000000",
                "customer_parent_id": "00000000-0000-0000-0000-000000000000",
                "current": "1",
                "days30": "1",
                "days60": "1",
                "days90": "1",
                "days91plus": "1",
                "total": "1"
              }
            ],
            "created_at": "2023-01-02T02:34:56.000Z",
            "platform_data": {
              "id": 123,
              "data": "Varies by platform"
            }
          }
        }
      },
      "BalanceSheet_Example": {
        "value": {
          "id": "9871b4a9-f5d2-4f3b-a66b-dfedbed42c46",
          "start_date": "2021-09-31T00:00:00Z",
          "end_date": "2022-09-31T00:00:00Z",
          "currency_code": "USD",
          "total_assets": "500",
          "total_equity": "1000",
          "total_liabilities": "-500",
          "assets": {
            "account_id": "1",
            "name": "Asset",
            "value": "1000",
            "items": [
              {
                "account_id": "1",
                "name": "1000 Rutter Holding Account",
                "value": "1000.00",
                "items": [
                  {
                    "account_id": "1",
                    "name": "1000 Rutter Holding Account",
                    "value": "500.00",
                    "items": []
                  },
                  {
                    "account_id": "1",
                    "name": "1000 Rutter Holding Account",
                    "value": "500.00",
                    "items": []
                  }
                ]
              }
            ]
          },
          "equity": {
            "account_id": "4",
            "name": "Equity",
            "value": "1000",
            "items": [
              {
                "account_id": "11",
                "name": "2000 Accounts Payable",
                "value": "1000",
                "items": [
                  {
                    "account_id": "11",
                    "name": "2000 Accounts Payable",
                    "value": "400",
                    "items": []
                  },
                  {
                    "account_id": "11",
                    "name": "2000 Accounts Payable",
                    "value": "600",
                    "items": []
                  }
                ]
              }
            ]
          },
          "liabilities": {
            "account_id": "11",
            "name": "Liability",
            "value": "-200",
            "items": [
              {
                "account_id": "11",
                "name": "2000 Accounts Payable",
                "value": "-200",
                "items": [
                  {
                    "account_id": "11",
                    "name": "2000 Accounts Payable",
                    "value": "-100",
                    "items": []
                  },
                  {
                    "account_id": "11",
                    "name": "2000 Accounts Payable",
                    "value": "-100",
                    "items": []
                  }
                ]
              }
            ]
          },
          "created_at": "2022-01-01T08:00:00.000Z",
          "updated_at": "2022-01-09T08:00:00.000Z",
          "platform_data": {
            "id": 123,
            "data": "Varies by platform"
          }
        }
      },
      "BalanceSheetResultWithConnection_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "NETSUITE"
          },
          "balance_sheets": [
            {
              "id": "9871b4a9-f5d2-4f3b-a66b-dfedbed42c46",
              "start_date": "2021-09-31T00:00:00Z",
              "end_date": "2022-09-31T00:00:00Z",
              "currency_code": "USD",
              "total_assets": "500",
              "total_equity": "1000",
              "total_liabilities": "-500",
              "assets": {
                "account_id": "1",
                "name": "Asset",
                "value": "1000",
                "items": [
                  {
                    "account_id": "1",
                    "name": "1000 Rutter Holding Account",
                    "value": "1000.00",
                    "items": [
                      {
                        "account_id": "1",
                        "name": "1000 Rutter Holding Account",
                        "value": "500.00",
                        "items": []
                      },
                      {
                        "account_id": "1",
                        "name": "1000 Rutter Holding Account",
                        "value": "500.00",
                        "items": []
                      }
                    ]
                  }
                ]
              },
              "equity": {
                "account_id": "4",
                "name": "Equity",
                "value": "1000",
                "items": [
                  {
                    "account_id": "11",
                    "name": "2000 Accounts Payable",
                    "value": "1000",
                    "items": [
                      {
                        "account_id": "11",
                        "name": "2000 Accounts Payable",
                        "value": "400",
                        "items": []
                      },
                      {
                        "account_id": "11",
                        "name": "2000 Accounts Payable",
                        "value": "600",
                        "items": []
                      }
                    ]
                  }
                ]
              },
              "liabilities": {
                "account_id": "11",
                "name": "Liability",
                "value": "-200",
                "items": [
                  {
                    "account_id": "11",
                    "name": "2000 Accounts Payable",
                    "value": "-200",
                    "items": [
                      {
                        "account_id": "11",
                        "name": "2000 Accounts Payable",
                        "value": "-100",
                        "items": []
                      },
                      {
                        "account_id": "11",
                        "name": "2000 Accounts Payable",
                        "value": "-100",
                        "items": []
                      }
                    ]
                  }
                ]
              },
              "created_at": "2022-01-01T08:00:00.000Z",
              "updated_at": "2022-01-09T08:00:00.000Z",
              "platform_data": {
                "id": 123,
                "data": "Varies by platform"
              }
            }
          ],
          "next_cursor": "MTY3NDgzMTk0Ml82MDY4ZDI0ZC02NGRmLTRmN2EtYTM0Ny0zN2ZmNjY5MGVmMjU="
        }
      },
      "BankDeposit_Example": {
        "value": {
          "id": "00000000-0000-0000-0000-000000000000",
          "platform_id": "12345678",
          "account_id": "00000000-0000-0000-0000-000000000000",
          "subsidiary_id": "00000000-0000-0000-0000-000000000000",
          "transaction_date": "2023-01-02T02:34:56.000Z",
          "currency_code": "USD",
          "total_amount": 123.45,
          "memo": "This is a memo.",
          "linked_payments": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "payment_amount": 5,
              "type": "invoice_payment"
            }
          ],
          "line_items": [
            {
              "platform_id": "12345678",
              "account_id": "00000000-0000-0000-0000-000000000000",
              "class_id": "00000000-0000-0000-0000-000000000000",
              "customer_id": "00000000-0000-0000-0000-000000000000",
              "department_id": "00000000-0000-0000-0000-000000000000",
              "location_id": "00000000-0000-0000-0000-000000000000",
              "vendor_id": "00000000-0000-0000-0000-000000000000",
              "total_amount": 118.45,
              "description": "This is a description."
            }
          ],
          "created_at": "2023-01-02T02:34:56.000Z",
          "updated_at": "2023-01-02T02:34:56.000Z",
          "last_synced_at": "2023-01-02T02:34:56.000Z",
          "platform_data": {
            "id": 123,
            "data": "Varies by platform"
          }
        }
      },
      "ListBankDepositResponseWithConnection_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "NETSUITE"
          },
          "bank_deposits": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "platform_id": "12345678",
              "account_id": "00000000-0000-0000-0000-000000000000",
              "subsidiary_id": "00000000-0000-0000-0000-000000000000",
              "transaction_date": "2023-01-02T02:34:56.000Z",
              "currency_code": "USD",
              "total_amount": 123.45,
              "memo": "This is a memo.",
              "linked_payments": [
                {
                  "id": "00000000-0000-0000-0000-000000000000",
                  "payment_amount": 5,
                  "type": "invoice_payment"
                }
              ],
              "line_items": [
                {
                  "platform_id": "12345678",
                  "account_id": "00000000-0000-0000-0000-000000000000",
                  "class_id": "00000000-0000-0000-0000-000000000000",
                  "customer_id": "00000000-0000-0000-0000-000000000000",
                  "department_id": "00000000-0000-0000-0000-000000000000",
                  "location_id": "00000000-0000-0000-0000-000000000000",
                  "vendor_id": "00000000-0000-0000-0000-000000000000",
                  "total_amount": 118.45,
                  "description": "This is a description."
                }
              ],
              "created_at": "2023-01-02T02:34:56.000Z",
              "updated_at": "2023-01-02T02:34:56.000Z",
              "last_synced_at": "2023-01-02T02:34:56.000Z",
              "platform_data": {
                "id": 123,
                "data": "Varies by platform"
              }
            }
          ],
          "next_cursor": "MTY3NDgzMTk0Ml82MDY4ZDI0ZC02NGRmLTRmN2EtYTM0Ny0zN2ZmNjY5MGVmMjU="
        }
      },
      "CreateBankDeposit_Example": {
        "value": {
          "account_id": "00000000-0000-0000-0000-000000000000",
          "transaction_date": "2023-01-02T02:34:56.000Z",
          "memo": "This is a memo.",
          "linked_payments": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "type": "invoice_payment"
            }
          ],
          "line_items": [
            {
              "account_id": "00000000-0000-0000-0000-000000000000",
              "class_id": "00000000-0000-0000-0000-000000000000",
              "customer_id": "00000000-0000-0000-0000-000000000000",
              "department_id": "00000000-0000-0000-0000-000000000000",
              "location_id": "00000000-0000-0000-0000-000000000000",
              "vendor_id": "00000000-0000-0000-0000-000000000000",
              "total_amount": 118.45,
              "description": "This is a description."
            }
          ]
        }
      },
      "CreateCreateBankDepositRequest_Example": {
        "value": {
          "bank_deposit": {
            "account_id": "00000000-0000-0000-0000-000000000000",
            "transaction_date": "2023-01-02T02:34:56.000Z",
            "memo": "This is a memo.",
            "linked_payments": [
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "type": "invoice_payment"
              }
            ],
            "line_items": [
              {
                "account_id": "00000000-0000-0000-0000-000000000000",
                "class_id": "00000000-0000-0000-0000-000000000000",
                "customer_id": "00000000-0000-0000-0000-000000000000",
                "department_id": "00000000-0000-0000-0000-000000000000",
                "location_id": "00000000-0000-0000-0000-000000000000",
                "vendor_id": "00000000-0000-0000-0000-000000000000",
                "total_amount": 118.45,
                "description": "This is a description."
              }
            ]
          }
        }
      },
      "BankDepositResponse_Example": {
        "value": {
          "bank_deposit": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "account_id": "00000000-0000-0000-0000-000000000000",
            "subsidiary_id": "00000000-0000-0000-0000-000000000000",
            "transaction_date": "2023-01-02T02:34:56.000Z",
            "currency_code": "USD",
            "total_amount": 123.45,
            "memo": "This is a memo.",
            "linked_payments": [
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "payment_amount": 5,
                "type": "invoice_payment"
              }
            ],
            "line_items": [
              {
                "platform_id": "12345678",
                "account_id": "00000000-0000-0000-0000-000000000000",
                "class_id": "00000000-0000-0000-0000-000000000000",
                "customer_id": "00000000-0000-0000-0000-000000000000",
                "department_id": "00000000-0000-0000-0000-000000000000",
                "location_id": "00000000-0000-0000-0000-000000000000",
                "vendor_id": "00000000-0000-0000-0000-000000000000",
                "total_amount": 118.45,
                "description": "This is a description."
              }
            ],
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z",
            "last_synced_at": "2023-01-02T02:34:56.000Z",
            "platform_data": {
              "id": 123,
              "data": "Varies by platform"
            }
          }
        }
      },
      "CreateBankDepositResponse_Example": {
        "value": {
          "bank_deposit": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "account_id": "00000000-0000-0000-0000-000000000000",
            "subsidiary_id": "00000000-0000-0000-0000-000000000000",
            "transaction_date": "2023-01-02T02:34:56.000Z",
            "currency_code": "USD",
            "total_amount": 123.45,
            "memo": "This is a memo.",
            "linked_payments": [
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "payment_amount": 5,
                "type": "invoice_payment"
              }
            ],
            "line_items": [
              {
                "platform_id": "12345678",
                "account_id": "00000000-0000-0000-0000-000000000000",
                "class_id": "00000000-0000-0000-0000-000000000000",
                "customer_id": "00000000-0000-0000-0000-000000000000",
                "department_id": "00000000-0000-0000-0000-000000000000",
                "location_id": "00000000-0000-0000-0000-000000000000",
                "vendor_id": "00000000-0000-0000-0000-000000000000",
                "total_amount": 118.45,
                "description": "This is a description."
              }
            ],
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z",
            "last_synced_at": "2023-01-02T02:34:56.000Z",
            "platform_data": {
              "id": 123,
              "data": "Varies by platform"
            }
          }
        }
      },
      "BankDepositResponseWithConnection_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "NETSUITE"
          },
          "bank_deposit": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "account_id": "00000000-0000-0000-0000-000000000000",
            "subsidiary_id": "00000000-0000-0000-0000-000000000000",
            "transaction_date": "2023-01-02T02:34:56.000Z",
            "currency_code": "USD",
            "total_amount": 123.45,
            "memo": "This is a memo.",
            "linked_payments": [
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "payment_amount": 5,
                "type": "invoice_payment"
              }
            ],
            "line_items": [
              {
                "platform_id": "12345678",
                "account_id": "00000000-0000-0000-0000-000000000000",
                "class_id": "00000000-0000-0000-0000-000000000000",
                "customer_id": "00000000-0000-0000-0000-000000000000",
                "department_id": "00000000-0000-0000-0000-000000000000",
                "location_id": "00000000-0000-0000-0000-000000000000",
                "vendor_id": "00000000-0000-0000-0000-000000000000",
                "total_amount": 118.45,
                "description": "This is a description."
              }
            ],
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z",
            "last_synced_at": "2023-01-02T02:34:56.000Z",
            "platform_data": {
              "id": 123,
              "data": "Varies by platform"
            }
          }
        }
      },
      "UpdateBankDeposit_Example": {
        "value": {
          "account_id": "00000000-0000-0000-0000-000000000000",
          "memo": "This is a memo.",
          "linked_payments": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "type": "invoice_payment"
            }
          ],
          "line_items": [
            {
              "platform_id": "12345678",
              "account_id": "00000000-0000-0000-0000-000000000000",
              "class_id": "00000000-0000-0000-0000-000000000000",
              "customer_id": "00000000-0000-0000-0000-000000000000",
              "department_id": "00000000-0000-0000-0000-000000000000",
              "location_id": "00000000-0000-0000-0000-000000000000",
              "vendor_id": "00000000-0000-0000-0000-000000000000",
              "description": "This is a description.",
              "total_amount": 123.45
            }
          ]
        }
      },
      "CreateUpdateBankDepositRequest_Example": {
        "value": {
          "bank_deposit": {
            "account_id": "00000000-0000-0000-0000-000000000000",
            "memo": "This is a memo.",
            "linked_payments": [
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "type": "invoice_payment"
              }
            ],
            "line_items": [
              {
                "platform_id": "12345678",
                "account_id": "00000000-0000-0000-0000-000000000000",
                "class_id": "00000000-0000-0000-0000-000000000000",
                "customer_id": "00000000-0000-0000-0000-000000000000",
                "department_id": "00000000-0000-0000-0000-000000000000",
                "location_id": "00000000-0000-0000-0000-000000000000",
                "vendor_id": "00000000-0000-0000-0000-000000000000",
                "description": "This is a description.",
                "total_amount": 123.45
              }
            ]
          }
        }
      },
      "UpdateBankDepositResponse_Example": {
        "value": {
          "id": "00000000-0000-0000-0000-000000000000",
          "platform_id": "12345678",
          "account_id": "00000000-0000-0000-0000-000000000000",
          "subsidiary_id": "00000000-0000-0000-0000-000000000000",
          "transaction_date": "2023-01-02T02:34:56.000Z",
          "currency_code": "USD",
          "total_amount": 123.45,
          "memo": "This is a memo.",
          "linked_payments": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "payment_amount": 5,
              "type": "invoice_payment"
            }
          ],
          "line_items": [
            {
              "platform_id": "12345678",
              "account_id": "00000000-0000-0000-0000-000000000000",
              "class_id": "00000000-0000-0000-0000-000000000000",
              "customer_id": "00000000-0000-0000-0000-000000000000",
              "department_id": "00000000-0000-0000-0000-000000000000",
              "location_id": "00000000-0000-0000-0000-000000000000",
              "vendor_id": "00000000-0000-0000-0000-000000000000",
              "total_amount": 118.45,
              "description": "This is a description."
            }
          ],
          "created_at": "2023-01-02T02:34:56.000Z",
          "updated_at": "2023-01-02T02:34:56.000Z",
          "last_synced_at": "2023-01-02T02:34:56.000Z",
          "platform_data": {
            "id": 123,
            "data": "Varies by platform"
          }
        }
      },
      "UpdateBankDepositResponseResponse_Example": {
        "value": {
          "bank_deposit": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "account_id": "00000000-0000-0000-0000-000000000000",
            "subsidiary_id": "00000000-0000-0000-0000-000000000000",
            "transaction_date": "2023-01-02T02:34:56.000Z",
            "currency_code": "USD",
            "total_amount": 123.45,
            "memo": "This is a memo.",
            "linked_payments": [
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "payment_amount": 5,
                "type": "invoice_payment"
              }
            ],
            "line_items": [
              {
                "platform_id": "12345678",
                "account_id": "00000000-0000-0000-0000-000000000000",
                "class_id": "00000000-0000-0000-0000-000000000000",
                "customer_id": "00000000-0000-0000-0000-000000000000",
                "department_id": "00000000-0000-0000-0000-000000000000",
                "location_id": "00000000-0000-0000-0000-000000000000",
                "vendor_id": "00000000-0000-0000-0000-000000000000",
                "total_amount": 118.45,
                "description": "This is a description."
              }
            ],
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z",
            "last_synced_at": "2023-01-02T02:34:56.000Z",
            "platform_data": {
              "id": 123,
              "data": "Varies by platform"
            }
          }
        }
      },
      "CreateUpdateBankDepositResponseResponse_Example": {
        "value": {
          "bank_deposit": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "account_id": "00000000-0000-0000-0000-000000000000",
            "subsidiary_id": "00000000-0000-0000-0000-000000000000",
            "transaction_date": "2023-01-02T02:34:56.000Z",
            "currency_code": "USD",
            "total_amount": 123.45,
            "memo": "This is a memo.",
            "linked_payments": [
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "payment_amount": 5,
                "type": "invoice_payment"
              }
            ],
            "line_items": [
              {
                "platform_id": "12345678",
                "account_id": "00000000-0000-0000-0000-000000000000",
                "class_id": "00000000-0000-0000-0000-000000000000",
                "customer_id": "00000000-0000-0000-0000-000000000000",
                "department_id": "00000000-0000-0000-0000-000000000000",
                "location_id": "00000000-0000-0000-0000-000000000000",
                "vendor_id": "00000000-0000-0000-0000-000000000000",
                "total_amount": 118.45,
                "description": "This is a description."
              }
            ],
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z",
            "last_synced_at": "2023-01-02T02:34:56.000Z",
            "platform_data": {
              "id": 123,
              "data": "Varies by platform"
            }
          }
        }
      },
      "CreateAttachmentBody_Example": {
        "value": {
          "file": "multipart/form-data",
          "file_name": "T-shirt Receipt"
        }
      },
      "Attachment_Example": {
        "value": {
          "id": "00000000-0000-0000-0000-000000000000",
          "platform_id": "12345678",
          "attached_to_id": "00000000-0000-0000-0000-000000000000",
          "file_name": "receipt.jpg",
          "file_url": "https://rutteraccountingattachments.s3.amazonaws.com/00000000-0000-0000-0000-000000000000-receipt.jpg",
          "attached_to_type": "EXPENSE",
          "created_at": "2023-01-02T02:34:56.000Z"
        }
      },
      "PostAttachmentResponse_Example": {
        "value": {
          "attachment": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "attached_to_id": "00000000-0000-0000-0000-000000000000",
            "file_name": "receipt.jpg",
            "file_url": "https://rutteraccountingattachments.s3.amazonaws.com/00000000-0000-0000-0000-000000000000-receipt.jpg",
            "attached_to_type": "EXPENSE",
            "created_at": "2023-01-02T02:34:56.000Z"
          }
        }
      },
      "InvoiceAttachmentsResponse_Example": {
        "value": {
          "attachments": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "platform_id": "12345678",
              "attached_to_id": "00000000-0000-0000-0000-000000000000",
              "file_name": "attachment.pdf",
              "file_url": "/accounting/invoices/00000000-0000-0000-0000-000000000000/attachments/00000000-0000-0000-0000-000000000000/file",
              "attached_to_type": "INVOICE",
              "created_at": "2023-01-02T02:34:56.000Z"
            }
          ]
        }
      },
      "ListAttachmentsResponse_Example": {
        "value": {
          "attachments": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "platform_id": "12345678",
              "attached_to_id": "00000000-0000-0000-0000-000000000000",
              "file_name": "receipt.jpg",
              "file_url": "https://rutteraccountingattachments.s3.amazonaws.com/00000000-0000-0000-0000-000000000000-receipt.jpg",
              "attached_to_type": "EXPENSE",
              "created_at": "2023-01-02T02:34:56.000Z"
            }
          ],
          "next_cursor": "MTY3NDgzMTk0Ml82MDY4ZDI0ZC02NGRmLTRmN2EtYTM0Ny0zN2ZmNjY5MGVmMjU="
        }
      },
      "BankFeedAccount_Example": {
        "value": {
          "id": "00000000-0000-0000-0000-000000000000",
          "account_id": "00000000-0000-0000-0000-000000000000",
          "internal_bank_account_id": "0674101002388",
          "transaction_start_date": "2023-02-02T00:00:00.000Z",
          "bank_account_type": "bank",
          "feed_status": "active",
          "bank_account_number": "182237382",
          "currency_code": "USD",
          "name": "Regan's Bank Account",
          "last_synced_at": "2023-01-02T02:34:56.000Z",
          "platform_data": {
            "id": 123,
            "data": "Varies by platform"
          }
        }
      },
      "ListBankFeedAccountResponseWithConnection_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "NETSUITE"
          },
          "bank_feed_accounts": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "account_id": "00000000-0000-0000-0000-000000000000",
              "internal_bank_account_id": "0674101002388",
              "transaction_start_date": "2023-02-02T00:00:00.000Z",
              "bank_account_type": "bank",
              "feed_status": "active",
              "bank_account_number": "182237382",
              "currency_code": "USD",
              "name": "Regan's Bank Account",
              "last_synced_at": "2023-01-02T02:34:56.000Z",
              "platform_data": {
                "id": 123,
                "data": "Varies by platform"
              }
            }
          ],
          "next_cursor": "MTY3NDgzMTk0Ml82MDY4ZDI0ZC02NGRmLTRmN2EtYTM0Ny0zN2ZmNjY5MGVmMjU="
        }
      },
      "CreateBankFeedAccount_Example": {
        "value": {
          "account_id": "00000000-0000-0000-0000-000000000000",
          "internal_bank_account_id": "0674101002388",
          "transaction_start_date": "2023-02-02T00:00:00.000Z",
          "bank_account_type": "bank",
          "currency_code": "USD",
          "name": "Regan's Bank Account",
          "bank_account_number": "182237382"
        }
      },
      "CreateCreateBankFeedAccountRequest_Example": {
        "value": {
          "bank_feed_account": {
            "account_id": "00000000-0000-0000-0000-000000000000",
            "internal_bank_account_id": "0674101002388",
            "transaction_start_date": "2023-02-02T00:00:00.000Z",
            "bank_account_type": "bank",
            "currency_code": "USD",
            "name": "Regan's Bank Account",
            "bank_account_number": "182237382"
          }
        }
      },
      "BankFeedAccountResponse_Example": {
        "value": {
          "bank_feed_account": {
            "id": "00000000-0000-0000-0000-000000000000",
            "account_id": "00000000-0000-0000-0000-000000000000",
            "internal_bank_account_id": "0674101002388",
            "transaction_start_date": "2023-02-02T00:00:00.000Z",
            "bank_account_type": "bank",
            "feed_status": "active",
            "bank_account_number": "182237382",
            "currency_code": "USD",
            "name": "Regan's Bank Account",
            "last_synced_at": "2023-01-02T02:34:56.000Z",
            "platform_data": {
              "id": 123,
              "data": "Varies by platform"
            }
          }
        }
      },
      "CreateBankFeedAccountResponse_Example": {
        "value": {
          "bank_feed_account": {
            "id": "00000000-0000-0000-0000-000000000000",
            "account_id": "00000000-0000-0000-0000-000000000000",
            "internal_bank_account_id": "0674101002388",
            "transaction_start_date": "2023-02-02T00:00:00.000Z",
            "bank_account_type": "bank",
            "feed_status": "active",
            "bank_account_number": "182237382",
            "currency_code": "USD",
            "name": "Regan's Bank Account",
            "last_synced_at": "2023-01-02T02:34:56.000Z",
            "platform_data": {
              "id": 123,
              "data": "Varies by platform"
            }
          }
        }
      },
      "BankFeedAccountResponseWithConnection_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "NETSUITE"
          },
          "bank_feed_account": {
            "id": "00000000-0000-0000-0000-000000000000",
            "account_id": "00000000-0000-0000-0000-000000000000",
            "internal_bank_account_id": "0674101002388",
            "transaction_start_date": "2023-02-02T00:00:00.000Z",
            "bank_account_type": "bank",
            "feed_status": "active",
            "bank_account_number": "182237382",
            "currency_code": "USD",
            "name": "Regan's Bank Account",
            "last_synced_at": "2023-01-02T02:34:56.000Z",
            "platform_data": {
              "id": 123,
              "data": "Varies by platform"
            }
          }
        }
      },
      "CreateBankFeedOTP_Example": {
        "value": {}
      },
      "BankFeedOTP_Example": {
        "value": {
          "expires_at": "2023-01-10T00:00:00.000Z",
          "otp": "00000000-0000-0000-0000-000000000000"
        }
      },
      "BankFeedOTPResponse_Example": {
        "value": {
          "bank_feed_otp": {
            "expires_at": "2023-01-10T00:00:00.000Z",
            "otp": "00000000-0000-0000-0000-000000000000"
          }
        }
      },
      "BankFeedTransaction_Example": {
        "value": {
          "id": "00000000-0000-0000-0000-000000000000",
          "bank_feed_account_id": "00000000-0000-0000-0000-000000000000",
          "transaction_id": "ACRAF23DB3C4",
          "posted_at": "2023-02-02T02:34:56.000Z",
          "amount": 300,
          "description": "Office supplies",
          "payee": "Office Depot",
          "platform_ingested": true,
          "transaction_type": "debit",
          "last_synced_at": "2023-01-02T02:34:56.000Z"
        }
      },
      "ListBankFeedTransactionResponseWithConnection_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "NETSUITE"
          },
          "bank_feed_transactions": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "bank_feed_account_id": "00000000-0000-0000-0000-000000000000",
              "transaction_id": "ACRAF23DB3C4",
              "posted_at": "2023-02-02T02:34:56.000Z",
              "amount": 300,
              "description": "Office supplies",
              "payee": "Office Depot",
              "platform_ingested": true,
              "transaction_type": "debit",
              "last_synced_at": "2023-01-02T02:34:56.000Z"
            }
          ],
          "next_cursor": "MTY3NDgzMTk0Ml82MDY4ZDI0ZC02NGRmLTRmN2EtYTM0Ny0zN2ZmNjY5MGVmMjU="
        }
      },
      "CreateBankFeedTransactions_Example": {
        "value": {
          "bank_feed_account_id": "00000000-0000-0000-0000-000000000000",
          "transactions": [
            {
              "transaction_id": "ACRAF23DB3C4",
              "posted_at": "2023-02-02T02:34:56.000Z",
              "amount": 300,
              "description": "Office supplies",
              "transaction_type": "debit",
              "payee": "Office Depot"
            }
          ]
        }
      },
      "CreateCreateBankFeedTransactionsRequest_Example": {
        "value": {
          "bank_feed_transactions": {
            "bank_feed_account_id": "00000000-0000-0000-0000-000000000000",
            "transactions": [
              {
                "transaction_id": "ACRAF23DB3C4",
                "posted_at": "2023-02-02T02:34:56.000Z",
                "amount": 300,
                "description": "Office supplies",
                "transaction_type": "debit",
                "payee": "Office Depot"
              }
            ]
          }
        }
      },
      "CreateBankFeedTransactionsResponse_Example": {
        "value": {
          "id": "00000000-0000-0000-0000-000000000000",
          "bank_feed_account_id": "00000000-0000-0000-0000-000000000000",
          "transaction_id": "ACRAF23DB3C4",
          "posted_at": "2023-02-02T02:34:56.000Z",
          "amount": 300,
          "description": "Office supplies",
          "duplicate": false,
          "payee": "Office Depot",
          "platform_ingested": true,
          "transaction_type": "debit",
          "last_synced_at": "2023-01-02T02:34:56.000Z"
        }
      },
      "ListCreateBankFeedTransactionsResponseResponse_Example": {
        "value": {
          "bank_feed_transactions": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "bank_feed_account_id": "00000000-0000-0000-0000-000000000000",
              "transaction_id": "ACRAF23DB3C4",
              "posted_at": "2023-02-02T02:34:56.000Z",
              "amount": 300,
              "description": "Office supplies",
              "duplicate": false,
              "payee": "Office Depot",
              "platform_ingested": true,
              "transaction_type": "debit",
              "last_synced_at": "2023-01-02T02:34:56.000Z"
            }
          ]
        }
      },
      "BankFeedTransactionResponseWithConnection_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "NETSUITE"
          },
          "bank_feed_transaction": {
            "id": "00000000-0000-0000-0000-000000000000",
            "bank_feed_account_id": "00000000-0000-0000-0000-000000000000",
            "transaction_id": "ACRAF23DB3C4",
            "posted_at": "2023-02-02T02:34:56.000Z",
            "amount": 300,
            "description": "Office supplies",
            "payee": "Office Depot",
            "platform_ingested": true,
            "transaction_type": "debit",
            "last_synced_at": "2023-01-02T02:34:56.000Z"
          }
        }
      },
      "BankTransfer_Example": {
        "value": {
          "id": "00000000-0000-0000-0000-000000000000",
          "platform_id": "12345678",
          "class_id": "00000000-0000-0000-0000-000000000000",
          "credit_account_id": "00000000-0000-0000-0000-000000000000",
          "debit_account_id": "00000000-0000-0000-0000-000000000000",
          "department_id": "00000000-0000-0000-0000-000000000000",
          "location_id": "00000000-0000-0000-0000-000000000000",
          "subsidiary_id": "00000000-0000-0000-0000-000000000000",
          "transaction_date": "2023-01-02T02:34:56.000Z",
          "currency_code": "USD",
          "total_amount": 123.45,
          "memo": "This is a memo.",
          "created_at": "2023-01-02T02:34:56.000Z",
          "updated_at": "2023-01-02T02:34:56.000Z",
          "last_synced_at": "2023-01-02T02:34:56.000Z",
          "platform_data": {
            "id": 123,
            "data": "Varies by platform"
          }
        }
      },
      "ListBankTransferResponseWithConnection_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "NETSUITE"
          },
          "bank_transfers": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "platform_id": "12345678",
              "class_id": "00000000-0000-0000-0000-000000000000",
              "credit_account_id": "00000000-0000-0000-0000-000000000000",
              "debit_account_id": "00000000-0000-0000-0000-000000000000",
              "department_id": "00000000-0000-0000-0000-000000000000",
              "location_id": "00000000-0000-0000-0000-000000000000",
              "subsidiary_id": "00000000-0000-0000-0000-000000000000",
              "transaction_date": "2023-01-02T02:34:56.000Z",
              "currency_code": "USD",
              "total_amount": 123.45,
              "memo": "This is a memo.",
              "created_at": "2023-01-02T02:34:56.000Z",
              "updated_at": "2023-01-02T02:34:56.000Z",
              "last_synced_at": "2023-01-02T02:34:56.000Z",
              "platform_data": {
                "id": 123,
                "data": "Varies by platform"
              }
            }
          ],
          "next_cursor": "MTY3NDgzMTk0Ml82MDY4ZDI0ZC02NGRmLTRmN2EtYTM0Ny0zN2ZmNjY5MGVmMjU="
        }
      },
      "CreateBankTransfer_Example": {
        "value": {
          "class_id": "00000000-0000-0000-0000-000000000000",
          "credit_account_id": "00000000-0000-0000-0000-000000000000",
          "debit_account_id": "00000000-0000-0000-0000-000000000000",
          "department_id": "00000000-0000-0000-0000-000000000000",
          "location_id": "00000000-0000-0000-0000-000000000000",
          "transaction_date": "2023-01-02T02:34:56.000Z",
          "total_amount": 123.45,
          "memo": "This is a memo."
        }
      },
      "CreateCreateBankTransferRequest_Example": {
        "value": {
          "bank_transfer": {
            "class_id": "00000000-0000-0000-0000-000000000000",
            "credit_account_id": "00000000-0000-0000-0000-000000000000",
            "debit_account_id": "00000000-0000-0000-0000-000000000000",
            "department_id": "00000000-0000-0000-0000-000000000000",
            "location_id": "00000000-0000-0000-0000-000000000000",
            "transaction_date": "2023-01-02T02:34:56.000Z",
            "total_amount": 123.45,
            "memo": "This is a memo."
          }
        }
      },
      "BankTransferResponse_Example": {
        "value": {
          "bank_transfer": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "class_id": "00000000-0000-0000-0000-000000000000",
            "credit_account_id": "00000000-0000-0000-0000-000000000000",
            "debit_account_id": "00000000-0000-0000-0000-000000000000",
            "department_id": "00000000-0000-0000-0000-000000000000",
            "location_id": "00000000-0000-0000-0000-000000000000",
            "subsidiary_id": "00000000-0000-0000-0000-000000000000",
            "transaction_date": "2023-01-02T02:34:56.000Z",
            "currency_code": "USD",
            "total_amount": 123.45,
            "memo": "This is a memo.",
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z",
            "last_synced_at": "2023-01-02T02:34:56.000Z",
            "platform_data": {
              "id": 123,
              "data": "Varies by platform"
            }
          }
        }
      },
      "CreateBankTransferResponse_Example": {
        "value": {
          "bank_transfer": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "class_id": "00000000-0000-0000-0000-000000000000",
            "credit_account_id": "00000000-0000-0000-0000-000000000000",
            "debit_account_id": "00000000-0000-0000-0000-000000000000",
            "department_id": "00000000-0000-0000-0000-000000000000",
            "location_id": "00000000-0000-0000-0000-000000000000",
            "subsidiary_id": "00000000-0000-0000-0000-000000000000",
            "transaction_date": "2023-01-02T02:34:56.000Z",
            "currency_code": "USD",
            "total_amount": 123.45,
            "memo": "This is a memo.",
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z",
            "last_synced_at": "2023-01-02T02:34:56.000Z",
            "platform_data": {
              "id": 123,
              "data": "Varies by platform"
            }
          }
        }
      },
      "BankTransferResponseWithConnection_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "NETSUITE"
          },
          "bank_transfer": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "class_id": "00000000-0000-0000-0000-000000000000",
            "credit_account_id": "00000000-0000-0000-0000-000000000000",
            "debit_account_id": "00000000-0000-0000-0000-000000000000",
            "department_id": "00000000-0000-0000-0000-000000000000",
            "location_id": "00000000-0000-0000-0000-000000000000",
            "subsidiary_id": "00000000-0000-0000-0000-000000000000",
            "transaction_date": "2023-01-02T02:34:56.000Z",
            "currency_code": "USD",
            "total_amount": 123.45,
            "memo": "This is a memo.",
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z",
            "last_synced_at": "2023-01-02T02:34:56.000Z",
            "platform_data": {
              "id": 123,
              "data": "Varies by platform"
            }
          }
        }
      },
      "UpdateBankTransfer_Example": {
        "value": {
          "credit_account_id": "00000000-0000-0000-0000-000000000000",
          "debit_account_id": "00000000-0000-0000-0000-000000000000",
          "transaction_date": "2023-01-02T02:34:56.000Z",
          "total_amount": 123.45,
          "memo": "This is a memo."
        }
      },
      "CreateUpdateBankTransferRequest_Example": {
        "value": {
          "bank_transfer": {
            "credit_account_id": "00000000-0000-0000-0000-000000000000",
            "debit_account_id": "00000000-0000-0000-0000-000000000000",
            "transaction_date": "2023-01-02T02:34:56.000Z",
            "total_amount": 123.45,
            "memo": "This is a memo."
          }
        }
      },
      "CreateBillCreditApplication_Example": {
        "value": {
          "bill_credit_memo_id": "00000000-0000-0000-0000-000000000000",
          "vendor_id": "00000000-0000-0000-0000-000000000000",
          "transaction_date": "2023-01-02T02:34:56.000Z",
          "currency_code": "USD",
          "memo": "Applying vendor credit for bill.",
          "linked_bills": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "allocated_amount": 12.34
            }
          ]
        }
      },
      "CreateCreateBillCreditApplicationRequest_Example": {
        "value": {
          "bill_credit_application": {
            "bill_credit_memo_id": "00000000-0000-0000-0000-000000000000",
            "vendor_id": "00000000-0000-0000-0000-000000000000",
            "transaction_date": "2023-01-02T02:34:56.000Z",
            "currency_code": "USD",
            "memo": "Applying vendor credit for bill.",
            "linked_bills": [
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "allocated_amount": 12.34
              }
            ]
          }
        }
      },
      "BillCreditApplication_Example": {
        "value": {
          "success": true
        }
      },
      "BillCreditApplicationResponse_Example": {
        "value": {
          "bill_credit_application": {
            "success": true
          }
        }
      },
      "CreateBillCreditApplicationResponse_Example": {
        "value": {
          "bill_credit_application": {
            "success": true
          }
        }
      },
      "BillCreditMemo_Example": {
        "value": {
          "id": "00000000-0000-0000-0000-000000000000",
          "platform_id": "12345678",
          "account_id": "00000000-0000-0000-0000-000000000000",
          "vendor_id": "00000000-0000-0000-0000-000000000000",
          "issue_date": "2023-01-02T02:34:56.000Z",
          "document_number": "VENDCRED-1",
          "remaining_amount": 3,
          "status": "paid",
          "total_amount": 3,
          "currency_code": "USD",
          "memo": "Discount for future Rutter shirts.",
          "linked_bills": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "allocated_date": "2023-01-02T02:34:56.000Z",
              "allocated_amount": 3
            }
          ],
          "line_items": [
            {
              "account_id": "00000000-0000-0000-0000-000000000000",
              "class_id": "00000000-0000-0000-0000-000000000000",
              "customer_id": "00000000-0000-0000-0000-000000000000",
              "department_id": "00000000-0000-0000-0000-000000000000",
              "location_id": "00000000-0000-0000-0000-000000000000",
              "tax_rate_id": "00000000-0000-0000-0000-000000000000",
              "description": "A Rutter shirt.",
              "discount_amount": 0,
              "discount_percentage": 0,
              "sub_total": 12.34,
              "tax_amount": 2,
              "total_amount": 14.34,
              "item": {
                "id": "00000000-0000-0000-0000-000000000000",
                "quantity": 1,
                "unit_amount": 12.34
              }
            }
          ],
          "created_at": "2023-01-02T02:34:56.000Z",
          "updated_at": "2023-01-02T02:34:56.000Z",
          "last_synced_at": "2023-01-02T02:34:56.000Z",
          "platform_data": {
            "id": 123,
            "data": "Varies by platform"
          }
        }
      },
      "ListBillCreditMemoResponseWithConnection_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "NETSUITE"
          },
          "bill_credit_memos": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "platform_id": "12345678",
              "account_id": "00000000-0000-0000-0000-000000000000",
              "vendor_id": "00000000-0000-0000-0000-000000000000",
              "issue_date": "2023-01-02T02:34:56.000Z",
              "document_number": "VENDCRED-1",
              "remaining_amount": 3,
              "status": "paid",
              "total_amount": 3,
              "currency_code": "USD",
              "memo": "Discount for future Rutter shirts.",
              "linked_bills": [
                {
                  "id": "00000000-0000-0000-0000-000000000000",
                  "allocated_date": "2023-01-02T02:34:56.000Z",
                  "allocated_amount": 3
                }
              ],
              "line_items": [
                {
                  "account_id": "00000000-0000-0000-0000-000000000000",
                  "class_id": "00000000-0000-0000-0000-000000000000",
                  "customer_id": "00000000-0000-0000-0000-000000000000",
                  "department_id": "00000000-0000-0000-0000-000000000000",
                  "location_id": "00000000-0000-0000-0000-000000000000",
                  "tax_rate_id": "00000000-0000-0000-0000-000000000000",
                  "description": "A Rutter shirt.",
                  "discount_amount": 0,
                  "discount_percentage": 0,
                  "sub_total": 12.34,
                  "tax_amount": 2,
                  "total_amount": 14.34,
                  "item": {
                    "id": "00000000-0000-0000-0000-000000000000",
                    "quantity": 1,
                    "unit_amount": 12.34
                  }
                }
              ],
              "created_at": "2023-01-02T02:34:56.000Z",
              "updated_at": "2023-01-02T02:34:56.000Z",
              "last_synced_at": "2023-01-02T02:34:56.000Z",
              "platform_data": {
                "id": 123,
                "data": "Varies by platform"
              }
            }
          ],
          "next_cursor": "MTY3NDgzMTk0Ml82MDY4ZDI0ZC02NGRmLTRmN2EtYTM0Ny0zN2ZmNjY5MGVmMjU="
        }
      },
      "CreateBillCreditMemo_Example": {
        "value": {
          "account_id": "00000000-0000-0000-0000-000000000000",
          "vendor_id": "00000000-0000-0000-0000-000000000000",
          "issue_date": "2023-01-02T02:34:56.000Z",
          "currency_code": "USD",
          "line_items": [
            {
              "account_id": "00000000-0000-0000-0000-000000000000",
              "total_amount": 12.34,
              "description": "A Rutter shirt."
            }
          ]
        }
      },
      "CreateCreateBillCreditMemoRequest_Example": {
        "value": {
          "bill_credit_memo": {
            "account_id": "00000000-0000-0000-0000-000000000000",
            "vendor_id": "00000000-0000-0000-0000-000000000000",
            "issue_date": "2023-01-02T02:34:56.000Z",
            "currency_code": "USD",
            "line_items": [
              {
                "account_id": "00000000-0000-0000-0000-000000000000",
                "total_amount": 12.34,
                "description": "A Rutter shirt."
              }
            ]
          }
        }
      },
      "BillCreditMemoResponse_Example": {
        "value": {
          "bill_credit_memo": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "account_id": "00000000-0000-0000-0000-000000000000",
            "vendor_id": "00000000-0000-0000-0000-000000000000",
            "issue_date": "2023-01-02T02:34:56.000Z",
            "document_number": "VENDCRED-1",
            "remaining_amount": 3,
            "status": "paid",
            "total_amount": 3,
            "currency_code": "USD",
            "memo": "Discount for future Rutter shirts.",
            "linked_bills": [
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "allocated_date": "2023-01-02T02:34:56.000Z",
                "allocated_amount": 3
              }
            ],
            "line_items": [
              {
                "account_id": "00000000-0000-0000-0000-000000000000",
                "class_id": "00000000-0000-0000-0000-000000000000",
                "customer_id": "00000000-0000-0000-0000-000000000000",
                "department_id": "00000000-0000-0000-0000-000000000000",
                "location_id": "00000000-0000-0000-0000-000000000000",
                "tax_rate_id": "00000000-0000-0000-0000-000000000000",
                "description": "A Rutter shirt.",
                "discount_amount": 0,
                "discount_percentage": 0,
                "sub_total": 12.34,
                "tax_amount": 2,
                "total_amount": 14.34,
                "item": {
                  "id": "00000000-0000-0000-0000-000000000000",
                  "quantity": 1,
                  "unit_amount": 12.34
                }
              }
            ],
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z",
            "last_synced_at": "2023-01-02T02:34:56.000Z",
            "platform_data": {
              "id": 123,
              "data": "Varies by platform"
            }
          }
        }
      },
      "CreateBillCreditMemoResponse_Example": {
        "value": {
          "bill_credit_memo": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "account_id": "00000000-0000-0000-0000-000000000000",
            "vendor_id": "00000000-0000-0000-0000-000000000000",
            "issue_date": "2023-01-02T02:34:56.000Z",
            "document_number": "VENDCRED-1",
            "remaining_amount": 3,
            "status": "paid",
            "total_amount": 3,
            "currency_code": "USD",
            "memo": "Discount for future Rutter shirts.",
            "linked_bills": [
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "allocated_date": "2023-01-02T02:34:56.000Z",
                "allocated_amount": 3
              }
            ],
            "line_items": [
              {
                "account_id": "00000000-0000-0000-0000-000000000000",
                "class_id": "00000000-0000-0000-0000-000000000000",
                "customer_id": "00000000-0000-0000-0000-000000000000",
                "department_id": "00000000-0000-0000-0000-000000000000",
                "location_id": "00000000-0000-0000-0000-000000000000",
                "tax_rate_id": "00000000-0000-0000-0000-000000000000",
                "description": "A Rutter shirt.",
                "discount_amount": 0,
                "discount_percentage": 0,
                "sub_total": 12.34,
                "tax_amount": 2,
                "total_amount": 14.34,
                "item": {
                  "id": "00000000-0000-0000-0000-000000000000",
                  "quantity": 1,
                  "unit_amount": 12.34
                }
              }
            ],
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z",
            "last_synced_at": "2023-01-02T02:34:56.000Z",
            "platform_data": {
              "id": 123,
              "data": "Varies by platform"
            }
          }
        }
      },
      "BillCreditMemoResponseWithConnection_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "NETSUITE"
          },
          "bill_credit_memo": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "account_id": "00000000-0000-0000-0000-000000000000",
            "vendor_id": "00000000-0000-0000-0000-000000000000",
            "issue_date": "2023-01-02T02:34:56.000Z",
            "document_number": "VENDCRED-1",
            "remaining_amount": 3,
            "status": "paid",
            "total_amount": 3,
            "currency_code": "USD",
            "memo": "Discount for future Rutter shirts.",
            "linked_bills": [
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "allocated_date": "2023-01-02T02:34:56.000Z",
                "allocated_amount": 3
              }
            ],
            "line_items": [
              {
                "account_id": "00000000-0000-0000-0000-000000000000",
                "class_id": "00000000-0000-0000-0000-000000000000",
                "customer_id": "00000000-0000-0000-0000-000000000000",
                "department_id": "00000000-0000-0000-0000-000000000000",
                "location_id": "00000000-0000-0000-0000-000000000000",
                "tax_rate_id": "00000000-0000-0000-0000-000000000000",
                "description": "A Rutter shirt.",
                "discount_amount": 0,
                "discount_percentage": 0,
                "sub_total": 12.34,
                "tax_amount": 2,
                "total_amount": 14.34,
                "item": {
                  "id": "00000000-0000-0000-0000-000000000000",
                  "quantity": 1,
                  "unit_amount": 12.34
                }
              }
            ],
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z",
            "last_synced_at": "2023-01-02T02:34:56.000Z",
            "platform_data": {
              "id": 123,
              "data": "Varies by platform"
            }
          }
        }
      },
      "BillPayment_Example": {
        "value": {
          "id": "00000000-0000-0000-0000-000000000000",
          "platform_id": "12345678",
          "account_id": "00000000-0000-0000-0000-000000000000",
          "vendor_id": "00000000-0000-0000-0000-000000000000",
          "transaction_date": "2023-01-02T02:34:56.000Z",
          "currency_code": "USD",
          "memo": "Payment for a shirt.",
          "status": "active",
          "total_amount": 2,
          "currency_rate": "1",
          "linked_bills": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "allocated_date": "2023-01-02T02:34:56.000Z",
              "allocated_amount": 2
            }
          ],
          "created_at": "2023-01-02T02:34:56.000Z",
          "updated_at": "2023-01-02T02:34:56.000Z",
          "last_synced_at": "2023-01-02T02:34:56.000Z"
        }
      },
      "ListBillPaymentResponseWithConnection_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "NETSUITE"
          },
          "bill_payments": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "platform_id": "12345678",
              "account_id": "00000000-0000-0000-0000-000000000000",
              "vendor_id": "00000000-0000-0000-0000-000000000000",
              "transaction_date": "2023-01-02T02:34:56.000Z",
              "currency_code": "USD",
              "memo": "Payment for a shirt.",
              "status": "active",
              "total_amount": 2,
              "currency_rate": "1",
              "linked_bills": [
                {
                  "id": "00000000-0000-0000-0000-000000000000",
                  "allocated_date": "2023-01-02T02:34:56.000Z",
                  "allocated_amount": 2
                }
              ],
              "created_at": "2023-01-02T02:34:56.000Z",
              "updated_at": "2023-01-02T02:34:56.000Z",
              "last_synced_at": "2023-01-02T02:34:56.000Z"
            }
          ],
          "next_cursor": "MTY3NDgzMTk0Ml82MDY4ZDI0ZC02NGRmLTRmN2EtYTM0Ny0zN2ZmNjY5MGVmMjU="
        }
      },
      "CreateBillPayment_Example": {
        "value": {
          "account_id": "00000000-0000-0000-0000-000000000000",
          "vendor_id": "00000000-0000-0000-0000-000000000000",
          "transaction_date": "2023-01-02T02:34:56.000Z",
          "currency_code": "USD",
          "currency_rate": 1,
          "memo": "Payment for a shirt.",
          "linked_bills": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "allocated_amount": 12.34
            }
          ]
        }
      },
      "CreateCreateBillPaymentRequest_Example": {
        "value": {
          "bill_payment": {
            "account_id": "00000000-0000-0000-0000-000000000000",
            "vendor_id": "00000000-0000-0000-0000-000000000000",
            "transaction_date": "2023-01-02T02:34:56.000Z",
            "currency_code": "USD",
            "currency_rate": 1,
            "memo": "Payment for a shirt.",
            "linked_bills": [
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "allocated_amount": 12.34
              }
            ]
          }
        }
      },
      "BillPaymentResponse_Example": {
        "value": {
          "bill_payment": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "account_id": "00000000-0000-0000-0000-000000000000",
            "vendor_id": "00000000-0000-0000-0000-000000000000",
            "transaction_date": "2023-01-02T02:34:56.000Z",
            "currency_code": "USD",
            "memo": "Payment for a shirt.",
            "status": "active",
            "total_amount": 2,
            "currency_rate": "1",
            "linked_bills": [
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "allocated_date": "2023-01-02T02:34:56.000Z",
                "allocated_amount": 2
              }
            ],
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z",
            "last_synced_at": "2023-01-02T02:34:56.000Z"
          }
        }
      },
      "ListBillPaymentResponse_Example": {
        "value": {
          "bill_payments": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "platform_id": "12345678",
              "account_id": "00000000-0000-0000-0000-000000000000",
              "vendor_id": "00000000-0000-0000-0000-000000000000",
              "transaction_date": "2023-01-02T02:34:56.000Z",
              "currency_code": "USD",
              "memo": "Payment for a shirt.",
              "status": "active",
              "total_amount": 2,
              "currency_rate": "1",
              "linked_bills": [
                {
                  "id": "00000000-0000-0000-0000-000000000000",
                  "allocated_date": "2023-01-02T02:34:56.000Z",
                  "allocated_amount": 2
                }
              ],
              "created_at": "2023-01-02T02:34:56.000Z",
              "updated_at": "2023-01-02T02:34:56.000Z",
              "last_synced_at": "2023-01-02T02:34:56.000Z"
            }
          ]
        }
      },
      "CreateBillPaymentResponse_Example": {
        "value": {
          "bill_payment": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "account_id": "00000000-0000-0000-0000-000000000000",
            "vendor_id": "00000000-0000-0000-0000-000000000000",
            "transaction_date": "2023-01-02T02:34:56.000Z",
            "currency_code": "USD",
            "memo": "Payment for a shirt.",
            "status": "active",
            "total_amount": 2,
            "currency_rate": "1",
            "linked_bills": [
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "allocated_date": "2023-01-02T02:34:56.000Z",
                "allocated_amount": 2
              }
            ],
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z",
            "last_synced_at": "2023-01-02T02:34:56.000Z"
          }
        }
      },
      "BillPaymentResponseWithConnection_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "NETSUITE"
          },
          "bill_payment": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "account_id": "00000000-0000-0000-0000-000000000000",
            "vendor_id": "00000000-0000-0000-0000-000000000000",
            "transaction_date": "2023-01-02T02:34:56.000Z",
            "currency_code": "USD",
            "memo": "Payment for a shirt.",
            "status": "active",
            "total_amount": 2,
            "currency_rate": "1",
            "linked_bills": [
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "allocated_date": "2023-01-02T02:34:56.000Z",
                "allocated_amount": 2
              }
            ],
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z",
            "last_synced_at": "2023-01-02T02:34:56.000Z"
          }
        }
      },
      "UpdateBillPayment_Example": {
        "value": {
          "status": "void"
        }
      },
      "CreateUpdateBillPaymentRequest_Example": {
        "value": {
          "bill_payment": {
            "status": "void"
          }
        }
      },
      "UpdateBillPaymentResponse_Example": {
        "value": {
          "id": "00000000-0000-0000-0000-000000000000",
          "platform_id": "12345678",
          "account_id": "00000000-0000-0000-0000-000000000000",
          "vendor_id": "00000000-0000-0000-0000-000000000000",
          "transaction_date": "2023-01-02T02:34:56.000Z",
          "currency_code": "USD",
          "memo": "Payment for a shirt.",
          "status": "active",
          "total_amount": 2,
          "currency_rate": "1",
          "linked_bills": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "allocated_date": "2023-01-02T02:34:56.000Z",
              "allocated_amount": 2
            }
          ],
          "created_at": "2023-01-02T02:34:56.000Z",
          "updated_at": "2023-01-02T02:34:56.000Z",
          "last_synced_at": "2023-01-02T02:34:56.000Z"
        }
      },
      "UpdateBillPaymentResponseResponse_Example": {
        "value": {
          "bill_payment": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "account_id": "00000000-0000-0000-0000-000000000000",
            "vendor_id": "00000000-0000-0000-0000-000000000000",
            "transaction_date": "2023-01-02T02:34:56.000Z",
            "currency_code": "USD",
            "memo": "Payment for a shirt.",
            "status": "active",
            "total_amount": 2,
            "currency_rate": "1",
            "linked_bills": [
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "allocated_date": "2023-01-02T02:34:56.000Z",
                "allocated_amount": 2
              }
            ],
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z",
            "last_synced_at": "2023-01-02T02:34:56.000Z"
          }
        }
      },
      "CreateUpdateBillPaymentResponseResponse_Example": {
        "value": {
          "bill_payment": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "account_id": "00000000-0000-0000-0000-000000000000",
            "vendor_id": "00000000-0000-0000-0000-000000000000",
            "transaction_date": "2023-01-02T02:34:56.000Z",
            "currency_code": "USD",
            "memo": "Payment for a shirt.",
            "status": "active",
            "total_amount": 2,
            "currency_rate": "1",
            "linked_bills": [
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "allocated_date": "2023-01-02T02:34:56.000Z",
                "allocated_amount": 2
              }
            ],
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z",
            "last_synced_at": "2023-01-02T02:34:56.000Z"
          }
        }
      },
      "Bill_Example": {
        "value": {
          "id": "00000000-0000-0000-0000-000000000000",
          "platform_id": "12345678",
          "account_id": "00000000-0000-0000-0000-000000000000",
          "payment_terms_id": "00000000-0000-0000-0000-000000000000",
          "subsidiary_id": "00000000-0000-0000-0000-000000000000",
          "vendor_id": "00000000-0000-0000-0000-000000000000",
          "due_date": "2023-01-02T02:34:56.000Z",
          "issue_date": "2023-01-02T02:34:56.000Z",
          "amount_due": 9.34,
          "currency_code": "USD",
          "status": "partially_paid",
          "total_amount": 14.34,
          "document_number": "VENDBILL-1",
          "memo": "Bill description",
          "sub_total": 12.34,
          "tax_amount": 2,
          "total_discount": 0,
          "linked_purchase_orders": [
            {
              "id": "00000000-0000-0000-0000-000000000000"
            }
          ],
          "currency_rate": "3.5",
          "linked_credit_memos": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "allocated_date": "2023-01-02T02:34:56.000Z",
              "allocated_amount": 2
            }
          ],
          "linked_payments": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "allocated_date": "2023-01-02T02:34:56.000Z",
              "allocated_amount": 3
            }
          ],
          "line_items": [
            {
              "account_id": "00000000-0000-0000-0000-000000000000",
              "class_id": "00000000-0000-0000-0000-000000000000",
              "customer_id": "00000000-0000-0000-0000-000000000000",
              "department_id": "00000000-0000-0000-0000-000000000000",
              "location_id": "00000000-0000-0000-0000-000000000000",
              "tax_rate_id": "00000000-0000-0000-0000-000000000000",
              "description": "A Rutter shirt.",
              "discount_amount": 0,
              "discount_percentage": 0,
              "sub_total": 12.34,
              "tax_amount": 2,
              "total_amount": 14.34,
              "item": {
                "id": "00000000-0000-0000-0000-000000000000",
                "quantity": 1,
                "unit_amount": 12.34
              }
            }
          ],
          "created_at": "2023-01-02T02:34:56.000Z",
          "updated_at": "2023-01-02T02:34:56.000Z",
          "last_synced_at": "2023-01-02T02:34:56.000Z",
          "platform_data": {
            "id": 123,
            "data": "Varies by platform"
          }
        }
      },
      "ListBillResponseWithConnection_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "NETSUITE"
          },
          "bills": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "platform_id": "12345678",
              "account_id": "00000000-0000-0000-0000-000000000000",
              "payment_terms_id": "00000000-0000-0000-0000-000000000000",
              "subsidiary_id": "00000000-0000-0000-0000-000000000000",
              "vendor_id": "00000000-0000-0000-0000-000000000000",
              "due_date": "2023-01-02T02:34:56.000Z",
              "issue_date": "2023-01-02T02:34:56.000Z",
              "amount_due": 9.34,
              "currency_code": "USD",
              "status": "partially_paid",
              "total_amount": 14.34,
              "document_number": "VENDBILL-1",
              "memo": "Bill description",
              "sub_total": 12.34,
              "tax_amount": 2,
              "total_discount": 0,
              "linked_purchase_orders": [
                {
                  "id": "00000000-0000-0000-0000-000000000000"
                }
              ],
              "currency_rate": "3.5",
              "linked_credit_memos": [
                {
                  "id": "00000000-0000-0000-0000-000000000000",
                  "allocated_date": "2023-01-02T02:34:56.000Z",
                  "allocated_amount": 2
                }
              ],
              "linked_payments": [
                {
                  "id": "00000000-0000-0000-0000-000000000000",
                  "allocated_date": "2023-01-02T02:34:56.000Z",
                  "allocated_amount": 3
                }
              ],
              "line_items": [
                {
                  "account_id": "00000000-0000-0000-0000-000000000000",
                  "class_id": "00000000-0000-0000-0000-000000000000",
                  "customer_id": "00000000-0000-0000-0000-000000000000",
                  "department_id": "00000000-0000-0000-0000-000000000000",
                  "location_id": "00000000-0000-0000-0000-000000000000",
                  "tax_rate_id": "00000000-0000-0000-0000-000000000000",
                  "description": "A Rutter shirt.",
                  "discount_amount": 0,
                  "discount_percentage": 0,
                  "sub_total": 12.34,
                  "tax_amount": 2,
                  "total_amount": 14.34,
                  "item": {
                    "id": "00000000-0000-0000-0000-000000000000",
                    "quantity": 1,
                    "unit_amount": 12.34
                  }
                }
              ],
              "created_at": "2023-01-02T02:34:56.000Z",
              "updated_at": "2023-01-02T02:34:56.000Z",
              "last_synced_at": "2023-01-02T02:34:56.000Z",
              "platform_data": {
                "id": 123,
                "data": "Varies by platform"
              }
            }
          ],
          "next_cursor": "MTY3NDgzMTk0Ml82MDY4ZDI0ZC02NGRmLTRmN2EtYTM0Ny0zN2ZmNjY5MGVmMjU="
        }
      },
      "CreateBill_Example": {
        "value": {
          "subsidiary_id": "00000000-0000-0000-0000-000000000000",
          "vendor_id": "00000000-0000-0000-0000-000000000000",
          "due_date": "2023-01-02T02:34:56.000Z",
          "issue_date": "2023-01-02T02:34:56.000Z",
          "currency_code": "USD",
          "currency_rate": "3.5",
          "line_items": [
            {
              "account_id": "00000000-0000-0000-0000-000000000000",
              "tax_rate_id": "00000000-0000-0000-0000-000000000000",
              "total_amount": 12.34,
              "description": "A Rutter shirt.",
              "item": {
                "id": "00000000-0000-0000-0000-000000000000",
                "quantity": 1,
                "unit_amount": 12.34
              }
            }
          ]
        }
      },
      "CreateCreateBillRequest_Example": {
        "value": {
          "bill": {
            "subsidiary_id": "00000000-0000-0000-0000-000000000000",
            "vendor_id": "00000000-0000-0000-0000-000000000000",
            "due_date": "2023-01-02T02:34:56.000Z",
            "issue_date": "2023-01-02T02:34:56.000Z",
            "currency_code": "USD",
            "currency_rate": "3.5",
            "line_items": [
              {
                "account_id": "00000000-0000-0000-0000-000000000000",
                "tax_rate_id": "00000000-0000-0000-0000-000000000000",
                "total_amount": 12.34,
                "description": "A Rutter shirt.",
                "item": {
                  "id": "00000000-0000-0000-0000-000000000000",
                  "quantity": 1,
                  "unit_amount": 12.34
                }
              }
            ]
          }
        }
      },
      "BillResponse_Example": {
        "value": {
          "bill": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "account_id": "00000000-0000-0000-0000-000000000000",
            "payment_terms_id": "00000000-0000-0000-0000-000000000000",
            "subsidiary_id": "00000000-0000-0000-0000-000000000000",
            "vendor_id": "00000000-0000-0000-0000-000000000000",
            "due_date": "2023-01-02T02:34:56.000Z",
            "issue_date": "2023-01-02T02:34:56.000Z",
            "amount_due": 9.34,
            "currency_code": "USD",
            "status": "partially_paid",
            "total_amount": 14.34,
            "document_number": "VENDBILL-1",
            "memo": "Bill description",
            "sub_total": 12.34,
            "tax_amount": 2,
            "total_discount": 0,
            "linked_purchase_orders": [
              {
                "id": "00000000-0000-0000-0000-000000000000"
              }
            ],
            "currency_rate": "3.5",
            "linked_credit_memos": [
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "allocated_date": "2023-01-02T02:34:56.000Z",
                "allocated_amount": 2
              }
            ],
            "linked_payments": [
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "allocated_date": "2023-01-02T02:34:56.000Z",
                "allocated_amount": 3
              }
            ],
            "line_items": [
              {
                "account_id": "00000000-0000-0000-0000-000000000000",
                "class_id": "00000000-0000-0000-0000-000000000000",
                "customer_id": "00000000-0000-0000-0000-000000000000",
                "department_id": "00000000-0000-0000-0000-000000000000",
                "location_id": "00000000-0000-0000-0000-000000000000",
                "tax_rate_id": "00000000-0000-0000-0000-000000000000",
                "description": "A Rutter shirt.",
                "discount_amount": 0,
                "discount_percentage": 0,
                "sub_total": 12.34,
                "tax_amount": 2,
                "total_amount": 14.34,
                "item": {
                  "id": "00000000-0000-0000-0000-000000000000",
                  "quantity": 1,
                  "unit_amount": 12.34
                }
              }
            ],
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z",
            "last_synced_at": "2023-01-02T02:34:56.000Z",
            "platform_data": {
              "id": 123,
              "data": "Varies by platform"
            }
          }
        }
      },
      "CreateBillResponse_Example": {
        "value": {
          "bill": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "account_id": "00000000-0000-0000-0000-000000000000",
            "payment_terms_id": "00000000-0000-0000-0000-000000000000",
            "subsidiary_id": "00000000-0000-0000-0000-000000000000",
            "vendor_id": "00000000-0000-0000-0000-000000000000",
            "due_date": "2023-01-02T02:34:56.000Z",
            "issue_date": "2023-01-02T02:34:56.000Z",
            "amount_due": 9.34,
            "currency_code": "USD",
            "status": "partially_paid",
            "total_amount": 14.34,
            "document_number": "VENDBILL-1",
            "memo": "Bill description",
            "sub_total": 12.34,
            "tax_amount": 2,
            "total_discount": 0,
            "linked_purchase_orders": [
              {
                "id": "00000000-0000-0000-0000-000000000000"
              }
            ],
            "currency_rate": "3.5",
            "linked_credit_memos": [
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "allocated_date": "2023-01-02T02:34:56.000Z",
                "allocated_amount": 2
              }
            ],
            "linked_payments": [
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "allocated_date": "2023-01-02T02:34:56.000Z",
                "allocated_amount": 3
              }
            ],
            "line_items": [
              {
                "account_id": "00000000-0000-0000-0000-000000000000",
                "class_id": "00000000-0000-0000-0000-000000000000",
                "customer_id": "00000000-0000-0000-0000-000000000000",
                "department_id": "00000000-0000-0000-0000-000000000000",
                "location_id": "00000000-0000-0000-0000-000000000000",
                "tax_rate_id": "00000000-0000-0000-0000-000000000000",
                "description": "A Rutter shirt.",
                "discount_amount": 0,
                "discount_percentage": 0,
                "sub_total": 12.34,
                "tax_amount": 2,
                "total_amount": 14.34,
                "item": {
                  "id": "00000000-0000-0000-0000-000000000000",
                  "quantity": 1,
                  "unit_amount": 12.34
                }
              }
            ],
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z",
            "last_synced_at": "2023-01-02T02:34:56.000Z",
            "platform_data": {
              "id": 123,
              "data": "Varies by platform"
            }
          }
        }
      },
      "BillResponseWithConnection_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "NETSUITE"
          },
          "bill": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "account_id": "00000000-0000-0000-0000-000000000000",
            "payment_terms_id": "00000000-0000-0000-0000-000000000000",
            "subsidiary_id": "00000000-0000-0000-0000-000000000000",
            "vendor_id": "00000000-0000-0000-0000-000000000000",
            "due_date": "2023-01-02T02:34:56.000Z",
            "issue_date": "2023-01-02T02:34:56.000Z",
            "amount_due": 9.34,
            "currency_code": "USD",
            "status": "partially_paid",
            "total_amount": 14.34,
            "document_number": "VENDBILL-1",
            "memo": "Bill description",
            "sub_total": 12.34,
            "tax_amount": 2,
            "total_discount": 0,
            "linked_purchase_orders": [
              {
                "id": "00000000-0000-0000-0000-000000000000"
              }
            ],
            "currency_rate": "3.5",
            "linked_credit_memos": [
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "allocated_date": "2023-01-02T02:34:56.000Z",
                "allocated_amount": 2
              }
            ],
            "linked_payments": [
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "allocated_date": "2023-01-02T02:34:56.000Z",
                "allocated_amount": 3
              }
            ],
            "line_items": [
              {
                "account_id": "00000000-0000-0000-0000-000000000000",
                "class_id": "00000000-0000-0000-0000-000000000000",
                "customer_id": "00000000-0000-0000-0000-000000000000",
                "department_id": "00000000-0000-0000-0000-000000000000",
                "location_id": "00000000-0000-0000-0000-000000000000",
                "tax_rate_id": "00000000-0000-0000-0000-000000000000",
                "description": "A Rutter shirt.",
                "discount_amount": 0,
                "discount_percentage": 0,
                "sub_total": 12.34,
                "tax_amount": 2,
                "total_amount": 14.34,
                "item": {
                  "id": "00000000-0000-0000-0000-000000000000",
                  "quantity": 1,
                  "unit_amount": 12.34
                }
              }
            ],
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z",
            "last_synced_at": "2023-01-02T02:34:56.000Z",
            "platform_data": {
              "id": 123,
              "data": "Varies by platform"
            }
          }
        }
      },
      "UpdateBillBody_Example": {
        "value": {
          "memo": "Example Memo"
        }
      },
      "CreateUpdateBillBodyRequest_Example": {
        "value": {
          "bill": {
            "memo": "Example Memo"
          }
        }
      },
      "UpdateBillResponse_Example": {
        "value": {
          "id": "00000000-0000-0000-0000-000000000000",
          "platform_id": "12345678",
          "account_id": "00000000-0000-0000-0000-000000000000",
          "payment_terms_id": "00000000-0000-0000-0000-000000000000",
          "subsidiary_id": "00000000-0000-0000-0000-000000000000",
          "vendor_id": "00000000-0000-0000-0000-000000000000",
          "due_date": "2023-01-02T02:34:56.000Z",
          "issue_date": "2023-01-02T02:34:56.000Z",
          "amount_due": 9.34,
          "currency_code": "USD",
          "status": "partially_paid",
          "total_amount": 14.34,
          "document_number": "VENDBILL-1",
          "memo": "Bill description",
          "sub_total": 12.34,
          "tax_amount": 2,
          "total_discount": 0,
          "linked_purchase_orders": [
            {
              "id": "00000000-0000-0000-0000-000000000000"
            }
          ],
          "currency_rate": "3.5",
          "linked_credit_memos": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "allocated_date": "2023-01-02T02:34:56.000Z",
              "allocated_amount": 2
            }
          ],
          "linked_payments": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "allocated_date": "2023-01-02T02:34:56.000Z",
              "allocated_amount": 3
            }
          ],
          "line_items": [
            {
              "account_id": "00000000-0000-0000-0000-000000000000",
              "class_id": "00000000-0000-0000-0000-000000000000",
              "customer_id": "00000000-0000-0000-0000-000000000000",
              "department_id": "00000000-0000-0000-0000-000000000000",
              "location_id": "00000000-0000-0000-0000-000000000000",
              "tax_rate_id": "00000000-0000-0000-0000-000000000000",
              "description": "A Rutter shirt.",
              "discount_amount": 0,
              "discount_percentage": 0,
              "sub_total": 12.34,
              "tax_amount": 2,
              "total_amount": 14.34,
              "item": {
                "id": "00000000-0000-0000-0000-000000000000",
                "quantity": 1,
                "unit_amount": 12.34
              }
            }
          ],
          "created_at": "2023-01-02T02:34:56.000Z",
          "updated_at": "2023-01-02T02:34:56.000Z",
          "last_synced_at": "2023-01-02T02:34:56.000Z",
          "platform_data": {
            "id": 123,
            "data": "Varies by platform"
          }
        }
      },
      "UpdateBillResponseResponse_Example": {
        "value": {
          "bill": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "account_id": "00000000-0000-0000-0000-000000000000",
            "payment_terms_id": "00000000-0000-0000-0000-000000000000",
            "subsidiary_id": "00000000-0000-0000-0000-000000000000",
            "vendor_id": "00000000-0000-0000-0000-000000000000",
            "due_date": "2023-01-02T02:34:56.000Z",
            "issue_date": "2023-01-02T02:34:56.000Z",
            "amount_due": 9.34,
            "currency_code": "USD",
            "status": "partially_paid",
            "total_amount": 14.34,
            "document_number": "VENDBILL-1",
            "memo": "Bill description",
            "sub_total": 12.34,
            "tax_amount": 2,
            "total_discount": 0,
            "linked_purchase_orders": [
              {
                "id": "00000000-0000-0000-0000-000000000000"
              }
            ],
            "currency_rate": "3.5",
            "linked_credit_memos": [
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "allocated_date": "2023-01-02T02:34:56.000Z",
                "allocated_amount": 2
              }
            ],
            "linked_payments": [
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "allocated_date": "2023-01-02T02:34:56.000Z",
                "allocated_amount": 3
              }
            ],
            "line_items": [
              {
                "account_id": "00000000-0000-0000-0000-000000000000",
                "class_id": "00000000-0000-0000-0000-000000000000",
                "customer_id": "00000000-0000-0000-0000-000000000000",
                "department_id": "00000000-0000-0000-0000-000000000000",
                "location_id": "00000000-0000-0000-0000-000000000000",
                "tax_rate_id": "00000000-0000-0000-0000-000000000000",
                "description": "A Rutter shirt.",
                "discount_amount": 0,
                "discount_percentage": 0,
                "sub_total": 12.34,
                "tax_amount": 2,
                "total_amount": 14.34,
                "item": {
                  "id": "00000000-0000-0000-0000-000000000000",
                  "quantity": 1,
                  "unit_amount": 12.34
                }
              }
            ],
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z",
            "last_synced_at": "2023-01-02T02:34:56.000Z",
            "platform_data": {
              "id": 123,
              "data": "Varies by platform"
            }
          }
        }
      },
      "CreateUpdateBillResponseResponse_Example": {
        "value": {
          "bill": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "account_id": "00000000-0000-0000-0000-000000000000",
            "payment_terms_id": "00000000-0000-0000-0000-000000000000",
            "subsidiary_id": "00000000-0000-0000-0000-000000000000",
            "vendor_id": "00000000-0000-0000-0000-000000000000",
            "due_date": "2023-01-02T02:34:56.000Z",
            "issue_date": "2023-01-02T02:34:56.000Z",
            "amount_due": 9.34,
            "currency_code": "USD",
            "status": "partially_paid",
            "total_amount": 14.34,
            "document_number": "VENDBILL-1",
            "memo": "Bill description",
            "sub_total": 12.34,
            "tax_amount": 2,
            "total_discount": 0,
            "linked_purchase_orders": [
              {
                "id": "00000000-0000-0000-0000-000000000000"
              }
            ],
            "currency_rate": "3.5",
            "linked_credit_memos": [
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "allocated_date": "2023-01-02T02:34:56.000Z",
                "allocated_amount": 2
              }
            ],
            "linked_payments": [
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "allocated_date": "2023-01-02T02:34:56.000Z",
                "allocated_amount": 3
              }
            ],
            "line_items": [
              {
                "account_id": "00000000-0000-0000-0000-000000000000",
                "class_id": "00000000-0000-0000-0000-000000000000",
                "customer_id": "00000000-0000-0000-0000-000000000000",
                "department_id": "00000000-0000-0000-0000-000000000000",
                "location_id": "00000000-0000-0000-0000-000000000000",
                "tax_rate_id": "00000000-0000-0000-0000-000000000000",
                "description": "A Rutter shirt.",
                "discount_amount": 0,
                "discount_percentage": 0,
                "sub_total": 12.34,
                "tax_amount": 2,
                "total_amount": 14.34,
                "item": {
                  "id": "00000000-0000-0000-0000-000000000000",
                  "quantity": 1,
                  "unit_amount": 12.34
                }
              }
            ],
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z",
            "last_synced_at": "2023-01-02T02:34:56.000Z",
            "platform_data": {
              "id": 123,
              "data": "Varies by platform"
            }
          }
        }
      },
      "DeleteBill_2023_02_07_Example": {
        "value": {
          "code": "deleted",
          "success": true
        }
      },
      "DeleteBill_2023_02_07Response_Example": {
        "value": {
          "deleted_bill": {
            "code": "deleted",
            "success": true
          }
        }
      },
      "BillAttachmentsResponse_Example": {
        "value": {
          "attachments": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "platform_id": "12345678",
              "attached_to_id": "00000000-0000-0000-0000-000000000000",
              "file_name": "attachment.pdf",
              "file_url": "/accounting/bills/00000000-0000-0000-0000-000000000000/attachments/00000000-0000-0000-0000-000000000000/file",
              "attached_to_type": "BILL",
              "created_at": "2023-01-02T02:34:56.000Z"
            }
          ]
        }
      },
      "CashFlowStatement_Example": {
        "value": {
          "id": "5b3c1341-a20f-4e51-b72c-f3830a16c97b",
          "start_date": "2021-09-31T00:00:00Z",
          "end_date": "2022-09-31T00:00:00Z",
          "currency_code": "USD",
          "ending_balance": "4063.52",
          "starting_balance": "4063.52",
          "total_financing": "1000",
          "total_investing": "1000",
          "total_operating": "1000",
          "financing_activities": {
            "account_id": "2",
            "name": "Financing Activities",
            "value": "1000",
            "items": []
          },
          "investing_activities": {
            "account_id": "1",
            "name": "Investing Activities",
            "value": "1000",
            "items": []
          },
          "operating_activities": {
            "account_id": "4",
            "name": "Operating Activities",
            "value": "1000",
            "items": []
          },
          "created_at": "2022-01-01T08:00:00.000Z",
          "updated_at": "2022-01-09T08:00:00.000Z",
          "platform_data": {
            "id": 123,
            "data": "Varies by platform"
          }
        }
      },
      "ListCashFlowStatementResponseWithConnection_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "NETSUITE"
          },
          "cash_flows": [
            {
              "id": "5b3c1341-a20f-4e51-b72c-f3830a16c97b",
              "start_date": "2021-09-31T00:00:00Z",
              "end_date": "2022-09-31T00:00:00Z",
              "currency_code": "USD",
              "ending_balance": "4063.52",
              "starting_balance": "4063.52",
              "total_financing": "1000",
              "total_investing": "1000",
              "total_operating": "1000",
              "financing_activities": {
                "account_id": "2",
                "name": "Financing Activities",
                "value": "1000",
                "items": []
              },
              "investing_activities": {
                "account_id": "1",
                "name": "Investing Activities",
                "value": "1000",
                "items": []
              },
              "operating_activities": {
                "account_id": "4",
                "name": "Operating Activities",
                "value": "1000",
                "items": []
              },
              "created_at": "2022-01-01T08:00:00.000Z",
              "updated_at": "2022-01-09T08:00:00.000Z",
              "platform_data": {
                "id": 123,
                "data": "Varies by platform"
              }
            }
          ],
          "next_cursor": "MTY3NDgzMTk0Ml82MDY4ZDI0ZC02NGRmLTRmN2EtYTM0Ny0zN2ZmNjY5MGVmMjU="
        }
      },
      "Class_Example": {
        "value": {
          "id": "00000000-0000-0000-0000-000000000000",
          "platform_id": "12345678",
          "parent_id": "00000000-0000-0000-0000-000000000000",
          "has_children": false,
          "name": "Generic Spend",
          "status": "active",
          "created_at": "2023-01-02T02:34:56.000Z",
          "updated_at": "2023-01-02T02:34:56.000Z",
          "last_synced_at": "2023-01-02T02:34:56.000Z",
          "platform_data": {
            "id": 123,
            "data": "Varies by platform"
          }
        }
      },
      "ListClassResponseWithConnection_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "NETSUITE"
          },
          "classes": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "platform_id": "12345678",
              "parent_id": "00000000-0000-0000-0000-000000000000",
              "has_children": false,
              "name": "Generic Spend",
              "status": "active",
              "created_at": "2023-01-02T02:34:56.000Z",
              "updated_at": "2023-01-02T02:34:56.000Z",
              "last_synced_at": "2023-01-02T02:34:56.000Z",
              "platform_data": {
                "id": 123,
                "data": "Varies by platform"
              }
            }
          ],
          "next_cursor": "MTY3NDgzMTk0Ml82MDY4ZDI0ZC02NGRmLTRmN2EtYTM0Ny0zN2ZmNjY5MGVmMjU="
        }
      },
      "CompanyInfo_2023_03_14_Example": {
        "value": {
          "id": "00000000-0000-0000-0000-000000000000",
          "platform_id": "12345678",
          "currency_code": "USD",
          "name": "Rutter API",
          "addresses": [
            "123 Rutter Road, San Francisco, CA 94110"
          ],
          "legal_name": "RutterAPI Inc.",
          "created_at": "2023-01-02T02:34:56.000Z",
          "updated_at": "2023-01-02T02:34:56.000Z",
          "last_synced_at": "2023-01-02T02:34:56.000Z",
          "platform_data": {
            "id": 123,
            "data": "Varies by platform"
          }
        }
      },
      "CompanyInfo_2023_03_14ResponseWithConnection_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "NETSUITE"
          },
          "company_info": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "currency_code": "USD",
            "name": "Rutter API",
            "addresses": [
              "123 Rutter Road, San Francisco, CA 94110"
            ],
            "legal_name": "RutterAPI Inc.",
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z",
            "last_synced_at": "2023-01-02T02:34:56.000Z",
            "platform_data": {
              "id": 123,
              "data": "Varies by platform"
            }
          }
        }
      },
      "Currency_Example": {
        "value": {
          "id": "00000000-0000-0000-0000-000000000000",
          "currency_code": "USD",
          "currency_name": "USD",
          "updated_at": "2023-01-02T02:34:56.000Z",
          "last_synced_at": "2023-01-02T02:34:56.000Z"
        }
      },
      "ListCurrencyResponseWithConnection_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "NETSUITE"
          },
          "currencies": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "currency_code": "USD",
              "currency_name": "USD",
              "updated_at": "2023-01-02T02:34:56.000Z",
              "last_synced_at": "2023-01-02T02:34:56.000Z"
            }
          ],
          "next_cursor": "MTY3NDgzMTk0Ml82MDY4ZDI0ZC02NGRmLTRmN2EtYTM0Ny0zN2ZmNjY5MGVmMjU="
        }
      },
      "AccountingCustomer_2023_02_07_Example": {
        "value": {
          "id": "00000000-0000-0000-0000-000000000000",
          "platform_id": "12345678",
          "subsidiary_id": "00000000-0000-0000-0000-000000000000",
          "status": "ACTIVE",
          "contact_name": "Eric Yu",
          "currency_code": "USD",
          "customer_name": "Rutter API",
          "email": "eric@rutter.com",
          "phone": "1234567890",
          "registration_number": "123456789",
          "tax_number": "12-3456789",
          "addresses": [
            {
              "type": "billing",
              "address1": "123 Rutter Road",
              "address2": "Floor 4",
              "city": "San Francisco",
              "country": "US",
              "postal_code": "94110",
              "region": "CA"
            }
          ],
          "updated_at": "2023-01-02T02:34:56.000Z",
          "last_synced_at": "2023-01-02T02:34:56.000Z",
          "platform_data": {
            "id": 123,
            "data": "Varies by platform"
          }
        }
      },
      "ListAccountingCustomer_2023_02_07ResponseWithConnection_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "NETSUITE"
          },
          "customers": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "platform_id": "12345678",
              "subsidiary_id": "00000000-0000-0000-0000-000000000000",
              "status": "ACTIVE",
              "contact_name": "Eric Yu",
              "currency_code": "USD",
              "customer_name": "Rutter API",
              "email": "eric@rutter.com",
              "phone": "1234567890",
              "registration_number": "123456789",
              "tax_number": "12-3456789",
              "addresses": [
                {
                  "type": "billing",
                  "address1": "123 Rutter Road",
                  "address2": "Floor 4",
                  "city": "San Francisco",
                  "country": "US",
                  "postal_code": "94110",
                  "region": "CA"
                }
              ],
              "updated_at": "2023-01-02T02:34:56.000Z",
              "last_synced_at": "2023-01-02T02:34:56.000Z",
              "platform_data": {
                "id": 123,
                "data": "Varies by platform"
              }
            }
          ],
          "next_cursor": "MTY3NDgzMTk0Ml82MDY4ZDI0ZC02NGRmLTRmN2EtYTM0Ny0zN2ZmNjY5MGVmMjU="
        }
      },
      "CreateAccountingCustomer_Example": {
        "value": {
          "contact_name": "Eric Yu",
          "customer_name": "Rutter",
          "email": "eric@rutter.com",
          "phone": "1234567890",
          "addresses": [
            {
              "type": "billing",
              "address1": "123 Rutter Road",
              "address2": "Floor 4",
              "city": "San Francisco",
              "country": "US",
              "postal_code": "94110",
              "region": "CA"
            }
          ]
        }
      },
      "CreateCreateAccountingCustomerRequest_Example": {
        "value": {
          "customer": {
            "contact_name": "Eric Yu",
            "customer_name": "Rutter",
            "email": "eric@rutter.com",
            "phone": "1234567890",
            "addresses": [
              {
                "type": "billing",
                "address1": "123 Rutter Road",
                "address2": "Floor 4",
                "city": "San Francisco",
                "country": "US",
                "postal_code": "94110",
                "region": "CA"
              }
            ]
          }
        }
      },
      "AccountingCustomer_2023_02_07Response_Example": {
        "value": {
          "customer": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "subsidiary_id": "00000000-0000-0000-0000-000000000000",
            "status": "ACTIVE",
            "contact_name": "Eric Yu",
            "currency_code": "USD",
            "customer_name": "Rutter API",
            "email": "eric@rutter.com",
            "phone": "1234567890",
            "registration_number": "123456789",
            "tax_number": "12-3456789",
            "addresses": [
              {
                "type": "billing",
                "address1": "123 Rutter Road",
                "address2": "Floor 4",
                "city": "San Francisco",
                "country": "US",
                "postal_code": "94110",
                "region": "CA"
              }
            ],
            "updated_at": "2023-01-02T02:34:56.000Z",
            "last_synced_at": "2023-01-02T02:34:56.000Z",
            "platform_data": {
              "id": 123,
              "data": "Varies by platform"
            }
          }
        }
      },
      "CreateAccountingCustomer_2023_02_07Response_Example": {
        "value": {
          "customer": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "subsidiary_id": "00000000-0000-0000-0000-000000000000",
            "status": "ACTIVE",
            "contact_name": "Eric Yu",
            "currency_code": "USD",
            "customer_name": "Rutter API",
            "email": "eric@rutter.com",
            "phone": "1234567890",
            "registration_number": "123456789",
            "tax_number": "12-3456789",
            "addresses": [
              {
                "type": "billing",
                "address1": "123 Rutter Road",
                "address2": "Floor 4",
                "city": "San Francisco",
                "country": "US",
                "postal_code": "94110",
                "region": "CA"
              }
            ],
            "updated_at": "2023-01-02T02:34:56.000Z",
            "last_synced_at": "2023-01-02T02:34:56.000Z",
            "platform_data": {
              "id": 123,
              "data": "Varies by platform"
            }
          }
        }
      },
      "AccountingCustomer_2023_02_07ResponseWithConnection_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "NETSUITE"
          },
          "customer": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "subsidiary_id": "00000000-0000-0000-0000-000000000000",
            "status": "ACTIVE",
            "contact_name": "Eric Yu",
            "currency_code": "USD",
            "customer_name": "Rutter API",
            "email": "eric@rutter.com",
            "phone": "1234567890",
            "registration_number": "123456789",
            "tax_number": "12-3456789",
            "addresses": [
              {
                "type": "billing",
                "address1": "123 Rutter Road",
                "address2": "Floor 4",
                "city": "San Francisco",
                "country": "US",
                "postal_code": "94110",
                "region": "CA"
              }
            ],
            "updated_at": "2023-01-02T02:34:56.000Z",
            "last_synced_at": "2023-01-02T02:34:56.000Z",
            "platform_data": {
              "id": 123,
              "data": "Varies by platform"
            }
          }
        }
      },
      "Department_Example": {
        "value": {
          "id": "00000000-0000-0000-0000-000000000000",
          "platform_id": "12345678",
          "parent_id": "00000000-0000-0000-0000-000000000000",
          "has_children": false,
          "name": "Engineering",
          "status": "active",
          "created_at": "2023-01-02T02:34:56.000Z",
          "updated_at": "2023-01-02T02:34:56.000Z",
          "last_synced_at": "2023-01-02T02:34:56.000Z",
          "platform_data": {
            "id": 123,
            "data": "Varies by platform"
          }
        }
      },
      "ListDepartmentResponse_Example": {
        "value": {
          "departments": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "platform_id": "12345678",
              "parent_id": "00000000-0000-0000-0000-000000000000",
              "has_children": false,
              "name": "Engineering",
              "status": "active",
              "created_at": "2023-01-02T02:34:56.000Z",
              "updated_at": "2023-01-02T02:34:56.000Z",
              "last_synced_at": "2023-01-02T02:34:56.000Z",
              "platform_data": {
                "id": 123,
                "data": "Varies by platform"
              }
            }
          ],
          "next_cursor": "MTY3NDgzMTk0Ml82MDY4ZDI0ZC02NGRmLTRmN2EtYTM0Ny0zN2ZmNjY5MGVmMjU="
        }
      },
      "Expense_Example": {
        "value": {
          "id": "00000000-0000-0000-0000-000000000000",
          "platform_id": "12345678",
          "account_id": "00000000-0000-0000-0000-000000000000",
          "subsidiary_id": "00000000-0000-0000-0000-000000000000",
          "vendor_id": "00000000-0000-0000-0000-000000000000",
          "transaction_date": "2023-01-02T02:34:56.000Z",
          "currency_code": "USD",
          "expense_type": "expense",
          "memo": "For a Rutter shirt.",
          "line_items": [
            {
              "account_id": "00000000-0000-0000-0000-000000000000",
              "class_id": "00000000-0000-0000-0000-000000000000",
              "customer_id": "00000000-0000-0000-0000-000000000000",
              "department_id": "00000000-0000-0000-0000-000000000000",
              "location_id": "00000000-0000-0000-0000-000000000000",
              "tax_rate_id": "00000000-0000-0000-0000-000000000000",
              "total_amount": 12.34,
              "description": "Rutter shirt"
            }
          ],
          "created_at": "2023-01-02T02:34:56.000Z",
          "updated_at": "2023-01-02T02:34:56.000Z",
          "last_synced_at": "2023-01-02T02:34:56.000Z",
          "platform_data": {
            "id": 123,
            "data": "Varies by platform"
          }
        }
      },
      "ListExpenseResponseWithConnection_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "NETSUITE"
          },
          "expenses": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "platform_id": "12345678",
              "account_id": "00000000-0000-0000-0000-000000000000",
              "subsidiary_id": "00000000-0000-0000-0000-000000000000",
              "vendor_id": "00000000-0000-0000-0000-000000000000",
              "transaction_date": "2023-01-02T02:34:56.000Z",
              "currency_code": "USD",
              "expense_type": "expense",
              "memo": "For a Rutter shirt.",
              "line_items": [
                {
                  "account_id": "00000000-0000-0000-0000-000000000000",
                  "class_id": "00000000-0000-0000-0000-000000000000",
                  "customer_id": "00000000-0000-0000-0000-000000000000",
                  "department_id": "00000000-0000-0000-0000-000000000000",
                  "location_id": "00000000-0000-0000-0000-000000000000",
                  "tax_rate_id": "00000000-0000-0000-0000-000000000000",
                  "total_amount": 12.34,
                  "description": "Rutter shirt"
                }
              ],
              "created_at": "2023-01-02T02:34:56.000Z",
              "updated_at": "2023-01-02T02:34:56.000Z",
              "last_synced_at": "2023-01-02T02:34:56.000Z",
              "platform_data": {
                "id": 123,
                "data": "Varies by platform"
              }
            }
          ],
          "next_cursor": "MTY3NDgzMTk0Ml82MDY4ZDI0ZC02NGRmLTRmN2EtYTM0Ny0zN2ZmNjY5MGVmMjU="
        }
      },
      "CreateExpense_Example": {
        "value": {
          "account_id": "00000000-0000-0000-0000-000000000000",
          "subsidiary_id": "00000000-0000-0000-0000-000000000000",
          "vendor_id": "00000000-0000-0000-0000-000000000000",
          "transaction_date": "2023-01-02T02:34:56.000Z",
          "currency_code": "USD",
          "expense_type": "expense",
          "currency_rate": 1,
          "memo": "For a Rutter shirt.",
          "line_items": [
            {
              "account_id": "00000000-0000-0000-0000-000000000000",
              "class_id": "00000000-0000-0000-0000-000000000000",
              "customer_id": "00000000-0000-0000-0000-000000000000",
              "department_id": "00000000-0000-0000-0000-000000000000",
              "location_id": "00000000-0000-0000-0000-000000000000",
              "total_amount": 12.34,
              "description": "For a Rutter shirt."
            }
          ]
        }
      },
      "CreateCreateExpenseRequest_Example": {
        "value": {
          "expense": {
            "account_id": "00000000-0000-0000-0000-000000000000",
            "subsidiary_id": "00000000-0000-0000-0000-000000000000",
            "vendor_id": "00000000-0000-0000-0000-000000000000",
            "transaction_date": "2023-01-02T02:34:56.000Z",
            "currency_code": "USD",
            "expense_type": "expense",
            "currency_rate": 1,
            "memo": "For a Rutter shirt.",
            "line_items": [
              {
                "account_id": "00000000-0000-0000-0000-000000000000",
                "class_id": "00000000-0000-0000-0000-000000000000",
                "customer_id": "00000000-0000-0000-0000-000000000000",
                "department_id": "00000000-0000-0000-0000-000000000000",
                "location_id": "00000000-0000-0000-0000-000000000000",
                "total_amount": 12.34,
                "description": "For a Rutter shirt."
              }
            ]
          }
        }
      },
      "ExpenseResponse_Example": {
        "value": {
          "expense": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "account_id": "00000000-0000-0000-0000-000000000000",
            "subsidiary_id": "00000000-0000-0000-0000-000000000000",
            "vendor_id": "00000000-0000-0000-0000-000000000000",
            "transaction_date": "2023-01-02T02:34:56.000Z",
            "currency_code": "USD",
            "expense_type": "expense",
            "memo": "For a Rutter shirt.",
            "line_items": [
              {
                "account_id": "00000000-0000-0000-0000-000000000000",
                "class_id": "00000000-0000-0000-0000-000000000000",
                "customer_id": "00000000-0000-0000-0000-000000000000",
                "department_id": "00000000-0000-0000-0000-000000000000",
                "location_id": "00000000-0000-0000-0000-000000000000",
                "tax_rate_id": "00000000-0000-0000-0000-000000000000",
                "total_amount": 12.34,
                "description": "Rutter shirt"
              }
            ],
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z",
            "last_synced_at": "2023-01-02T02:34:56.000Z",
            "platform_data": {
              "id": 123,
              "data": "Varies by platform"
            }
          }
        }
      },
      "CreateExpenseResponse_Example": {
        "value": {
          "expense": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "account_id": "00000000-0000-0000-0000-000000000000",
            "subsidiary_id": "00000000-0000-0000-0000-000000000000",
            "vendor_id": "00000000-0000-0000-0000-000000000000",
            "transaction_date": "2023-01-02T02:34:56.000Z",
            "currency_code": "USD",
            "expense_type": "expense",
            "memo": "For a Rutter shirt.",
            "line_items": [
              {
                "account_id": "00000000-0000-0000-0000-000000000000",
                "class_id": "00000000-0000-0000-0000-000000000000",
                "customer_id": "00000000-0000-0000-0000-000000000000",
                "department_id": "00000000-0000-0000-0000-000000000000",
                "location_id": "00000000-0000-0000-0000-000000000000",
                "tax_rate_id": "00000000-0000-0000-0000-000000000000",
                "total_amount": 12.34,
                "description": "Rutter shirt"
              }
            ],
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z",
            "last_synced_at": "2023-01-02T02:34:56.000Z",
            "platform_data": {
              "id": 123,
              "data": "Varies by platform"
            }
          }
        }
      },
      "ExpenseResponseWithConnection_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "NETSUITE"
          },
          "expense": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "account_id": "00000000-0000-0000-0000-000000000000",
            "subsidiary_id": "00000000-0000-0000-0000-000000000000",
            "vendor_id": "00000000-0000-0000-0000-000000000000",
            "transaction_date": "2023-01-02T02:34:56.000Z",
            "currency_code": "USD",
            "expense_type": "expense",
            "memo": "For a Rutter shirt.",
            "line_items": [
              {
                "account_id": "00000000-0000-0000-0000-000000000000",
                "class_id": "00000000-0000-0000-0000-000000000000",
                "customer_id": "00000000-0000-0000-0000-000000000000",
                "department_id": "00000000-0000-0000-0000-000000000000",
                "location_id": "00000000-0000-0000-0000-000000000000",
                "tax_rate_id": "00000000-0000-0000-0000-000000000000",
                "total_amount": 12.34,
                "description": "Rutter shirt"
              }
            ],
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z",
            "last_synced_at": "2023-01-02T02:34:56.000Z",
            "platform_data": {
              "id": 123,
              "data": "Varies by platform"
            }
          }
        }
      },
      "UpdateExpenseBody_Example": {
        "value": {
          "account_id": "00000000-0000-0000-0000-000000000000"
        }
      },
      "CreateUpdateExpenseBodyRequest_Example": {
        "value": {
          "expense": {
            "account_id": "00000000-0000-0000-0000-000000000000"
          }
        }
      },
      "UpdateExpenseResponse_Example": {
        "value": {
          "id": "00000000-0000-0000-0000-000000000000",
          "platform_id": "12345678",
          "account_id": "00000000-0000-0000-0000-000000000000",
          "subsidiary_id": "00000000-0000-0000-0000-000000000000",
          "vendor_id": "00000000-0000-0000-0000-000000000000",
          "transaction_date": "2023-01-02T02:34:56.000Z",
          "currency_code": "USD",
          "expense_type": "expense",
          "memo": "For a Rutter shirt.",
          "line_items": [
            {
              "account_id": "00000000-0000-0000-0000-000000000000",
              "class_id": "00000000-0000-0000-0000-000000000000",
              "customer_id": "00000000-0000-0000-0000-000000000000",
              "department_id": "00000000-0000-0000-0000-000000000000",
              "location_id": "00000000-0000-0000-0000-000000000000",
              "tax_rate_id": "00000000-0000-0000-0000-000000000000",
              "total_amount": 12.34,
              "description": "Rutter shirt"
            }
          ],
          "created_at": "2023-01-02T02:34:56.000Z",
          "updated_at": "2023-01-02T02:34:56.000Z",
          "last_synced_at": "2023-01-02T02:34:56.000Z",
          "platform_data": {
            "id": 123,
            "data": "Varies by platform"
          }
        }
      },
      "UpdateExpenseResponseResponse_Example": {
        "value": {
          "expense": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "account_id": "00000000-0000-0000-0000-000000000000",
            "subsidiary_id": "00000000-0000-0000-0000-000000000000",
            "vendor_id": "00000000-0000-0000-0000-000000000000",
            "transaction_date": "2023-01-02T02:34:56.000Z",
            "currency_code": "USD",
            "expense_type": "expense",
            "memo": "For a Rutter shirt.",
            "line_items": [
              {
                "account_id": "00000000-0000-0000-0000-000000000000",
                "class_id": "00000000-0000-0000-0000-000000000000",
                "customer_id": "00000000-0000-0000-0000-000000000000",
                "department_id": "00000000-0000-0000-0000-000000000000",
                "location_id": "00000000-0000-0000-0000-000000000000",
                "tax_rate_id": "00000000-0000-0000-0000-000000000000",
                "total_amount": 12.34,
                "description": "Rutter shirt"
              }
            ],
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z",
            "last_synced_at": "2023-01-02T02:34:56.000Z",
            "platform_data": {
              "id": 123,
              "data": "Varies by platform"
            }
          }
        }
      },
      "CreateUpdateExpenseResponseResponse_Example": {
        "value": {
          "expense": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "account_id": "00000000-0000-0000-0000-000000000000",
            "subsidiary_id": "00000000-0000-0000-0000-000000000000",
            "vendor_id": "00000000-0000-0000-0000-000000000000",
            "transaction_date": "2023-01-02T02:34:56.000Z",
            "currency_code": "USD",
            "expense_type": "expense",
            "memo": "For a Rutter shirt.",
            "line_items": [
              {
                "account_id": "00000000-0000-0000-0000-000000000000",
                "class_id": "00000000-0000-0000-0000-000000000000",
                "customer_id": "00000000-0000-0000-0000-000000000000",
                "department_id": "00000000-0000-0000-0000-000000000000",
                "location_id": "00000000-0000-0000-0000-000000000000",
                "tax_rate_id": "00000000-0000-0000-0000-000000000000",
                "total_amount": 12.34,
                "description": "Rutter shirt"
              }
            ],
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z",
            "last_synced_at": "2023-01-02T02:34:56.000Z",
            "platform_data": {
              "id": 123,
              "data": "Varies by platform"
            }
          }
        }
      },
      "DeleteExpense_2023_02_07_Example": {
        "value": {
          "code": "deleted",
          "success": true
        }
      },
      "DeleteExpense_2023_02_07Response_Example": {
        "value": {
          "deleted_expense": {
            "code": "deleted",
            "success": true
          }
        }
      },
      "ExpenseAttachmentsResponse_Example": {
        "value": {
          "attachments": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "platform_id": "12345678",
              "attached_to_id": "00000000-0000-0000-0000-000000000000",
              "file_name": "attachment.pdf",
              "file_url": "/accounting/expenses/00000000-0000-0000-0000-000000000000/attachments/00000000-0000-0000-0000-000000000000/file",
              "attached_to_type": "EXPENSE",
              "created_at": "2023-01-02T02:34:56.000Z"
            }
          ]
        }
      },
      "IncomeStatement_Example": {
        "value": {
          "id": "00000000-0000-0000-0000-000000000000",
          "start_date": "2022-04-01T00:00:00.000Z",
          "end_date": "2022-04-30T00:00:00.000Z",
          "accounting_standard": "accrual",
          "currency_code": "USD",
          "gross_profit": "1750.16",
          "net_income": "110.16",
          "total_cost_of_sales": "250",
          "total_expenses": "1640",
          "total_income": "2000.16",
          "net_operating_income": "110.16",
          "expenses": {
            "account_id": "1",
            "name": "Expense",
            "value": "1640.00",
            "items": [
              {
                "account_id": "005",
                "name": "6576 Payroll Tax (G&A)",
                "value": "1640.00",
                "items": [
                  {
                    "account_id": "005",
                    "name": "6576 Payroll Tax (G&A)",
                    "value": "137.60",
                    "items": []
                  },
                  {
                    "account_id": "005",
                    "name": "6576 Payroll Tax (G&A)",
                    "value": "1502.40",
                    "items": []
                  }
                ]
              }
            ]
          },
          "income": {
            "account_id": "1",
            "name": "Income",
            "value": "2000.16",
            "items": [
              {
                "account_id": "001",
                "name": "4000 Direct Consumer",
                "value": "2000.16",
                "items": [
                  {
                    "account_id": "001",
                    "name": "4000 Direct Consumer",
                    "value": "297.08",
                    "items": []
                  },
                  {
                    "account_id": "001",
                    "name": "4000 Direct Consumer",
                    "value": "1703.08",
                    "items": []
                  }
                ]
              }
            ]
          },
          "cost_of_sales": {
            "account_id": "1",
            "name": "Cost of Sales",
            "value": "250.00",
            "items": [
              {
                "account_id": "005",
                "name": "Cost of Goods Sold",
                "value": "250.00",
                "items": [
                  {
                    "account_id": "014",
                    "name": "Freight Spend",
                    "value": "250.00",
                    "items": []
                  }
                ]
              }
            ]
          },
          "created_at": "2022-01-01T08:00:00.000Z",
          "updated_at": "2022-01-09T08:00:00.000Z",
          "platform_data": {
            "id": 123,
            "data": "Varies by platform"
          }
        }
      },
      "ListIncomeStatementResponseWithConnection_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "NETSUITE"
          },
          "income_statements": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "start_date": "2022-04-01T00:00:00.000Z",
              "end_date": "2022-04-30T00:00:00.000Z",
              "accounting_standard": "accrual",
              "currency_code": "USD",
              "gross_profit": "1750.16",
              "net_income": "110.16",
              "total_cost_of_sales": "250",
              "total_expenses": "1640",
              "total_income": "2000.16",
              "net_operating_income": "110.16",
              "expenses": {
                "account_id": "1",
                "name": "Expense",
                "value": "1640.00",
                "items": [
                  {
                    "account_id": "005",
                    "name": "6576 Payroll Tax (G&A)",
                    "value": "1640.00",
                    "items": [
                      {
                        "account_id": "005",
                        "name": "6576 Payroll Tax (G&A)",
                        "value": "137.60",
                        "items": []
                      },
                      {
                        "account_id": "005",
                        "name": "6576 Payroll Tax (G&A)",
                        "value": "1502.40",
                        "items": []
                      }
                    ]
                  }
                ]
              },
              "income": {
                "account_id": "1",
                "name": "Income",
                "value": "2000.16",
                "items": [
                  {
                    "account_id": "001",
                    "name": "4000 Direct Consumer",
                    "value": "2000.16",
                    "items": [
                      {
                        "account_id": "001",
                        "name": "4000 Direct Consumer",
                        "value": "297.08",
                        "items": []
                      },
                      {
                        "account_id": "001",
                        "name": "4000 Direct Consumer",
                        "value": "1703.08",
                        "items": []
                      }
                    ]
                  }
                ]
              },
              "cost_of_sales": {
                "account_id": "1",
                "name": "Cost of Sales",
                "value": "250.00",
                "items": [
                  {
                    "account_id": "005",
                    "name": "Cost of Goods Sold",
                    "value": "250.00",
                    "items": [
                      {
                        "account_id": "014",
                        "name": "Freight Spend",
                        "value": "250.00",
                        "items": []
                      }
                    ]
                  }
                ]
              },
              "created_at": "2022-01-01T08:00:00.000Z",
              "updated_at": "2022-01-09T08:00:00.000Z",
              "platform_data": {
                "id": 123,
                "data": "Varies by platform"
              }
            }
          ],
          "next_cursor": "MTY3NDgzMTk0Ml82MDY4ZDI0ZC02NGRmLTRmN2EtYTM0Ny0zN2ZmNjY5MGVmMjU="
        }
      },
      "CreateInvoiceCreditApplication_Example": {
        "value": {
          "account_id": "00000000-0000-0000-0000-000000000000",
          "customer_id": "00000000-0000-0000-0000-000000000000",
          "invoice_credit_memo_id": "00000000-0000-0000-0000-000000000000",
          "transaction_date": "2023-01-02T02:34:56.000Z",
          "currency_code": "USD",
          "memo": "Applying vendor credit for the invoice.",
          "linked_invoices": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "allocated_amount": 12.34
            }
          ]
        }
      },
      "CreateCreateInvoiceCreditApplicationRequest_Example": {
        "value": {
          "invoice_credit_application": {
            "account_id": "00000000-0000-0000-0000-000000000000",
            "customer_id": "00000000-0000-0000-0000-000000000000",
            "invoice_credit_memo_id": "00000000-0000-0000-0000-000000000000",
            "transaction_date": "2023-01-02T02:34:56.000Z",
            "currency_code": "USD",
            "memo": "Applying vendor credit for the invoice.",
            "linked_invoices": [
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "allocated_amount": 12.34
              }
            ]
          }
        }
      },
      "InvoiceCreditApplication_Example": {
        "value": {
          "success": true
        }
      },
      "InvoiceCreditApplicationResponse_Example": {
        "value": {
          "invoice_credit_application": {
            "success": true
          }
        }
      },
      "CreateInvoiceCreditApplicationResponse_Example": {
        "value": {
          "invoice_credit_application": {
            "success": true
          }
        }
      },
      "InvoiceCreditMemo_2023_02_07_Example": {
        "value": {
          "id": "00000000-0000-0000-0000-000000000000",
          "platform_id": "12345678",
          "account_id": "00000000-0000-0000-0000-000000000000",
          "customer_id": "00000000-0000-0000-0000-000000000000",
          "allocated_at": "2023-01-02T02:34:56.000Z",
          "issue_date": "2023-01-02T02:34:56.000Z",
          "currency_code": "USD",
          "document_number": "CUSTCRED-1",
          "memo": "Discount for future Rutter shirts.",
          "status": "APPLIED",
          "remaining_amount": "0",
          "total_amount": "3",
          "linked_invoices": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "allocated_amount": "3"
            }
          ],
          "line_items": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "platform_id": "12345678",
              "account_id": "00000000-0000-0000-0000-000000000000",
              "class_id": "00000000-0000-0000-0000-000000000000",
              "item_id": "00000000-0000-0000-0000-000000000000",
              "tax_rate_id": "00000000-0000-0000-0000-000000000000",
              "description": "A Rutter shirt.",
              "quantity": 1,
              "amount": "14.34",
              "discount_amount": "0",
              "discount_percentage": "0",
              "sub_total": "12.34",
              "tax_amount": "2",
              "unit_amount": "12.34"
            }
          ],
          "created_at": "2023-01-02T02:34:56.000Z",
          "updated_at": "2023-01-02T02:34:56.000Z",
          "last_synced_at": "2023-01-02T02:34:56.000Z",
          "platform_data": {
            "id": 123,
            "data": "Varies by platform"
          }
        }
      },
      "ListInvoiceCreditMemo_2023_02_07ResponseWithConnection_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "NETSUITE"
          },
          "invoice_credit_memos": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "platform_id": "12345678",
              "account_id": "00000000-0000-0000-0000-000000000000",
              "customer_id": "00000000-0000-0000-0000-000000000000",
              "allocated_at": "2023-01-02T02:34:56.000Z",
              "issue_date": "2023-01-02T02:34:56.000Z",
              "currency_code": "USD",
              "document_number": "CUSTCRED-1",
              "memo": "Discount for future Rutter shirts.",
              "status": "APPLIED",
              "remaining_amount": "0",
              "total_amount": "3",
              "linked_invoices": [
                {
                  "id": "00000000-0000-0000-0000-000000000000",
                  "allocated_amount": "3"
                }
              ],
              "line_items": [
                {
                  "id": "00000000-0000-0000-0000-000000000000",
                  "platform_id": "12345678",
                  "account_id": "00000000-0000-0000-0000-000000000000",
                  "class_id": "00000000-0000-0000-0000-000000000000",
                  "item_id": "00000000-0000-0000-0000-000000000000",
                  "tax_rate_id": "00000000-0000-0000-0000-000000000000",
                  "description": "A Rutter shirt.",
                  "quantity": 1,
                  "amount": "14.34",
                  "discount_amount": "0",
                  "discount_percentage": "0",
                  "sub_total": "12.34",
                  "tax_amount": "2",
                  "unit_amount": "12.34"
                }
              ],
              "created_at": "2023-01-02T02:34:56.000Z",
              "updated_at": "2023-01-02T02:34:56.000Z",
              "last_synced_at": "2023-01-02T02:34:56.000Z",
              "platform_data": {
                "id": 123,
                "data": "Varies by platform"
              }
            }
          ],
          "next_cursor": "MTY3NDgzMTk0Ml82MDY4ZDI0ZC02NGRmLTRmN2EtYTM0Ny0zN2ZmNjY5MGVmMjU="
        }
      },
      "CreateInvoiceCreditMemo_Example": {
        "value": {
          "account_id": "00000000-0000-0000-0000-000000000000",
          "customer_id": "00000000-0000-0000-0000-000000000000",
          "issue_date": "2023-01-02T02:34:56.000Z",
          "currency_code": "USD",
          "line_items": [
            {
              "account_id": "00000000-0000-0000-0000-000000000000",
              "description": "Discount for future Rutter shirts.",
              "total_amount": "3",
              "item": {
                "id": "00000000-0000-0000-0000-000000000000",
                "quantity": 1,
                "unit_amount": "3"
              }
            }
          ]
        }
      },
      "CreateCreateInvoiceCreditMemoRequest_Example": {
        "value": {
          "invoice_credit_memo": {
            "account_id": "00000000-0000-0000-0000-000000000000",
            "customer_id": "00000000-0000-0000-0000-000000000000",
            "issue_date": "2023-01-02T02:34:56.000Z",
            "currency_code": "USD",
            "line_items": [
              {
                "account_id": "00000000-0000-0000-0000-000000000000",
                "description": "Discount for future Rutter shirts.",
                "total_amount": "3",
                "item": {
                  "id": "00000000-0000-0000-0000-000000000000",
                  "quantity": 1,
                  "unit_amount": "3"
                }
              }
            ]
          }
        }
      },
      "InvoiceCreditMemo_2023_02_07Response_Example": {
        "value": {
          "invoice_credit_memo": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "account_id": "00000000-0000-0000-0000-000000000000",
            "customer_id": "00000000-0000-0000-0000-000000000000",
            "allocated_at": "2023-01-02T02:34:56.000Z",
            "issue_date": "2023-01-02T02:34:56.000Z",
            "currency_code": "USD",
            "document_number": "CUSTCRED-1",
            "memo": "Discount for future Rutter shirts.",
            "status": "APPLIED",
            "remaining_amount": "0",
            "total_amount": "3",
            "linked_invoices": [
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "allocated_amount": "3"
              }
            ],
            "line_items": [
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "platform_id": "12345678",
                "account_id": "00000000-0000-0000-0000-000000000000",
                "class_id": "00000000-0000-0000-0000-000000000000",
                "item_id": "00000000-0000-0000-0000-000000000000",
                "tax_rate_id": "00000000-0000-0000-0000-000000000000",
                "description": "A Rutter shirt.",
                "quantity": 1,
                "amount": "14.34",
                "discount_amount": "0",
                "discount_percentage": "0",
                "sub_total": "12.34",
                "tax_amount": "2",
                "unit_amount": "12.34"
              }
            ],
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z",
            "last_synced_at": "2023-01-02T02:34:56.000Z",
            "platform_data": {
              "id": 123,
              "data": "Varies by platform"
            }
          }
        }
      },
      "CreateInvoiceCreditMemo_2023_02_07Response_Example": {
        "value": {
          "invoice_credit_memo": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "account_id": "00000000-0000-0000-0000-000000000000",
            "customer_id": "00000000-0000-0000-0000-000000000000",
            "allocated_at": "2023-01-02T02:34:56.000Z",
            "issue_date": "2023-01-02T02:34:56.000Z",
            "currency_code": "USD",
            "document_number": "CUSTCRED-1",
            "memo": "Discount for future Rutter shirts.",
            "status": "APPLIED",
            "remaining_amount": "0",
            "total_amount": "3",
            "linked_invoices": [
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "allocated_amount": "3"
              }
            ],
            "line_items": [
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "platform_id": "12345678",
                "account_id": "00000000-0000-0000-0000-000000000000",
                "class_id": "00000000-0000-0000-0000-000000000000",
                "item_id": "00000000-0000-0000-0000-000000000000",
                "tax_rate_id": "00000000-0000-0000-0000-000000000000",
                "description": "A Rutter shirt.",
                "quantity": 1,
                "amount": "14.34",
                "discount_amount": "0",
                "discount_percentage": "0",
                "sub_total": "12.34",
                "tax_amount": "2",
                "unit_amount": "12.34"
              }
            ],
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z",
            "last_synced_at": "2023-01-02T02:34:56.000Z",
            "platform_data": {
              "id": 123,
              "data": "Varies by platform"
            }
          }
        }
      },
      "InvoiceCreditMemo_2023_02_07ResponseWithConnection_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "NETSUITE"
          },
          "invoice_credit_memo": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "account_id": "00000000-0000-0000-0000-000000000000",
            "customer_id": "00000000-0000-0000-0000-000000000000",
            "allocated_at": "2023-01-02T02:34:56.000Z",
            "issue_date": "2023-01-02T02:34:56.000Z",
            "currency_code": "USD",
            "document_number": "CUSTCRED-1",
            "memo": "Discount for future Rutter shirts.",
            "status": "APPLIED",
            "remaining_amount": "0",
            "total_amount": "3",
            "linked_invoices": [
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "allocated_amount": "3"
              }
            ],
            "line_items": [
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "platform_id": "12345678",
                "account_id": "00000000-0000-0000-0000-000000000000",
                "class_id": "00000000-0000-0000-0000-000000000000",
                "item_id": "00000000-0000-0000-0000-000000000000",
                "tax_rate_id": "00000000-0000-0000-0000-000000000000",
                "description": "A Rutter shirt.",
                "quantity": 1,
                "amount": "14.34",
                "discount_amount": "0",
                "discount_percentage": "0",
                "sub_total": "12.34",
                "tax_amount": "2",
                "unit_amount": "12.34"
              }
            ],
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z",
            "last_synced_at": "2023-01-02T02:34:56.000Z",
            "platform_data": {
              "id": 123,
              "data": "Varies by platform"
            }
          }
        }
      },
      "DeleteInvoiceCreditMemo_2023_02_07_Example": {
        "value": {
          "code": "deleted",
          "success": true
        }
      },
      "DeleteInvoiceCreditMemo_2023_02_07Response_Example": {
        "value": {
          "deleted_invoice_credit_memo": {
            "code": "deleted",
            "success": true
          }
        }
      },
      "CreateDeleteInvoiceCreditMemo_2023_02_07Response_Example": {
        "value": {
          "deleted_invoice_credit_memo": {
            "code": "deleted",
            "success": true
          }
        }
      },
      "InvoicePayment_2023_02_07_Example": {
        "value": {
          "id": "00000000-0000-0000-0000-000000000000",
          "platform_id": "12345678",
          "account_id": "00000000-0000-0000-0000-000000000000",
          "customer_id": "00000000-0000-0000-0000-000000000000",
          "payment_method_id": "00000000-0000-0000-0000-000000000000",
          "txn_date": "2023-01-02T02:34:56.000Z",
          "currency_code": "USD",
          "deposited": true,
          "memo": "Payment for a shirt.",
          "total_amount": "2",
          "linked_invoices": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "allocated_at": "2023-01-02T02:34:56.000Z",
              "amount": "2"
            }
          ],
          "updated_at": "2023-01-02T02:34:56.000Z",
          "last_synced_at": "2023-01-02T02:34:56.000Z",
          "platform_data": {
            "id": 123,
            "data": "Varies by platform"
          }
        }
      },
      "ListInvoicePayment_2023_02_07ResponseWithConnection_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "NETSUITE"
          },
          "invoice_payments": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "platform_id": "12345678",
              "account_id": "00000000-0000-0000-0000-000000000000",
              "customer_id": "00000000-0000-0000-0000-000000000000",
              "payment_method_id": "00000000-0000-0000-0000-000000000000",
              "txn_date": "2023-01-02T02:34:56.000Z",
              "currency_code": "USD",
              "deposited": true,
              "memo": "Payment for a shirt.",
              "total_amount": "2",
              "linked_invoices": [
                {
                  "id": "00000000-0000-0000-0000-000000000000",
                  "allocated_at": "2023-01-02T02:34:56.000Z",
                  "amount": "2"
                }
              ],
              "updated_at": "2023-01-02T02:34:56.000Z",
              "last_synced_at": "2023-01-02T02:34:56.000Z",
              "platform_data": {
                "id": 123,
                "data": "Varies by platform"
              }
            }
          ],
          "next_cursor": "MTY3NDgzMTk0Ml82MDY4ZDI0ZC02NGRmLTRmN2EtYTM0Ny0zN2ZmNjY5MGVmMjU="
        }
      },
      "CreateInvoicePayment_Example": {
        "value": {
          "account_id": "00000000-0000-0000-0000-000000000000",
          "customer_id": "00000000-0000-0000-0000-000000000000",
          "payment_method_id": "00000000-0000-0000-0000-000000000000",
          "txn_date": "2023-01-02T02:34:56.000Z",
          "currency_code": "USD",
          "total_amount": 12.34,
          "memo": "Payment for a shirt.",
          "linked_invoices": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "allocated_at": "2023-01-02T02:34:56.000Z",
              "amount": 12.34
            }
          ]
        }
      },
      "CreateCreateInvoicePaymentRequest_Example": {
        "value": {
          "invoice_payment": {
            "account_id": "00000000-0000-0000-0000-000000000000",
            "customer_id": "00000000-0000-0000-0000-000000000000",
            "payment_method_id": "00000000-0000-0000-0000-000000000000",
            "txn_date": "2023-01-02T02:34:56.000Z",
            "currency_code": "USD",
            "total_amount": 12.34,
            "memo": "Payment for a shirt.",
            "linked_invoices": [
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "allocated_at": "2023-01-02T02:34:56.000Z",
                "amount": 12.34
              }
            ]
          }
        }
      },
      "InvoicePayment_2023_02_07Response_Example": {
        "value": {
          "invoice_payment": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "account_id": "00000000-0000-0000-0000-000000000000",
            "customer_id": "00000000-0000-0000-0000-000000000000",
            "payment_method_id": "00000000-0000-0000-0000-000000000000",
            "txn_date": "2023-01-02T02:34:56.000Z",
            "currency_code": "USD",
            "deposited": true,
            "memo": "Payment for a shirt.",
            "total_amount": "2",
            "linked_invoices": [
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "allocated_at": "2023-01-02T02:34:56.000Z",
                "amount": "2"
              }
            ],
            "updated_at": "2023-01-02T02:34:56.000Z",
            "last_synced_at": "2023-01-02T02:34:56.000Z",
            "platform_data": {
              "id": 123,
              "data": "Varies by platform"
            }
          }
        }
      },
      "CreateInvoicePayment_2023_02_07Response_Example": {
        "value": {
          "invoice_payment": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "account_id": "00000000-0000-0000-0000-000000000000",
            "customer_id": "00000000-0000-0000-0000-000000000000",
            "payment_method_id": "00000000-0000-0000-0000-000000000000",
            "txn_date": "2023-01-02T02:34:56.000Z",
            "currency_code": "USD",
            "deposited": true,
            "memo": "Payment for a shirt.",
            "total_amount": "2",
            "linked_invoices": [
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "allocated_at": "2023-01-02T02:34:56.000Z",
                "amount": "2"
              }
            ],
            "updated_at": "2023-01-02T02:34:56.000Z",
            "last_synced_at": "2023-01-02T02:34:56.000Z",
            "platform_data": {
              "id": 123,
              "data": "Varies by platform"
            }
          }
        }
      },
      "InvoicePayment_2023_02_07ResponseWithConnection_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "NETSUITE"
          },
          "invoice_payment": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "account_id": "00000000-0000-0000-0000-000000000000",
            "customer_id": "00000000-0000-0000-0000-000000000000",
            "payment_method_id": "00000000-0000-0000-0000-000000000000",
            "txn_date": "2023-01-02T02:34:56.000Z",
            "currency_code": "USD",
            "deposited": true,
            "memo": "Payment for a shirt.",
            "total_amount": "2",
            "linked_invoices": [
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "allocated_at": "2023-01-02T02:34:56.000Z",
                "amount": "2"
              }
            ],
            "updated_at": "2023-01-02T02:34:56.000Z",
            "last_synced_at": "2023-01-02T02:34:56.000Z",
            "platform_data": {
              "id": 123,
              "data": "Varies by platform"
            }
          }
        }
      },
      "UpdateInvoicePayment_Example": {
        "value": {
          "account_id": "00000000-0000-0000-0000-000000000000",
          "customer_id": "00000000-0000-0000-0000-000000000000",
          "txn_date": "2023-01-02T02:34:56.000Z",
          "memo": "Payment for a shirt.",
          "total_amount": 12.34,
          "linked_invoices": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "allocated_at": "2023-01-02T02:34:56.000Z",
              "amount": 12.34
            }
          ]
        }
      },
      "CreateUpdateInvoicePaymentRequest_Example": {
        "value": {
          "invoice_payment": {
            "account_id": "00000000-0000-0000-0000-000000000000",
            "customer_id": "00000000-0000-0000-0000-000000000000",
            "txn_date": "2023-01-02T02:34:56.000Z",
            "memo": "Payment for a shirt.",
            "total_amount": 12.34,
            "linked_invoices": [
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "allocated_at": "2023-01-02T02:34:56.000Z",
                "amount": 12.34
              }
            ]
          }
        }
      },
      "DeleteInvoicePayment_2023_02_07_Example": {
        "value": {
          "code": "deleted",
          "success": true
        }
      },
      "DeleteInvoicePayment_2023_02_07Response_Example": {
        "value": {
          "deleted_invoice_payment": {
            "code": "deleted",
            "success": true
          }
        }
      },
      "CreateDeleteInvoicePayment_2023_02_07Response_Example": {
        "value": {
          "deleted_invoice_payment": {
            "code": "deleted",
            "success": true
          }
        }
      },
      "Invoice_Example": {
        "value": {
          "id": "00000000-0000-0000-0000-000000000000",
          "platform_id": "12345678",
          "account_id": "00000000-0000-0000-0000-000000000000",
          "customer_id": "00000000-0000-0000-0000-000000000000",
          "subsidiary_id": "00000000-0000-0000-0000-000000000000",
          "due_date": "2023-01-02T02:34:56.000Z",
          "issue_date": "2023-01-02T02:34:56.000Z",
          "status": "partially_paid",
          "currency_code": "USD",
          "document_number": "CUSTINVC-1",
          "memo": "For a Rutter shirt.",
          "amount_due": "9.34",
          "sub_total": "12.34",
          "tax_amount": "2",
          "total_amount": "14.34",
          "total_discount": "0",
          "linked_payments": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "date": "2023-01-02T02:34:56.000Z",
              "type": "INVOICE_PAYMENT",
              "amount": "3"
            },
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "date": "2023-01-02T02:34:56.000Z",
              "type": "INVOICE_CREDIT_MEMO",
              "amount": "2"
            }
          ],
          "line_items": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "platform_id": "12345678",
              "account_id": "00000000-0000-0000-0000-000000000000",
              "class_id": "00000000-0000-0000-0000-000000000000",
              "item_id": "00000000-0000-0000-0000-000000000000",
              "tax_rate_id": "00000000-0000-0000-0000-000000000000",
              "description": "A Rutter shirt.",
              "quantity": 1,
              "amount": "14.34",
              "discount_amount": "0",
              "discount_percentage": "0",
              "sub_total": "12.34",
              "tax_amount": "2",
              "unit_amount": "12.34"
            }
          ],
          "created_at": "2023-01-02T02:34:56.000Z",
          "updated_at": "2023-01-02T02:34:56.000Z",
          "last_synced_at": "2023-01-02T02:34:56.000Z",
          "platform_data": {
            "id": 123,
            "data": "Varies by platform"
          }
        }
      },
      "ListInvoiceResponseWithConnection_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "NETSUITE"
          },
          "invoices": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "platform_id": "12345678",
              "account_id": "00000000-0000-0000-0000-000000000000",
              "customer_id": "00000000-0000-0000-0000-000000000000",
              "subsidiary_id": "00000000-0000-0000-0000-000000000000",
              "due_date": "2023-01-02T02:34:56.000Z",
              "issue_date": "2023-01-02T02:34:56.000Z",
              "status": "partially_paid",
              "currency_code": "USD",
              "document_number": "CUSTINVC-1",
              "memo": "For a Rutter shirt.",
              "amount_due": "9.34",
              "sub_total": "12.34",
              "tax_amount": "2",
              "total_amount": "14.34",
              "total_discount": "0",
              "linked_payments": [
                {
                  "id": "00000000-0000-0000-0000-000000000000",
                  "date": "2023-01-02T02:34:56.000Z",
                  "type": "INVOICE_PAYMENT",
                  "amount": "3"
                },
                {
                  "id": "00000000-0000-0000-0000-000000000000",
                  "date": "2023-01-02T02:34:56.000Z",
                  "type": "INVOICE_CREDIT_MEMO",
                  "amount": "2"
                }
              ],
              "line_items": [
                {
                  "id": "00000000-0000-0000-0000-000000000000",
                  "platform_id": "12345678",
                  "account_id": "00000000-0000-0000-0000-000000000000",
                  "class_id": "00000000-0000-0000-0000-000000000000",
                  "item_id": "00000000-0000-0000-0000-000000000000",
                  "tax_rate_id": "00000000-0000-0000-0000-000000000000",
                  "description": "A Rutter shirt.",
                  "quantity": 1,
                  "amount": "14.34",
                  "discount_amount": "0",
                  "discount_percentage": "0",
                  "sub_total": "12.34",
                  "tax_amount": "2",
                  "unit_amount": "12.34"
                }
              ],
              "created_at": "2023-01-02T02:34:56.000Z",
              "updated_at": "2023-01-02T02:34:56.000Z",
              "last_synced_at": "2023-01-02T02:34:56.000Z",
              "platform_data": {
                "id": 123,
                "data": "Varies by platform"
              }
            }
          ],
          "next_cursor": "MTY3NDgzMTk0Ml82MDY4ZDI0ZC02NGRmLTRmN2EtYTM0Ny0zN2ZmNjY5MGVmMjU="
        }
      },
      "CreateInvoice_Example": {
        "value": {
          "customer_id": "00000000-0000-0000-0000-000000000000",
          "due_date": "2023-01-02T02:34:56.000Z",
          "issue_date": "2023-01-02T02:34:56.000Z",
          "currency_code": "USD",
          "document_number": "CUSTINVC-1",
          "memo": "For a Rutter shirt.",
          "line_items": [
            {
              "total_amount": 12.34,
              "description": "A Rutter Shirt",
              "item": {
                "id": "00000000-0000-0000-0000-000000000000",
                "quantity": 1,
                "unit_amount": 12.34
              }
            }
          ]
        }
      },
      "CreateCreateInvoiceRequest_Example": {
        "value": {
          "invoice": {
            "customer_id": "00000000-0000-0000-0000-000000000000",
            "due_date": "2023-01-02T02:34:56.000Z",
            "issue_date": "2023-01-02T02:34:56.000Z",
            "currency_code": "USD",
            "document_number": "CUSTINVC-1",
            "memo": "For a Rutter shirt.",
            "line_items": [
              {
                "total_amount": 12.34,
                "description": "A Rutter Shirt",
                "item": {
                  "id": "00000000-0000-0000-0000-000000000000",
                  "quantity": 1,
                  "unit_amount": 12.34
                }
              }
            ]
          }
        }
      },
      "InvoiceResponse_Example": {
        "value": {
          "invoice": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "account_id": "00000000-0000-0000-0000-000000000000",
            "customer_id": "00000000-0000-0000-0000-000000000000",
            "subsidiary_id": "00000000-0000-0000-0000-000000000000",
            "due_date": "2023-01-02T02:34:56.000Z",
            "issue_date": "2023-01-02T02:34:56.000Z",
            "status": "partially_paid",
            "currency_code": "USD",
            "document_number": "CUSTINVC-1",
            "memo": "For a Rutter shirt.",
            "amount_due": "9.34",
            "sub_total": "12.34",
            "tax_amount": "2",
            "total_amount": "14.34",
            "total_discount": "0",
            "linked_payments": [
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "date": "2023-01-02T02:34:56.000Z",
                "type": "INVOICE_PAYMENT",
                "amount": "3"
              },
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "date": "2023-01-02T02:34:56.000Z",
                "type": "INVOICE_CREDIT_MEMO",
                "amount": "2"
              }
            ],
            "line_items": [
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "platform_id": "12345678",
                "account_id": "00000000-0000-0000-0000-000000000000",
                "class_id": "00000000-0000-0000-0000-000000000000",
                "item_id": "00000000-0000-0000-0000-000000000000",
                "tax_rate_id": "00000000-0000-0000-0000-000000000000",
                "description": "A Rutter shirt.",
                "quantity": 1,
                "amount": "14.34",
                "discount_amount": "0",
                "discount_percentage": "0",
                "sub_total": "12.34",
                "tax_amount": "2",
                "unit_amount": "12.34"
              }
            ],
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z",
            "last_synced_at": "2023-01-02T02:34:56.000Z",
            "platform_data": {
              "id": 123,
              "data": "Varies by platform"
            }
          }
        }
      },
      "CreateInvoiceResponse_Example": {
        "value": {
          "invoice": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "account_id": "00000000-0000-0000-0000-000000000000",
            "customer_id": "00000000-0000-0000-0000-000000000000",
            "subsidiary_id": "00000000-0000-0000-0000-000000000000",
            "due_date": "2023-01-02T02:34:56.000Z",
            "issue_date": "2023-01-02T02:34:56.000Z",
            "status": "partially_paid",
            "currency_code": "USD",
            "document_number": "CUSTINVC-1",
            "memo": "For a Rutter shirt.",
            "amount_due": "9.34",
            "sub_total": "12.34",
            "tax_amount": "2",
            "total_amount": "14.34",
            "total_discount": "0",
            "linked_payments": [
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "date": "2023-01-02T02:34:56.000Z",
                "type": "INVOICE_PAYMENT",
                "amount": "3"
              },
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "date": "2023-01-02T02:34:56.000Z",
                "type": "INVOICE_CREDIT_MEMO",
                "amount": "2"
              }
            ],
            "line_items": [
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "platform_id": "12345678",
                "account_id": "00000000-0000-0000-0000-000000000000",
                "class_id": "00000000-0000-0000-0000-000000000000",
                "item_id": "00000000-0000-0000-0000-000000000000",
                "tax_rate_id": "00000000-0000-0000-0000-000000000000",
                "description": "A Rutter shirt.",
                "quantity": 1,
                "amount": "14.34",
                "discount_amount": "0",
                "discount_percentage": "0",
                "sub_total": "12.34",
                "tax_amount": "2",
                "unit_amount": "12.34"
              }
            ],
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z",
            "last_synced_at": "2023-01-02T02:34:56.000Z",
            "platform_data": {
              "id": 123,
              "data": "Varies by platform"
            }
          }
        }
      },
      "InvoiceResponseWithConnection_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "NETSUITE"
          },
          "invoice": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "account_id": "00000000-0000-0000-0000-000000000000",
            "customer_id": "00000000-0000-0000-0000-000000000000",
            "subsidiary_id": "00000000-0000-0000-0000-000000000000",
            "due_date": "2023-01-02T02:34:56.000Z",
            "issue_date": "2023-01-02T02:34:56.000Z",
            "status": "partially_paid",
            "currency_code": "USD",
            "document_number": "CUSTINVC-1",
            "memo": "For a Rutter shirt.",
            "amount_due": "9.34",
            "sub_total": "12.34",
            "tax_amount": "2",
            "total_amount": "14.34",
            "total_discount": "0",
            "linked_payments": [
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "date": "2023-01-02T02:34:56.000Z",
                "type": "INVOICE_PAYMENT",
                "amount": "3"
              },
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "date": "2023-01-02T02:34:56.000Z",
                "type": "INVOICE_CREDIT_MEMO",
                "amount": "2"
              }
            ],
            "line_items": [
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "platform_id": "12345678",
                "account_id": "00000000-0000-0000-0000-000000000000",
                "class_id": "00000000-0000-0000-0000-000000000000",
                "item_id": "00000000-0000-0000-0000-000000000000",
                "tax_rate_id": "00000000-0000-0000-0000-000000000000",
                "description": "A Rutter shirt.",
                "quantity": 1,
                "amount": "14.34",
                "discount_amount": "0",
                "discount_percentage": "0",
                "sub_total": "12.34",
                "tax_amount": "2",
                "unit_amount": "12.34"
              }
            ],
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z",
            "last_synced_at": "2023-01-02T02:34:56.000Z",
            "platform_data": {
              "id": 123,
              "data": "Varies by platform"
            }
          }
        }
      },
      "UpdateInvoice_Example": {
        "value": {
          "due_date": "2023-01-02T02:34:56.000Z",
          "document_number": "CUSTINVC-2",
          "line_items": [
            {
              "total_amount": 12.34,
              "description": "A Rutter Shirt",
              "item": {
                "id": "00000000-0000-0000-0000-000000000000",
                "quantity": 1,
                "unit_amount": 12.34
              }
            }
          ]
        }
      },
      "CreateUpdateInvoiceRequest_Example": {
        "value": {
          "invoice": {
            "due_date": "2023-01-02T02:34:56.000Z",
            "document_number": "CUSTINVC-2",
            "line_items": [
              {
                "total_amount": 12.34,
                "description": "A Rutter Shirt",
                "item": {
                  "id": "00000000-0000-0000-0000-000000000000",
                  "quantity": 1,
                  "unit_amount": 12.34
                }
              }
            ]
          }
        }
      },
      "DeleteInvoice_2023_02_07_Example": {
        "value": {
          "code": "deleted",
          "success": true
        }
      },
      "DeleteInvoice_2023_02_07Response_Example": {
        "value": {
          "deleted_invoice": {
            "code": "deleted",
            "success": true
          }
        }
      },
      "CreateDeleteInvoice_2023_02_07Response_Example": {
        "value": {
          "deleted_invoice": {
            "code": "deleted",
            "success": true
          }
        }
      },
      "AccountingItem_Example": {
        "value": {
          "id": "00000000-0000-0000-0000-000000000000",
          "platform_id": "12345678",
          "status": "active",
          "type": "inventory",
          "code": "1234",
          "name": "Rutter Shirt",
          "quantity_on_hand": 10,
          "subsidiaries": [
            {
              "id": "00000000-0000-0000-0000-000000000000"
            },
            {
              "id": "00000000-0000-0000-0000-000000000000"
            }
          ],
          "bill_item": {
            "description": "A Rutter shirt from the Vendor",
            "unit_price": "12.34"
          },
          "invoice_item": {
            "description": "A Rutter shirt for the Customer",
            "unit_price": "4.21"
          },
          "created_at": "2023-01-02T02:34:56.000Z",
          "updated_at": "2023-01-02T02:34:56.000Z",
          "last_synced_at": "2023-01-02T02:34:56.000Z",
          "platform_data": {
            "id": 123,
            "data": "Varies by platform"
          }
        }
      },
      "ListAccountingItemResponseWithConnection_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "NETSUITE"
          },
          "items": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "platform_id": "12345678",
              "status": "active",
              "type": "inventory",
              "code": "1234",
              "name": "Rutter Shirt",
              "quantity_on_hand": 10,
              "subsidiaries": [
                {
                  "id": "00000000-0000-0000-0000-000000000000"
                },
                {
                  "id": "00000000-0000-0000-0000-000000000000"
                }
              ],
              "bill_item": {
                "description": "A Rutter shirt from the Vendor",
                "unit_price": "12.34"
              },
              "invoice_item": {
                "description": "A Rutter shirt for the Customer",
                "unit_price": "4.21"
              },
              "created_at": "2023-01-02T02:34:56.000Z",
              "updated_at": "2023-01-02T02:34:56.000Z",
              "last_synced_at": "2023-01-02T02:34:56.000Z",
              "platform_data": {
                "id": 123,
                "data": "Varies by platform"
              }
            }
          ],
          "next_cursor": "MTY3NDgzMTk0Ml82MDY4ZDI0ZC02NGRmLTRmN2EtYTM0Ny0zN2ZmNjY5MGVmMjU="
        }
      },
      "CreateItem_Example": {
        "value": {
          "asset_account_id": "00000000-0000-0000-0000-000000000000",
          "name": "Rutter Shirt",
          "quantity_on_hand": 10,
          "type": "inventory",
          "bill_item": {
            "account_id": "00000000-0000-0000-0000-000000000000",
            "description": "A Rutter shirt from the Vendor",
            "unit_price": "12.34"
          },
          "invoice_item": {
            "account_id": "00000000-0000-0000-0000-000000000000",
            "description": "A Rutter shirt for the Customer",
            "unit_price": "4.21"
          }
        }
      },
      "CreateCreateItemRequest_Example": {
        "value": {
          "item": {
            "asset_account_id": "00000000-0000-0000-0000-000000000000",
            "name": "Rutter Shirt",
            "quantity_on_hand": 10,
            "type": "inventory",
            "bill_item": {
              "account_id": "00000000-0000-0000-0000-000000000000",
              "description": "A Rutter shirt from the Vendor",
              "unit_price": "12.34"
            },
            "invoice_item": {
              "account_id": "00000000-0000-0000-0000-000000000000",
              "description": "A Rutter shirt for the Customer",
              "unit_price": "4.21"
            }
          }
        }
      },
      "AccountingItemResponse_Example": {
        "value": {
          "item": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "status": "active",
            "type": "inventory",
            "code": "1234",
            "name": "Rutter Shirt",
            "quantity_on_hand": 10,
            "subsidiaries": [
              {
                "id": "00000000-0000-0000-0000-000000000000"
              },
              {
                "id": "00000000-0000-0000-0000-000000000000"
              }
            ],
            "bill_item": {
              "description": "A Rutter shirt from the Vendor",
              "unit_price": "12.34"
            },
            "invoice_item": {
              "description": "A Rutter shirt for the Customer",
              "unit_price": "4.21"
            },
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z",
            "last_synced_at": "2023-01-02T02:34:56.000Z",
            "platform_data": {
              "id": 123,
              "data": "Varies by platform"
            }
          }
        }
      },
      "CreateAccountingItemResponse_Example": {
        "value": {
          "item": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "status": "active",
            "type": "inventory",
            "code": "1234",
            "name": "Rutter Shirt",
            "quantity_on_hand": 10,
            "subsidiaries": [
              {
                "id": "00000000-0000-0000-0000-000000000000"
              },
              {
                "id": "00000000-0000-0000-0000-000000000000"
              }
            ],
            "bill_item": {
              "description": "A Rutter shirt from the Vendor",
              "unit_price": "12.34"
            },
            "invoice_item": {
              "description": "A Rutter shirt for the Customer",
              "unit_price": "4.21"
            },
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z",
            "last_synced_at": "2023-01-02T02:34:56.000Z",
            "platform_data": {
              "id": 123,
              "data": "Varies by platform"
            }
          }
        }
      },
      "AccountingItemResponseWithConnection_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "NETSUITE"
          },
          "item": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "status": "active",
            "type": "inventory",
            "code": "1234",
            "name": "Rutter Shirt",
            "quantity_on_hand": 10,
            "subsidiaries": [
              {
                "id": "00000000-0000-0000-0000-000000000000"
              },
              {
                "id": "00000000-0000-0000-0000-000000000000"
              }
            ],
            "bill_item": {
              "description": "A Rutter shirt from the Vendor",
              "unit_price": "12.34"
            },
            "invoice_item": {
              "description": "A Rutter shirt for the Customer",
              "unit_price": "4.21"
            },
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z",
            "last_synced_at": "2023-01-02T02:34:56.000Z",
            "platform_data": {
              "id": 123,
              "data": "Varies by platform"
            }
          }
        }
      },
      "JournalEntry_Example": {
        "value": {
          "id": "00000000-0000-0000-0000-000000000000",
          "platform_id": "12345678",
          "subsidiary_id": "00000000-0000-0000-0000-000000000000",
          "transaction_date": "2023-01-02T02:34:56.000Z",
          "currency_code": "USD",
          "currency_rate": 1,
          "deposited": true,
          "memo": "For goods sold.",
          "line_items": [
            {
              "account_id": "00000000-0000-0000-0000-000000000000",
              "tax_rate_id": "123",
              "total_amount": 12.34,
              "description": "Debit amount for goods sold"
            },
            {
              "account_id": "00000000-0000-0000-0000-000000000000",
              "tax_rate_id": "123",
              "total_amount": -12.34,
              "description": "Credit amount for goods sold"
            }
          ],
          "created_at": "2023-01-02T02:34:56.000Z",
          "updated_at": "2023-01-02T02:34:56.000Z",
          "last_synced_at": "2023-01-02T02:34:56.000Z",
          "platform_data": {
            "id": 123,
            "data": "Varies by platform"
          }
        }
      },
      "ListJournalEntryResponseWithConnection_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "NETSUITE"
          },
          "journal_entries": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "platform_id": "12345678",
              "subsidiary_id": "00000000-0000-0000-0000-000000000000",
              "transaction_date": "2023-01-02T02:34:56.000Z",
              "currency_code": "USD",
              "currency_rate": 1,
              "deposited": true,
              "memo": "For goods sold.",
              "line_items": [
                {
                  "account_id": "00000000-0000-0000-0000-000000000000",
                  "tax_rate_id": "123",
                  "total_amount": 12.34,
                  "description": "Debit amount for goods sold"
                },
                {
                  "account_id": "00000000-0000-0000-0000-000000000000",
                  "tax_rate_id": "123",
                  "total_amount": -12.34,
                  "description": "Credit amount for goods sold"
                }
              ],
              "created_at": "2023-01-02T02:34:56.000Z",
              "updated_at": "2023-01-02T02:34:56.000Z",
              "last_synced_at": "2023-01-02T02:34:56.000Z",
              "platform_data": {
                "id": 123,
                "data": "Varies by platform"
              }
            }
          ],
          "next_cursor": "MTY3NDgzMTk0Ml82MDY4ZDI0ZC02NGRmLTRmN2EtYTM0Ny0zN2ZmNjY5MGVmMjU="
        }
      },
      "CreateJournalEntry_Example": {
        "value": {
          "transaction_date": "2023-01-02T02:34:56.000Z",
          "currency_code": "USD",
          "memo": "For goods sold.",
          "line_items": [
            {
              "account_id": "00000000-0000-0000-0000-000000000000",
              "total_amount": 12.34,
              "description": "Debit amount for goods sold."
            },
            {
              "account_id": "00000000-0000-0000-0000-000000000000",
              "total_amount": -12.34,
              "description": "Credit amount for goods sold."
            }
          ]
        }
      },
      "CreateCreateJournalEntryRequest_Example": {
        "value": {
          "journal_entry": {
            "transaction_date": "2023-01-02T02:34:56.000Z",
            "currency_code": "USD",
            "memo": "For goods sold.",
            "line_items": [
              {
                "account_id": "00000000-0000-0000-0000-000000000000",
                "total_amount": 12.34,
                "description": "Debit amount for goods sold."
              },
              {
                "account_id": "00000000-0000-0000-0000-000000000000",
                "total_amount": -12.34,
                "description": "Credit amount for goods sold."
              }
            ]
          }
        }
      },
      "JournalEntryResponse_Example": {
        "value": {
          "journal_entry": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "subsidiary_id": "00000000-0000-0000-0000-000000000000",
            "transaction_date": "2023-01-02T02:34:56.000Z",
            "currency_code": "USD",
            "currency_rate": 1,
            "deposited": true,
            "memo": "For goods sold.",
            "line_items": [
              {
                "account_id": "00000000-0000-0000-0000-000000000000",
                "tax_rate_id": "123",
                "total_amount": 12.34,
                "description": "Debit amount for goods sold"
              },
              {
                "account_id": "00000000-0000-0000-0000-000000000000",
                "tax_rate_id": "123",
                "total_amount": -12.34,
                "description": "Credit amount for goods sold"
              }
            ],
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z",
            "last_synced_at": "2023-01-02T02:34:56.000Z",
            "platform_data": {
              "id": 123,
              "data": "Varies by platform"
            }
          }
        }
      },
      "CreateJournalEntryResponse_Example": {
        "value": {
          "journal_entry": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "subsidiary_id": "00000000-0000-0000-0000-000000000000",
            "transaction_date": "2023-01-02T02:34:56.000Z",
            "currency_code": "USD",
            "currency_rate": 1,
            "deposited": true,
            "memo": "For goods sold.",
            "line_items": [
              {
                "account_id": "00000000-0000-0000-0000-000000000000",
                "tax_rate_id": "123",
                "total_amount": 12.34,
                "description": "Debit amount for goods sold"
              },
              {
                "account_id": "00000000-0000-0000-0000-000000000000",
                "tax_rate_id": "123",
                "total_amount": -12.34,
                "description": "Credit amount for goods sold"
              }
            ],
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z",
            "last_synced_at": "2023-01-02T02:34:56.000Z",
            "platform_data": {
              "id": 123,
              "data": "Varies by platform"
            }
          }
        }
      },
      "JournalEntryResponseWithConnection_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "NETSUITE"
          },
          "journal_entry": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "subsidiary_id": "00000000-0000-0000-0000-000000000000",
            "transaction_date": "2023-01-02T02:34:56.000Z",
            "currency_code": "USD",
            "currency_rate": 1,
            "deposited": true,
            "memo": "For goods sold.",
            "line_items": [
              {
                "account_id": "00000000-0000-0000-0000-000000000000",
                "tax_rate_id": "123",
                "total_amount": 12.34,
                "description": "Debit amount for goods sold"
              },
              {
                "account_id": "00000000-0000-0000-0000-000000000000",
                "tax_rate_id": "123",
                "total_amount": -12.34,
                "description": "Credit amount for goods sold"
              }
            ],
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z",
            "last_synced_at": "2023-01-02T02:34:56.000Z",
            "platform_data": {
              "id": 123,
              "data": "Varies by platform"
            }
          }
        }
      },
      "Location_Example": {
        "value": {
          "id": "00000000-0000-0000-0000-000000000000",
          "platform_id": "12345678",
          "parent_id": "00000000-0000-0000-0000-000000000000",
          "has_children": false,
          "name": "SF Region",
          "status": "active",
          "created_at": "2023-01-02T02:34:56.000Z",
          "updated_at": "2023-01-02T02:34:56.000Z",
          "last_synced_at": "2023-01-02T02:34:56.000Z",
          "platform_data": {
            "id": 123,
            "data": "Varies by platform"
          }
        }
      },
      "ListLocationResponse_Example": {
        "value": {
          "locations": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "platform_id": "12345678",
              "parent_id": "00000000-0000-0000-0000-000000000000",
              "has_children": false,
              "name": "SF Region",
              "status": "active",
              "created_at": "2023-01-02T02:34:56.000Z",
              "updated_at": "2023-01-02T02:34:56.000Z",
              "last_synced_at": "2023-01-02T02:34:56.000Z",
              "platform_data": {
                "id": 123,
                "data": "Varies by platform"
              }
            }
          ],
          "next_cursor": "MTY3NDgzMTk0Ml82MDY4ZDI0ZC02NGRmLTRmN2EtYTM0Ny0zN2ZmNjY5MGVmMjU="
        }
      },
      "AggregateMetric_Example": {
        "value": {
          "start_date": "2022-05-01T00:00:00.000Z",
          "end_date": "2022-05-31T23:59:59.999Z",
          "currency": "USD",
          "value": "-1149613.2900"
        }
      },
      "PaymentMethod_Example": {
        "value": {
          "id": "00000000-0000-0000-0000-000000000000",
          "platform_id": "12345678",
          "name": "Credit Card",
          "created_at": "2023-01-02T02:34:56.000Z",
          "updated_at": "2023-01-02T02:34:56.000Z",
          "last_synced_at": "2023-01-02T02:34:56.000Z",
          "platform_data": {
            "id": 123,
            "data": "Varies by platform"
          }
        }
      },
      "ListPaymentMethodResponseWithConnection_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "NETSUITE"
          },
          "payment_methods": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "platform_id": "12345678",
              "name": "Credit Card",
              "created_at": "2023-01-02T02:34:56.000Z",
              "updated_at": "2023-01-02T02:34:56.000Z",
              "last_synced_at": "2023-01-02T02:34:56.000Z",
              "platform_data": {
                "id": 123,
                "data": "Varies by platform"
              }
            }
          ],
          "next_cursor": "MTY3NDgzMTk0Ml82MDY4ZDI0ZC02NGRmLTRmN2EtYTM0Ny0zN2ZmNjY5MGVmMjU="
        }
      },
      "PaymentTerm_Example": {
        "value": {
          "id": "00000000-0000-0000-0000-000000000000",
          "platform_id": "12345678",
          "due_days": 30,
          "term_name": "Net 30",
          "discount_days": 10,
          "discount_percent": 2,
          "created_at": "2023-01-02T02:34:56.000Z",
          "updated_at": "2023-01-02T02:34:56.000Z",
          "last_synced_at": "2023-01-02T02:34:56.000Z",
          "platform_data": {
            "id": 123,
            "data": "Varies by platform"
          }
        }
      },
      "ListPaymentTermResponseWithConnection_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "NETSUITE"
          },
          "payment_terms": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "platform_id": "12345678",
              "due_days": 30,
              "term_name": "Net 30",
              "discount_days": 10,
              "discount_percent": 2,
              "created_at": "2023-01-02T02:34:56.000Z",
              "updated_at": "2023-01-02T02:34:56.000Z",
              "last_synced_at": "2023-01-02T02:34:56.000Z",
              "platform_data": {
                "id": 123,
                "data": "Varies by platform"
              }
            }
          ],
          "next_cursor": "MTY3NDgzMTk0Ml82MDY4ZDI0ZC02NGRmLTRmN2EtYTM0Ny0zN2ZmNjY5MGVmMjU="
        }
      },
      "PurchaseOrder_2023_03_14_Example": {
        "value": {
          "id": "00000000-0000-0000-0000-000000000000",
          "platform_id": "12345678",
          "subsidiary_id": "00000000-0000-0000-0000-000000000000",
          "vendor_id": "00000000-0000-0000-0000-000000000000",
          "issue_date": "2023-01-02T02:34:56.000Z",
          "status": "open",
          "currency_code": "USD",
          "document_number": "VENDPO-1",
          "memo": "Example purchase order top-level memo",
          "total_amount": 12.34,
          "total_quantity": 1,
          "line_items": [
            {
              "account_id": "00000000-0000-0000-0000-000000000000",
              "class_id": "00000000-0000-0000-0000-000000000000",
              "department_id": "00000000-0000-0000-0000-000000000000",
              "tax_rate_id": "00000000-0000-0000-0000-000000000000",
              "description": "Example description",
              "total_amount": 12.34,
              "item": {
                "id": "00000000-0000-0000-0000-000000000000",
                "quantity": 1,
                "unit_amount": 12.34
              }
            }
          ],
          "created_at": "2023-01-02T02:34:56.000Z",
          "updated_at": "2023-01-02T02:34:56.000Z",
          "last_synced_at": "2023-01-02T02:34:56.000Z",
          "platform_data": {
            "id": 123,
            "data": "Varies by platform"
          }
        }
      },
      "ListPurchaseOrder_2023_03_14ResponseWithConnection_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "NETSUITE"
          },
          "purchase_orders": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "platform_id": "12345678",
              "subsidiary_id": "00000000-0000-0000-0000-000000000000",
              "vendor_id": "00000000-0000-0000-0000-000000000000",
              "issue_date": "2023-01-02T02:34:56.000Z",
              "status": "open",
              "currency_code": "USD",
              "document_number": "VENDPO-1",
              "memo": "Example purchase order top-level memo",
              "total_amount": 12.34,
              "total_quantity": 1,
              "line_items": [
                {
                  "account_id": "00000000-0000-0000-0000-000000000000",
                  "class_id": "00000000-0000-0000-0000-000000000000",
                  "department_id": "00000000-0000-0000-0000-000000000000",
                  "tax_rate_id": "00000000-0000-0000-0000-000000000000",
                  "description": "Example description",
                  "total_amount": 12.34,
                  "item": {
                    "id": "00000000-0000-0000-0000-000000000000",
                    "quantity": 1,
                    "unit_amount": 12.34
                  }
                }
              ],
              "created_at": "2023-01-02T02:34:56.000Z",
              "updated_at": "2023-01-02T02:34:56.000Z",
              "last_synced_at": "2023-01-02T02:34:56.000Z",
              "platform_data": {
                "id": 123,
                "data": "Varies by platform"
              }
            }
          ],
          "next_cursor": "MTY3NDgzMTk0Ml82MDY4ZDI0ZC02NGRmLTRmN2EtYTM0Ny0zN2ZmNjY5MGVmMjU="
        }
      },
      "CreatePurchaseOrder_Example": {
        "value": {
          "vendor_id": "00000000-0000-0000-0000-000000000000",
          "currency": "USD",
          "line_items": [
            {
              "item": "00000000-0000-0000-0000-000000000000",
              "quantity": 1,
              "description": "Example description",
              "unit_amount": 10
            }
          ]
        }
      },
      "CreateCreatePurchaseOrderRequest_Example": {
        "value": {
          "purchase_order": {
            "vendor_id": "00000000-0000-0000-0000-000000000000",
            "currency": "USD",
            "line_items": [
              {
                "item": "00000000-0000-0000-0000-000000000000",
                "quantity": 1,
                "description": "Example description",
                "unit_amount": 10
              }
            ]
          }
        }
      },
      "PurchaseOrder_Example": {
        "value": {
          "id": "00000000-0000-0000-0000-000000000000",
          "platform_id": "12345678",
          "subsidiary_id": "00000000-0000-0000-0000-000000000000",
          "vendor_id": "00000000-0000-0000-0000-000000000000",
          "posted_date": "2023-01-02T02:34:56.000Z",
          "currency_code": "USD",
          "document_number": "VENDPO-1",
          "memo": "For a Rutter shirt.",
          "status": "active",
          "vendor_name": "Rutter API",
          "total_amount": "12.34",
          "total_quantity": "1",
          "line_items": [
            {
              "platform_id": "12345678",
              "account_id": "00000000-0000-0000-0000-000000000000",
              "class_id": "00000000-0000-0000-0000-000000000000",
              "item_id": "00000000-0000-0000-0000-000000000000",
              "tax_rate_id": "00000000-0000-0000-0000-000000000000",
              "description": "Example description",
              "item_name": "Rutter shirt",
              "amount": "12.34",
              "amount_billed": "12.34",
              "amount_received": "12.34",
              "quantity": "1",
              "quantity_bill": "1",
              "quantity_received": "1",
              "unit_amount": "12.34"
            }
          ],
          "created_at": "2023-01-02T02:34:56.000Z",
          "updated_at": "2023-01-02T02:34:56.000Z",
          "last_synced_at": "2023-01-02T02:34:56.000Z",
          "platform_data": {
            "id": 123,
            "data": "Varies by platform"
          }
        }
      },
      "PurchaseOrderResponse_Example": {
        "value": {
          "purchase_order": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "subsidiary_id": "00000000-0000-0000-0000-000000000000",
            "vendor_id": "00000000-0000-0000-0000-000000000000",
            "posted_date": "2023-01-02T02:34:56.000Z",
            "currency_code": "USD",
            "document_number": "VENDPO-1",
            "memo": "For a Rutter shirt.",
            "status": "active",
            "vendor_name": "Rutter API",
            "total_amount": "12.34",
            "total_quantity": "1",
            "line_items": [
              {
                "platform_id": "12345678",
                "account_id": "00000000-0000-0000-0000-000000000000",
                "class_id": "00000000-0000-0000-0000-000000000000",
                "item_id": "00000000-0000-0000-0000-000000000000",
                "tax_rate_id": "00000000-0000-0000-0000-000000000000",
                "description": "Example description",
                "item_name": "Rutter shirt",
                "amount": "12.34",
                "amount_billed": "12.34",
                "amount_received": "12.34",
                "quantity": "1",
                "quantity_bill": "1",
                "quantity_received": "1",
                "unit_amount": "12.34"
              }
            ],
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z",
            "last_synced_at": "2023-01-02T02:34:56.000Z",
            "platform_data": {
              "id": 123,
              "data": "Varies by platform"
            }
          }
        }
      },
      "CreatePurchaseOrderResponse_Example": {
        "value": {
          "purchase_order": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "subsidiary_id": "00000000-0000-0000-0000-000000000000",
            "vendor_id": "00000000-0000-0000-0000-000000000000",
            "posted_date": "2023-01-02T02:34:56.000Z",
            "currency_code": "USD",
            "document_number": "VENDPO-1",
            "memo": "For a Rutter shirt.",
            "status": "active",
            "vendor_name": "Rutter API",
            "total_amount": "12.34",
            "total_quantity": "1",
            "line_items": [
              {
                "platform_id": "12345678",
                "account_id": "00000000-0000-0000-0000-000000000000",
                "class_id": "00000000-0000-0000-0000-000000000000",
                "item_id": "00000000-0000-0000-0000-000000000000",
                "tax_rate_id": "00000000-0000-0000-0000-000000000000",
                "description": "Example description",
                "item_name": "Rutter shirt",
                "amount": "12.34",
                "amount_billed": "12.34",
                "amount_received": "12.34",
                "quantity": "1",
                "quantity_bill": "1",
                "quantity_received": "1",
                "unit_amount": "12.34"
              }
            ],
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z",
            "last_synced_at": "2023-01-02T02:34:56.000Z",
            "platform_data": {
              "id": 123,
              "data": "Varies by platform"
            }
          }
        }
      },
      "PurchaseOrder_2023_03_14ResponseWithConnection_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "NETSUITE"
          },
          "purchase_order": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "subsidiary_id": "00000000-0000-0000-0000-000000000000",
            "vendor_id": "00000000-0000-0000-0000-000000000000",
            "issue_date": "2023-01-02T02:34:56.000Z",
            "status": "open",
            "currency_code": "USD",
            "document_number": "VENDPO-1",
            "memo": "Example purchase order top-level memo",
            "total_amount": 12.34,
            "total_quantity": 1,
            "line_items": [
              {
                "account_id": "00000000-0000-0000-0000-000000000000",
                "class_id": "00000000-0000-0000-0000-000000000000",
                "department_id": "00000000-0000-0000-0000-000000000000",
                "tax_rate_id": "00000000-0000-0000-0000-000000000000",
                "description": "Example description",
                "total_amount": 12.34,
                "item": {
                  "id": "00000000-0000-0000-0000-000000000000",
                  "quantity": 1,
                  "unit_amount": 12.34
                }
              }
            ],
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z",
            "last_synced_at": "2023-01-02T02:34:56.000Z",
            "platform_data": {
              "id": 123,
              "data": "Varies by platform"
            }
          }
        }
      },
      "CompanyInfo_2023_02_07_Example": {
        "value": {
          "id": "00000000-0000-0000-0000-000000000000",
          "platform_id": "12345678",
          "base_currency_code": "USD",
          "createdAt": "2023-01-02T02:34:56.000Z",
          "name": "Rutter API",
          "updatedAt": "2023-01-02T02:34:56.000Z",
          "addresses": [
            "123 Rutter Road, San Francisco, CA 94110"
          ],
          "legal_name": "RutterAPI Inc.",
          "last_synced_at": "2023-01-02T02:34:56.000Z",
          "platform_data": {
            "id": 123,
            "data": "Varies by platform"
          }
        }
      },
      "SalesOrder_Example": {
        "value": {
          "id": "00000000-0000-0000-0000-000000000000",
          "platform_id": "12345678",
          "class_id": "00000000-0000-0000-0000-000000000000",
          "customer_id": "00000000-0000-0000-0000-000000000000",
          "department_id": "00000000-0000-0000-0000-000000000000",
          "location_id": "00000000-0000-0000-0000-000000000000",
          "subsidiary_id": "00000000-0000-0000-0000-000000000000",
          "issue_date": "2023-01-02T02:34:56.000Z",
          "status": "open",
          "currency_code": "USD",
          "currency_rate": 1,
          "discount_amount": 0,
          "document_number": "VENDPO-1",
          "memo": "Example sales order top-level memo",
          "reference_number": "2",
          "tax_amount": 0,
          "total_amount": 12.34,
          "line_items": [
            {
              "tax_rate_id": "00000000-0000-0000-0000-000000000000",
              "description": "Example description",
              "total_amount": 12.34,
              "item": {
                "id": "00000000-0000-0000-0000-000000000000",
                "quantity": 1,
                "unit_amount": 12.34
              }
            }
          ],
          "created_at": "2023-01-02T02:34:56.000Z",
          "updated_at": "2023-01-02T02:34:56.000Z",
          "last_synced_at": "2023-01-02T02:34:56.000Z"
        }
      },
      "ListSalesOrderResponseWithConnection_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "NETSUITE"
          },
          "sales_orders": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "platform_id": "12345678",
              "class_id": "00000000-0000-0000-0000-000000000000",
              "customer_id": "00000000-0000-0000-0000-000000000000",
              "department_id": "00000000-0000-0000-0000-000000000000",
              "location_id": "00000000-0000-0000-0000-000000000000",
              "subsidiary_id": "00000000-0000-0000-0000-000000000000",
              "issue_date": "2023-01-02T02:34:56.000Z",
              "status": "open",
              "currency_code": "USD",
              "currency_rate": 1,
              "discount_amount": 0,
              "document_number": "VENDPO-1",
              "memo": "Example sales order top-level memo",
              "reference_number": "2",
              "tax_amount": 0,
              "total_amount": 12.34,
              "line_items": [
                {
                  "tax_rate_id": "00000000-0000-0000-0000-000000000000",
                  "description": "Example description",
                  "total_amount": 12.34,
                  "item": {
                    "id": "00000000-0000-0000-0000-000000000000",
                    "quantity": 1,
                    "unit_amount": 12.34
                  }
                }
              ],
              "created_at": "2023-01-02T02:34:56.000Z",
              "updated_at": "2023-01-02T02:34:56.000Z",
              "last_synced_at": "2023-01-02T02:34:56.000Z"
            }
          ],
          "next_cursor": "MTY3NDgzMTk0Ml82MDY4ZDI0ZC02NGRmLTRmN2EtYTM0Ny0zN2ZmNjY5MGVmMjU="
        }
      },
      "CreateSalesOrder_Example": {
        "value": {
          "customer_id": "00000000-0000-0000-0000-000000000000",
          "issue_date": "2023-01-02T02:34:56.000Z",
          "currency_code": "USD",
          "line_items": [
            {
              "tax_rate_id": "00000000-0000-0000-0000-000000000000",
              "description": "Example description",
              "item": {
                "id": "00000000-0000-0000-0000-000000000000",
                "quantity": 1,
                "unit_amount": 10
              }
            }
          ]
        }
      },
      "CreateCreateSalesOrderRequest_Example": {
        "value": {
          "sales_order": {
            "customer_id": "00000000-0000-0000-0000-000000000000",
            "issue_date": "2023-01-02T02:34:56.000Z",
            "currency_code": "USD",
            "line_items": [
              {
                "tax_rate_id": "00000000-0000-0000-0000-000000000000",
                "description": "Example description",
                "item": {
                  "id": "00000000-0000-0000-0000-000000000000",
                  "quantity": 1,
                  "unit_amount": 10
                }
              }
            ]
          }
        }
      },
      "SalesOrderResponse_Example": {
        "value": {
          "sales_order": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "class_id": "00000000-0000-0000-0000-000000000000",
            "customer_id": "00000000-0000-0000-0000-000000000000",
            "department_id": "00000000-0000-0000-0000-000000000000",
            "location_id": "00000000-0000-0000-0000-000000000000",
            "subsidiary_id": "00000000-0000-0000-0000-000000000000",
            "issue_date": "2023-01-02T02:34:56.000Z",
            "status": "open",
            "currency_code": "USD",
            "currency_rate": 1,
            "discount_amount": 0,
            "document_number": "VENDPO-1",
            "memo": "Example sales order top-level memo",
            "reference_number": "2",
            "tax_amount": 0,
            "total_amount": 12.34,
            "line_items": [
              {
                "tax_rate_id": "00000000-0000-0000-0000-000000000000",
                "description": "Example description",
                "total_amount": 12.34,
                "item": {
                  "id": "00000000-0000-0000-0000-000000000000",
                  "quantity": 1,
                  "unit_amount": 12.34
                }
              }
            ],
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z",
            "last_synced_at": "2023-01-02T02:34:56.000Z"
          }
        }
      },
      "CreateSalesOrderResponse_Example": {
        "value": {
          "sales_order": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "class_id": "00000000-0000-0000-0000-000000000000",
            "customer_id": "00000000-0000-0000-0000-000000000000",
            "department_id": "00000000-0000-0000-0000-000000000000",
            "location_id": "00000000-0000-0000-0000-000000000000",
            "subsidiary_id": "00000000-0000-0000-0000-000000000000",
            "issue_date": "2023-01-02T02:34:56.000Z",
            "status": "open",
            "currency_code": "USD",
            "currency_rate": 1,
            "discount_amount": 0,
            "document_number": "VENDPO-1",
            "memo": "Example sales order top-level memo",
            "reference_number": "2",
            "tax_amount": 0,
            "total_amount": 12.34,
            "line_items": [
              {
                "tax_rate_id": "00000000-0000-0000-0000-000000000000",
                "description": "Example description",
                "total_amount": 12.34,
                "item": {
                  "id": "00000000-0000-0000-0000-000000000000",
                  "quantity": 1,
                  "unit_amount": 12.34
                }
              }
            ],
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z",
            "last_synced_at": "2023-01-02T02:34:56.000Z"
          }
        }
      },
      "SalesOrderResponseWithConnection_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "NETSUITE"
          },
          "sales_order": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "class_id": "00000000-0000-0000-0000-000000000000",
            "customer_id": "00000000-0000-0000-0000-000000000000",
            "department_id": "00000000-0000-0000-0000-000000000000",
            "location_id": "00000000-0000-0000-0000-000000000000",
            "subsidiary_id": "00000000-0000-0000-0000-000000000000",
            "issue_date": "2023-01-02T02:34:56.000Z",
            "status": "open",
            "currency_code": "USD",
            "currency_rate": 1,
            "discount_amount": 0,
            "document_number": "VENDPO-1",
            "memo": "Example sales order top-level memo",
            "reference_number": "2",
            "tax_amount": 0,
            "total_amount": 12.34,
            "line_items": [
              {
                "tax_rate_id": "00000000-0000-0000-0000-000000000000",
                "description": "Example description",
                "total_amount": 12.34,
                "item": {
                  "id": "00000000-0000-0000-0000-000000000000",
                  "quantity": 1,
                  "unit_amount": 12.34
                }
              }
            ],
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z",
            "last_synced_at": "2023-01-02T02:34:56.000Z"
          }
        }
      },
      "UpdateSalesOrder_Example": {
        "value": {
          "customer_id": "00000000-0000-0000-0000-000000000000",
          "currency_code": "USD",
          "line_items": [
            {
              "tax_rate_id": "00000000-0000-0000-0000-000000000000",
              "description": "Example description",
              "item": {
                "id": "00000000-0000-0000-0000-000000000000",
                "quantity": 1,
                "unit_amount": 10
              }
            }
          ]
        }
      },
      "CreateUpdateSalesOrderRequest_Example": {
        "value": {
          "sales_order": {
            "customer_id": "00000000-0000-0000-0000-000000000000",
            "currency_code": "USD",
            "line_items": [
              {
                "tax_rate_id": "00000000-0000-0000-0000-000000000000",
                "description": "Example description",
                "item": {
                  "id": "00000000-0000-0000-0000-000000000000",
                  "quantity": 1,
                  "unit_amount": 10
                }
              }
            ]
          }
        }
      },
      "Subsidiary_Example": {
        "value": {
          "id": "00000000-0000-0000-0000-000000000000",
          "platform_id": "12345678",
          "parent_id": "00000000-0000-0000-0000-000000000000",
          "country": "USA",
          "status": "active",
          "currency_code": "USD",
          "name": "Johnson & Johnson LLC",
          "created_at": "2023-01-02T02:34:56.000Z",
          "updated_at": "2023-01-02T02:34:56.000Z",
          "last_synced_at": "2023-01-02T02:34:56.000Z"
        }
      },
      "ListSubsidiaryResponseWithConnection_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "NETSUITE"
          },
          "subsidiaries": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "platform_id": "12345678",
              "parent_id": "00000000-0000-0000-0000-000000000000",
              "country": "USA",
              "status": "active",
              "currency_code": "USD",
              "name": "Johnson & Johnson LLC",
              "created_at": "2023-01-02T02:34:56.000Z",
              "updated_at": "2023-01-02T02:34:56.000Z",
              "last_synced_at": "2023-01-02T02:34:56.000Z"
            }
          ],
          "next_cursor": "MTY3NDgzMTk0Ml82MDY4ZDI0ZC02NGRmLTRmN2EtYTM0Ny0zN2ZmNjY5MGVmMjU="
        }
      },
      "SubsidiaryResponseWithConnection_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "NETSUITE"
          },
          "subsidiary": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "parent_id": "00000000-0000-0000-0000-000000000000",
            "country": "USA",
            "status": "active",
            "currency_code": "USD",
            "name": "Johnson & Johnson LLC",
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z",
            "last_synced_at": "2023-01-02T02:34:56.000Z"
          }
        }
      },
      "TaxRate_2023_02_07_Example": {
        "value": {
          "id": "00000000-0000-0000-0000-000000000000",
          "platform_id": "00000000-0000-0000-0000-000000000000",
          "code": "LABOR",
          "effective_tax_rate": 2.75,
          "name": "Labor on Job",
          "total_tax_rate": 9.5,
          "subsidiaries": [
            {
              "id": "00000000-0000-0000-0000-000000000000"
            },
            {
              "id": "00000000-0000-0000-0000-000000000000"
            }
          ],
          "components": null,
          "created_at": "2023-01-02T02:34:56.000Z",
          "updated_at": "2023-01-02T02:34:56.000Z",
          "last_synced_at": "2023-01-02T02:34:56.000Z",
          "platform_data": {
            "id": 123,
            "data": "Varies by platform"
          }
        }
      },
      "ListTaxRate_2023_02_07ResponseWithConnection_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "NETSUITE"
          },
          "tax_rates": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "platform_id": "00000000-0000-0000-0000-000000000000",
              "code": "LABOR",
              "effective_tax_rate": 2.75,
              "name": "Labor on Job",
              "total_tax_rate": 9.5,
              "subsidiaries": [
                {
                  "id": "00000000-0000-0000-0000-000000000000"
                },
                {
                  "id": "00000000-0000-0000-0000-000000000000"
                }
              ],
              "components": null,
              "created_at": "2023-01-02T02:34:56.000Z",
              "updated_at": "2023-01-02T02:34:56.000Z",
              "last_synced_at": "2023-01-02T02:34:56.000Z",
              "platform_data": {
                "id": 123,
                "data": "Varies by platform"
              }
            }
          ],
          "next_cursor": "MTY3NDgzMTk0Ml82MDY4ZDI0ZC02NGRmLTRmN2EtYTM0Ny0zN2ZmNjY5MGVmMjU="
        }
      },
      "TaxRate_2023_02_07ResponseWithConnection_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "NETSUITE"
          },
          "tax_rate": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "00000000-0000-0000-0000-000000000000",
            "code": "LABOR",
            "effective_tax_rate": 2.75,
            "name": "Labor on Job",
            "total_tax_rate": 9.5,
            "subsidiaries": [
              {
                "id": "00000000-0000-0000-0000-000000000000"
              },
              {
                "id": "00000000-0000-0000-0000-000000000000"
              }
            ],
            "components": null,
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z",
            "last_synced_at": "2023-01-02T02:34:56.000Z",
            "platform_data": {
              "id": 123,
              "data": "Varies by platform"
            }
          }
        }
      },
      "Vendor_Example": {
        "value": {
          "id": "00000000-0000-0000-0000-000000000000",
          "platform_id": "12345678",
          "status": "active",
          "bank_account_number": "123456",
          "contact_name": "Eric Yu",
          "currency_code": "USD",
          "email": "eric@rutter.com",
          "phone": "1234567890",
          "registration_number": "123456789",
          "tax_number": "12-3456789",
          "vendor_name": "Rutter",
          "website": "https://rutter.com",
          "subsidiaries": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "primary": true
            },
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "primary": false
            },
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "primary": false
            }
          ],
          "addresses": [
            {
              "type": "billing",
              "address1": "123 Rutter Road",
              "address2": "Floor 4",
              "city": "San Francisco",
              "country": "US",
              "postal_code": "94110",
              "region": "CA"
            }
          ],
          "created_at": "2023-01-02T02:34:56.000Z",
          "updated_at": "2023-01-02T02:34:56.000Z",
          "last_synced_at": "2023-01-02T02:34:56.000Z",
          "platform_data": {
            "id": 123,
            "data": "Varies by platform"
          }
        }
      },
      "ListVendorResponseWithConnection_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "NETSUITE"
          },
          "vendors": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "platform_id": "12345678",
              "status": "active",
              "bank_account_number": "123456",
              "contact_name": "Eric Yu",
              "currency_code": "USD",
              "email": "eric@rutter.com",
              "phone": "1234567890",
              "registration_number": "123456789",
              "tax_number": "12-3456789",
              "vendor_name": "Rutter",
              "website": "https://rutter.com",
              "subsidiaries": [
                {
                  "id": "00000000-0000-0000-0000-000000000000",
                  "primary": true
                },
                {
                  "id": "00000000-0000-0000-0000-000000000000",
                  "primary": false
                },
                {
                  "id": "00000000-0000-0000-0000-000000000000",
                  "primary": false
                }
              ],
              "addresses": [
                {
                  "type": "billing",
                  "address1": "123 Rutter Road",
                  "address2": "Floor 4",
                  "city": "San Francisco",
                  "country": "US",
                  "postal_code": "94110",
                  "region": "CA"
                }
              ],
              "created_at": "2023-01-02T02:34:56.000Z",
              "updated_at": "2023-01-02T02:34:56.000Z",
              "last_synced_at": "2023-01-02T02:34:56.000Z",
              "platform_data": {
                "id": 123,
                "data": "Varies by platform"
              }
            }
          ],
          "next_cursor": "MTY3NDgzMTk0Ml82MDY4ZDI0ZC02NGRmLTRmN2EtYTM0Ny0zN2ZmNjY5MGVmMjU="
        }
      },
      "CreateVendor_Example": {
        "value": {
          "contact_name": "Eric Yu",
          "currency_code": "USD",
          "vendor_name": "Rutter",
          "email": "eric@rutter.com",
          "phone": "1234567890",
          "registration_number": "123456789",
          "tax_number": "12-3456789",
          "website": "https://rutter.com",
          "subsidiaries": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "primary": true
            },
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "primary": false
            },
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "primary": false
            }
          ],
          "addresses": [
            {
              "type": "billing",
              "address1": "123 Rutter Road",
              "address2": "Floor 4",
              "city": "San Francisco",
              "country": "US",
              "postal_code": "94110",
              "region": "CA"
            }
          ]
        }
      },
      "CreateCreateVendorRequest_Example": {
        "value": {
          "vendor": {
            "contact_name": "Eric Yu",
            "currency_code": "USD",
            "vendor_name": "Rutter",
            "email": "eric@rutter.com",
            "phone": "1234567890",
            "registration_number": "123456789",
            "tax_number": "12-3456789",
            "website": "https://rutter.com",
            "subsidiaries": [
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "primary": true
              },
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "primary": false
              },
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "primary": false
              }
            ],
            "addresses": [
              {
                "type": "billing",
                "address1": "123 Rutter Road",
                "address2": "Floor 4",
                "city": "San Francisco",
                "country": "US",
                "postal_code": "94110",
                "region": "CA"
              }
            ]
          }
        }
      },
      "VendorResponse_Example": {
        "value": {
          "vendor": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "status": "active",
            "bank_account_number": "123456",
            "contact_name": "Eric Yu",
            "currency_code": "USD",
            "email": "eric@rutter.com",
            "phone": "1234567890",
            "registration_number": "123456789",
            "tax_number": "12-3456789",
            "vendor_name": "Rutter",
            "website": "https://rutter.com",
            "subsidiaries": [
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "primary": true
              },
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "primary": false
              },
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "primary": false
              }
            ],
            "addresses": [
              {
                "type": "billing",
                "address1": "123 Rutter Road",
                "address2": "Floor 4",
                "city": "San Francisco",
                "country": "US",
                "postal_code": "94110",
                "region": "CA"
              }
            ],
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z",
            "last_synced_at": "2023-01-02T02:34:56.000Z",
            "platform_data": {
              "id": 123,
              "data": "Varies by platform"
            }
          }
        }
      },
      "CreateVendorResponse_Example": {
        "value": {
          "vendor": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "status": "active",
            "bank_account_number": "123456",
            "contact_name": "Eric Yu",
            "currency_code": "USD",
            "email": "eric@rutter.com",
            "phone": "1234567890",
            "registration_number": "123456789",
            "tax_number": "12-3456789",
            "vendor_name": "Rutter",
            "website": "https://rutter.com",
            "subsidiaries": [
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "primary": true
              },
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "primary": false
              },
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "primary": false
              }
            ],
            "addresses": [
              {
                "type": "billing",
                "address1": "123 Rutter Road",
                "address2": "Floor 4",
                "city": "San Francisco",
                "country": "US",
                "postal_code": "94110",
                "region": "CA"
              }
            ],
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z",
            "last_synced_at": "2023-01-02T02:34:56.000Z",
            "platform_data": {
              "id": 123,
              "data": "Varies by platform"
            }
          }
        }
      },
      "VendorResponseWithConnection_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "NETSUITE"
          },
          "vendor": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "status": "active",
            "bank_account_number": "123456",
            "contact_name": "Eric Yu",
            "currency_code": "USD",
            "email": "eric@rutter.com",
            "phone": "1234567890",
            "registration_number": "123456789",
            "tax_number": "12-3456789",
            "vendor_name": "Rutter",
            "website": "https://rutter.com",
            "subsidiaries": [
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "primary": true
              },
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "primary": false
              },
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "primary": false
              }
            ],
            "addresses": [
              {
                "type": "billing",
                "address1": "123 Rutter Road",
                "address2": "Floor 4",
                "city": "San Francisco",
                "country": "US",
                "postal_code": "94110",
                "region": "CA"
              }
            ],
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z",
            "last_synced_at": "2023-01-02T02:34:56.000Z",
            "platform_data": {
              "id": 123,
              "data": "Varies by platform"
            }
          }
        }
      },
      "UpdateVendorBody_Example": {
        "value": {
          "contact_name": "Eric Yu",
          "currency_code": "USD",
          "email": "eric@rutter.com",
          "phone": "1234567890",
          "registration_number": "123456789",
          "tax_number": "12-3456789",
          "vendor_name": "Rutter",
          "website": "https://rutter.comTTTTTTTTTTTTTTT",
          "addresses": [
            {
              "type": "billing",
              "address1": "123 Rutter Road",
              "address2": "Floor 4",
              "city": "San Francisco",
              "country": "US",
              "postal_code": "94110",
              "region": "CA"
            }
          ]
        }
      },
      "CreateUpdateVendorBodyRequest_Example": {
        "value": {
          "vendor": {
            "contact_name": "Eric Yu",
            "currency_code": "USD",
            "email": "eric@rutter.com",
            "phone": "1234567890",
            "registration_number": "123456789",
            "tax_number": "12-3456789",
            "vendor_name": "Rutter",
            "website": "https://rutter.comTTTTTTTTTTTTTTT",
            "addresses": [
              {
                "type": "billing",
                "address1": "123 Rutter Road",
                "address2": "Floor 4",
                "city": "San Francisco",
                "country": "US",
                "postal_code": "94110",
                "region": "CA"
              }
            ]
          }
        }
      },
      "UpdateVendorResponse_Example": {
        "value": {
          "id": "00000000-0000-0000-0000-000000000000",
          "platform_id": "12345678",
          "status": "active",
          "bank_account_number": "123456",
          "contact_name": "Eric Yu",
          "currency_code": "USD",
          "email": "eric@rutter.com",
          "phone": "1234567890",
          "registration_number": "123456789",
          "tax_number": "12-3456789",
          "vendor_name": "Rutter",
          "website": "https://rutter.com",
          "subsidiaries": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "primary": true
            },
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "primary": false
            },
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "primary": false
            }
          ],
          "addresses": [
            {
              "type": "billing",
              "address1": "123 Rutter Road",
              "address2": "Floor 4",
              "city": "San Francisco",
              "country": "US",
              "postal_code": "94110",
              "region": "CA"
            }
          ],
          "created_at": "2023-01-02T02:34:56.000Z",
          "updated_at": "2023-01-02T02:34:56.000Z",
          "last_synced_at": "2023-01-02T02:34:56.000Z",
          "platform_data": {
            "id": 123,
            "data": "Varies by platform"
          }
        }
      },
      "UpdateVendorResponseResponse_Example": {
        "value": {
          "vendor": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "status": "active",
            "bank_account_number": "123456",
            "contact_name": "Eric Yu",
            "currency_code": "USD",
            "email": "eric@rutter.com",
            "phone": "1234567890",
            "registration_number": "123456789",
            "tax_number": "12-3456789",
            "vendor_name": "Rutter",
            "website": "https://rutter.com",
            "subsidiaries": [
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "primary": true
              },
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "primary": false
              },
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "primary": false
              }
            ],
            "addresses": [
              {
                "type": "billing",
                "address1": "123 Rutter Road",
                "address2": "Floor 4",
                "city": "San Francisco",
                "country": "US",
                "postal_code": "94110",
                "region": "CA"
              }
            ],
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z",
            "last_synced_at": "2023-01-02T02:34:56.000Z",
            "platform_data": {
              "id": 123,
              "data": "Varies by platform"
            }
          }
        }
      },
      "CreateUpdateVendorResponseResponse_Example": {
        "value": {
          "vendor": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "status": "active",
            "bank_account_number": "123456",
            "contact_name": "Eric Yu",
            "currency_code": "USD",
            "email": "eric@rutter.com",
            "phone": "1234567890",
            "registration_number": "123456789",
            "tax_number": "12-3456789",
            "vendor_name": "Rutter",
            "website": "https://rutter.com",
            "subsidiaries": [
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "primary": true
              },
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "primary": false
              },
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "primary": false
              }
            ],
            "addresses": [
              {
                "type": "billing",
                "address1": "123 Rutter Road",
                "address2": "Floor 4",
                "city": "San Francisco",
                "country": "US",
                "postal_code": "94110",
                "region": "CA"
              }
            ],
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z",
            "last_synced_at": "2023-01-02T02:34:56.000Z",
            "platform_data": {
              "id": 123,
              "data": "Varies by platform"
            }
          }
        }
      },
      "AdsAccount_Example": {
        "value": {
          "id": "00000000-0000-0000-0000-000000000000",
          "platform_id": "12345678",
          "parent_id": "00000000-0000-0000-0000-000000000000",
          "name": "Ads Account",
          "created_at": "2023-01-02T02:34:56.000Z",
          "updated_at": "2023-01-02T02:34:56.000Z",
          "last_synced_at": "2023-01-02T02:34:56.000Z",
          "platform_data": {
            "id": 123,
            "data": "Varies by platform"
          }
        }
      },
      "ListAdsAccountResponseWithConnection_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "NETSUITE"
          },
          "accounts": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "platform_id": "12345678",
              "parent_id": "00000000-0000-0000-0000-000000000000",
              "name": "Ads Account",
              "created_at": "2023-01-02T02:34:56.000Z",
              "updated_at": "2023-01-02T02:34:56.000Z",
              "last_synced_at": "2023-01-02T02:34:56.000Z",
              "platform_data": {
                "id": 123,
                "data": "Varies by platform"
              }
            }
          ],
          "next_cursor": "MTY3NDgzMTk0Ml82MDY4ZDI0ZC02NGRmLTRmN2EtYTM0Ny0zN2ZmNjY5MGVmMjU="
        }
      },
      "AdsInvoice_Example": {
        "value": {
          "id": "00000000-0000-0000-0000-000000000000",
          "platform_id": "12345678",
          "due_date": "2023-01-02T02:34:56.000Z",
          "currency_code": "USD",
          "document_number": "EXAMPLE_DOCUMENT_NUMBER",
          "name": "Ads Invoice",
          "total_amount": 3.34,
          "total_discounts": 1.11,
          "total_tax": 1.23,
          "created_at": "2023-01-02T02:34:56.000Z",
          "updated_at": "2023-01-02T02:34:56.000Z",
          "last_synced_at": "2023-01-02T02:34:56.000Z",
          "platform_data": {
            "id": 123,
            "data": "Varies by platform"
          }
        }
      },
      "ListAdsInvoiceResponseWithConnection_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "NETSUITE"
          },
          "invoices": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "platform_id": "12345678",
              "due_date": "2023-01-02T02:34:56.000Z",
              "currency_code": "USD",
              "document_number": "EXAMPLE_DOCUMENT_NUMBER",
              "name": "Ads Invoice",
              "total_amount": 3.34,
              "total_discounts": 1.11,
              "total_tax": 1.23,
              "created_at": "2023-01-02T02:34:56.000Z",
              "updated_at": "2023-01-02T02:34:56.000Z",
              "last_synced_at": "2023-01-02T02:34:56.000Z",
              "platform_data": {
                "id": 123,
                "data": "Varies by platform"
              }
            }
          ],
          "next_cursor": "MTY3NDgzMTk0Ml82MDY4ZDI0ZC02NGRmLTRmN2EtYTM0Ny0zN2ZmNjY5MGVmMjU="
        }
      },
      "Balance_Example": {
        "value": {
          "amount": 12.34,
          "iso_currency_code": "USD"
        }
      },
      "GetBalanceResponse_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "SHOPIFY"
          },
          "balance": {
            "amount": 12.34,
            "iso_currency_code": "USD"
          }
        }
      },
      "DeleteConnectionResponse_Example": {
        "value": {
          "success": true
        }
      },
      "CreateConnectionBackfillResponse_Example": {
        "value": {
          "success": true
        }
      },
      "CreateConnectionBody_Example": {
        "value": {
          "platform": "SHOPIFY",
          "oauth_client_id": "CLIENT_ID",
          "oauth_access_token": "ACCESS_TOKEN",
          "store_url": "shopifystore.myshopify.com",
          "oauth_client_secret": "CLIENT_SECRET"
        }
      },
      "CreateConnectionResponse_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "access_token": "00000000-0000-0000-0000-000000000000",
            "link_url": "https://link.rutterapi.com/connection/00000000-0000-0000-0000-000000000000"
          }
        }
      },
      "CreateConnectionIncrementalSyncResponse_Example": {
        "value": {
          "success": true
        }
      },
      "CustomerGroup_Example": {
        "value": {
          "id": "00000000-0000-0000-0000-000000000000",
          "platform_id": "12345678",
          "name": "Customers who have purchased more than once",
          "created_at": "2023-01-02T02:34:56.000Z",
          "updated_at": "2023-01-02T02:34:56.000Z"
        }
      },
      "ListCustomerGroupsResponseWithConnection_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "NETSUITE"
          },
          "customer_groups": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "platform_id": "12345678",
              "name": "Customers who have purchased more than once",
              "created_at": "2023-01-02T02:34:56.000Z",
              "updated_at": "2023-01-02T02:34:56.000Z"
            }
          ],
          "next_cursor": "MTY3NDgzMTk0Ml82MDY4ZDI0ZC02NGRmLTRmN2EtYTM0Ny0zN2ZmNjY5MGVmMjU="
        }
      },
      "GetCustomerGroupResponseWithConnection_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "NETSUITE"
          },
          "customer_group": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "name": "Customers who have purchased more than once",
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z"
          }
        }
      },
      "Customer_Example": {
        "value": {
          "id": "00000000-0000-0000-0000-000000000000",
          "platform_id": "12345678",
          "email": "eric@rutter.com",
          "first_name": "Eric",
          "last_name": "Yu",
          "phone": "1234567890",
          "orders": [
            {
              "id": "00000000-0000-0000-0000-000000000000"
            }
          ],
          "created_at": "2023-01-02T02:34:56.000Z",
          "updated_at": "2023-01-02T02:34:56.000Z",
          "platform_data": {
            "id": 123,
            "data": "Varies by platform"
          }
        }
      },
      "ListCustomersResponse_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "SHOPIFY"
          },
          "customers": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "platform_id": "12345678",
              "email": "eric@rutter.com",
              "first_name": "Eric",
              "last_name": "Yu",
              "phone": "1234567890",
              "orders": [
                {
                  "id": "00000000-0000-0000-0000-000000000000"
                }
              ],
              "created_at": "2023-01-02T02:34:56.000Z",
              "updated_at": "2023-01-02T02:34:56.000Z",
              "platform_data": {
                "id": 123,
                "data": "Varies by platform"
              }
            }
          ],
          "next_cursor": "MTY3NDgzMTk0Ml82MDY4ZDI0ZC02NGRmLTRmN2EtYTM0Ny0zN2ZmNjY5MGVmMjU="
        }
      },
      "GetCustomerResponse_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "SHOPIFY"
          },
          "customer": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "email": "eric@rutter.com",
            "first_name": "Eric",
            "last_name": "Yu",
            "phone": "1234567890",
            "orders": [
              {
                "id": "00000000-0000-0000-0000-000000000000"
              }
            ],
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z",
            "platform_data": {
              "id": 123,
              "data": "Varies by platform"
            }
          }
        }
      },
      "Event_Example": {
        "value": {
          "id": "594b751e-500c-45b1-8973-00c9dc7b4698",
          "data": {
            "id": "00000000-0000-0000-0000-000000000000",
            "deleted_at": "2023-01-02T02:34:56.000Z"
          },
          "resource": "BILL",
          "type": "object_deleted",
          "last_synced_at": "2023-01-02T02:34:56.000Z"
        }
      },
      "ListEventResponse_Example": {
        "value": {
          "events": [
            {
              "id": "594b751e-500c-45b1-8973-00c9dc7b4698",
              "data": {
                "id": "00000000-0000-0000-0000-000000000000",
                "deleted_at": "2023-01-02T02:34:56.000Z"
              },
              "resource": "BILL",
              "type": "object_deleted",
              "last_synced_at": "2023-01-02T02:34:56.000Z"
            }
          ],
          "next_cursor": "MTY3NDgzMTk0Ml82MDY4ZDI0ZC02NGRmLTRmN2EtYTM0Ny0zN2ZmNjY5MGVmMjU="
        }
      },
      "ExchangeTokenResponse_Example": {
        "value": {
          "connection_id": "00000000-0000-0000-0000-000000000000",
          "access_token": "access-sandbox-de3ce8ef-33f8-452c-a685-8671031fc0f6",
          "is_ready": true,
          "platform": "SHOPIFY",
          "store_unique_name": "M5eVJqLnv3tbzdngLDp9FL5OlDNxlNhlE55op"
        }
      },
      "OrderTransaction_Example": {
        "value": {
          "id": "00000000-0000-0000-0000-000000000000",
          "platform_id": "12345678",
          "order_id": "00000000-0000-0000-0000-000000000000",
          "platform_customer_id": "12345678",
          "payment_method_type": "card",
          "status": "success",
          "type": "sale",
          "amount": 12.34,
          "fee": 1,
          "gateway": "bank_account",
          "gateway_data": "123456789",
          "iso_currency_code": "USD",
          "platform_type": "card",
          "description": "For order 1234",
          "created_at": "2023-01-02T02:34:56.000Z",
          "updated_at": "2023-01-02T02:34:56.000Z",
          "platform_data": {
            "id": 123,
            "data": "Varies by platform"
          }
        }
      },
      "Order_Example": {
        "value": {
          "id": "00000000-0000-0000-0000-000000000000",
          "platform_id": "12345678",
          "cancelled_at": "2023-01-02T02:34:56.000Z",
          "payment_status": "paid",
          "status": "active",
          "total_discount": 5,
          "total_price": 37.34,
          "fulfillment_status": "unfulfilled",
          "iso_currency_code": "USD",
          "order_number": "12345",
          "source_name": "web",
          "total_line_items_price": 28,
          "total_shipping": 12.34,
          "total_shipping_discount": 0,
          "total_tax": 2,
          "billing_address": {
            "address1": "123 Rutter Road",
            "address2": "Floor 4",
            "city": "San Francisco",
            "country_code": "USA",
            "first_name": "Eric",
            "last_name": "Yu",
            "postal_code": "94110",
            "region": "CA",
            "phone": "1234567890"
          },
          "shipping_address": {
            "address1": "123 Rutter Road",
            "address2": "Floor 4",
            "city": "San Francisco",
            "country_code": "USA",
            "first_name": "Eric",
            "last_name": "Yu",
            "postal_code": "94110",
            "region": "CA",
            "phone": "1234567890"
          },
          "customer": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "email": "eric@rutter.com",
            "first_name": "Eric",
            "last_name": "Yu",
            "phone": "1234567890",
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z"
          },
          "fulfillments": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "order_id": "00000000-0000-0000-0000-000000000000",
              "carrier": "UPS",
              "service": "manual",
              "tracking_number": "https://www.ups.com/WebTracking?loc=en_US&requester=ST&trackNums=ABCDEFGH1234567890",
              "tracking_url": "ABCDEFGH1234567890",
              "line_items": [
                {
                  "id": "00000000-0000-0000-0000-000000000000",
                  "product_id": "00000000-0000-0000-0000-000000000000",
                  "variant_id": "00000000-0000-0000-0000-000000000000",
                  "price": 12.34,
                  "quantity": 2,
                  "sku": "RUTTER-1",
                  "title": "Rutter Shirt (Large)"
                }
              ]
            }
          ],
          "transactions": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "order_id": "00000000-0000-0000-0000-000000000000",
              "payment_method_type": "card",
              "status": "success",
              "type": "sale",
              "amount": 31.99,
              "gateway": "paypal",
              "gateway_data": null,
              "iso_currency_code": "USD",
              "created_at": "2023-02-01T05:21:24.000Z",
              "updated_at": "2023-02-01T05:21:24.000Z"
            }
          ],
          "line_items": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "platform_id": "12345678",
              "product_id": "00000000-0000-0000-0000-000000000000",
              "variant_id": "00000000-0000-0000-0000-000000000000",
              "price": 14,
              "quantity": 1,
              "iso_currency_code": "USD",
              "sku": "Intelligent-Soft-Table-872793",
              "title": "Handcrafted-Practical Wooden Towels",
              "unit_cost": 14,
              "created_at": "2023-01-02T02:34:56.000Z",
              "updated_at": "2023-01-02T02:34:56.000Z"
            },
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "platform_id": "12345678",
              "product_id": "00000000-0000-0000-0000-000000000000",
              "variant_id": "00000000-0000-0000-0000-000000000000",
              "price": 14,
              "quantity": 1,
              "iso_currency_code": "USD",
              "sku": "Intelligent-Wooden-Salad-164653",
              "title": "Incredible-Tasty Fresh Pants",
              "unit_cost": 14,
              "created_at": "2023-01-02T02:34:56.000Z",
              "updated_at": "2023-01-02T02:34:56.000Z"
            }
          ],
          "created_at": "2023-01-02T02:34:56.000Z",
          "updated_at": "2023-01-02T02:34:56.000Z"
        }
      },
      "ListOrdersResponse_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "SHOPIFY"
          },
          "orders": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "platform_id": "12345678",
              "cancelled_at": "2023-01-02T02:34:56.000Z",
              "payment_status": "paid",
              "status": "active",
              "total_discount": 5,
              "total_price": 37.34,
              "fulfillment_status": "unfulfilled",
              "iso_currency_code": "USD",
              "order_number": "12345",
              "source_name": "web",
              "total_line_items_price": 28,
              "total_shipping": 12.34,
              "total_shipping_discount": 0,
              "total_tax": 2,
              "billing_address": {
                "address1": "123 Rutter Road",
                "address2": "Floor 4",
                "city": "San Francisco",
                "country_code": "USA",
                "first_name": "Eric",
                "last_name": "Yu",
                "postal_code": "94110",
                "region": "CA",
                "phone": "1234567890"
              },
              "shipping_address": {
                "address1": "123 Rutter Road",
                "address2": "Floor 4",
                "city": "San Francisco",
                "country_code": "USA",
                "first_name": "Eric",
                "last_name": "Yu",
                "postal_code": "94110",
                "region": "CA",
                "phone": "1234567890"
              },
              "customer": {
                "id": "00000000-0000-0000-0000-000000000000",
                "platform_id": "12345678",
                "email": "eric@rutter.com",
                "first_name": "Eric",
                "last_name": "Yu",
                "phone": "1234567890",
                "created_at": "2023-01-02T02:34:56.000Z",
                "updated_at": "2023-01-02T02:34:56.000Z"
              },
              "fulfillments": [
                {
                  "id": "00000000-0000-0000-0000-000000000000",
                  "order_id": "00000000-0000-0000-0000-000000000000",
                  "carrier": "UPS",
                  "service": "manual",
                  "tracking_number": "https://www.ups.com/WebTracking?loc=en_US&requester=ST&trackNums=ABCDEFGH1234567890",
                  "tracking_url": "ABCDEFGH1234567890",
                  "line_items": [
                    {
                      "id": "00000000-0000-0000-0000-000000000000",
                      "product_id": "00000000-0000-0000-0000-000000000000",
                      "variant_id": "00000000-0000-0000-0000-000000000000",
                      "price": 12.34,
                      "quantity": 2,
                      "sku": "RUTTER-1",
                      "title": "Rutter Shirt (Large)"
                    }
                  ]
                }
              ],
              "transactions": [
                {
                  "id": "00000000-0000-0000-0000-000000000000",
                  "order_id": "00000000-0000-0000-0000-000000000000",
                  "payment_method_type": "card",
                  "status": "success",
                  "type": "sale",
                  "amount": 31.99,
                  "gateway": "paypal",
                  "gateway_data": null,
                  "iso_currency_code": "USD",
                  "created_at": "2023-02-01T05:21:24.000Z",
                  "updated_at": "2023-02-01T05:21:24.000Z"
                }
              ],
              "line_items": [
                {
                  "id": "00000000-0000-0000-0000-000000000000",
                  "platform_id": "12345678",
                  "product_id": "00000000-0000-0000-0000-000000000000",
                  "variant_id": "00000000-0000-0000-0000-000000000000",
                  "price": 14,
                  "quantity": 1,
                  "iso_currency_code": "USD",
                  "sku": "Intelligent-Soft-Table-872793",
                  "title": "Handcrafted-Practical Wooden Towels",
                  "unit_cost": 14,
                  "created_at": "2023-01-02T02:34:56.000Z",
                  "updated_at": "2023-01-02T02:34:56.000Z"
                },
                {
                  "id": "00000000-0000-0000-0000-000000000000",
                  "platform_id": "12345678",
                  "product_id": "00000000-0000-0000-0000-000000000000",
                  "variant_id": "00000000-0000-0000-0000-000000000000",
                  "price": 14,
                  "quantity": 1,
                  "iso_currency_code": "USD",
                  "sku": "Intelligent-Wooden-Salad-164653",
                  "title": "Incredible-Tasty Fresh Pants",
                  "unit_cost": 14,
                  "created_at": "2023-01-02T02:34:56.000Z",
                  "updated_at": "2023-01-02T02:34:56.000Z"
                }
              ],
              "created_at": "2023-01-02T02:34:56.000Z",
              "updated_at": "2023-01-02T02:34:56.000Z"
            }
          ],
          "next_cursor": null
        }
      },
      "CreateOrderBody_Example": {
        "value": {
          "order": {
            "currency_code": "USD",
            "line_items": [
              {
                "variant_id": "00000000-0000-0000-0000-000000000000",
                "quantity": 1
              },
              {
                "variant_id": "00000000-0000-0000-0000-000000000000",
                "quantity": 2
              }
            ],
            "customer": {
              "email": "eric@rutter.com",
              "first_name": "Eric",
              "last_name": "Yu"
            },
            "billing_address": {
              "address1": "123 Rutter Road",
              "address2": "Floor 4",
              "city": "San Francisco",
              "country_code": "USA",
              "first_name": "Eric",
              "last_name": "Yu",
              "postal_code": "94110",
              "region": "CA",
              "email": "eric@rutter.com",
              "phone": "1234567890"
            },
            "shipping_address": {
              "address1": "123 Rutter Road",
              "address2": "Floor 4",
              "city": "San Francisco",
              "country_code": "USA",
              "first_name": "Eric",
              "last_name": "Yu",
              "postal_code": "94110",
              "region": "CA",
              "email": "eric@rutter.com",
              "phone": "1234567890"
            }
          }
        }
      },
      "CreateOrderResponse_Example": {
        "value": {
          "order": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "cancelled_at": "2023-01-02T02:34:56.000Z",
            "payment_status": "paid",
            "status": "active",
            "total_discount": 5,
            "total_price": 37.34,
            "fulfillment_status": "unfulfilled",
            "iso_currency_code": "USD",
            "order_number": "12345",
            "source_name": "web",
            "total_line_items_price": 28,
            "total_shipping": 12.34,
            "total_shipping_discount": 0,
            "total_tax": 2,
            "billing_address": {
              "address1": "123 Rutter Road",
              "address2": "Floor 4",
              "city": "San Francisco",
              "country_code": "USA",
              "first_name": "Eric",
              "last_name": "Yu",
              "postal_code": "94110",
              "region": "CA",
              "phone": "1234567890"
            },
            "shipping_address": {
              "address1": "123 Rutter Road",
              "address2": "Floor 4",
              "city": "San Francisco",
              "country_code": "USA",
              "first_name": "Eric",
              "last_name": "Yu",
              "postal_code": "94110",
              "region": "CA",
              "phone": "1234567890"
            },
            "customer": {
              "id": "00000000-0000-0000-0000-000000000000",
              "platform_id": "12345678",
              "email": "eric@rutter.com",
              "first_name": "Eric",
              "last_name": "Yu",
              "phone": "1234567890",
              "created_at": "2023-01-02T02:34:56.000Z",
              "updated_at": "2023-01-02T02:34:56.000Z"
            },
            "fulfillments": [
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "order_id": "00000000-0000-0000-0000-000000000000",
                "carrier": "UPS",
                "service": "manual",
                "tracking_number": "https://www.ups.com/WebTracking?loc=en_US&requester=ST&trackNums=ABCDEFGH1234567890",
                "tracking_url": "ABCDEFGH1234567890",
                "line_items": [
                  {
                    "id": "00000000-0000-0000-0000-000000000000",
                    "product_id": "00000000-0000-0000-0000-000000000000",
                    "variant_id": "00000000-0000-0000-0000-000000000000",
                    "price": 12.34,
                    "quantity": 2,
                    "sku": "RUTTER-1",
                    "title": "Rutter Shirt (Large)"
                  }
                ]
              }
            ],
            "transactions": [
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "order_id": "00000000-0000-0000-0000-000000000000",
                "payment_method_type": "card",
                "status": "success",
                "type": "sale",
                "amount": 31.99,
                "gateway": "paypal",
                "gateway_data": null,
                "iso_currency_code": "USD",
                "created_at": "2023-02-01T05:21:24.000Z",
                "updated_at": "2023-02-01T05:21:24.000Z"
              }
            ],
            "line_items": [
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "platform_id": "12345678",
                "product_id": "00000000-0000-0000-0000-000000000000",
                "variant_id": "00000000-0000-0000-0000-000000000000",
                "price": 14,
                "quantity": 1,
                "iso_currency_code": "USD",
                "sku": "Intelligent-Soft-Table-872793",
                "title": "Handcrafted-Practical Wooden Towels",
                "unit_cost": 14,
                "created_at": "2023-01-02T02:34:56.000Z",
                "updated_at": "2023-01-02T02:34:56.000Z"
              },
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "platform_id": "12345678",
                "product_id": "00000000-0000-0000-0000-000000000000",
                "variant_id": "00000000-0000-0000-0000-000000000000",
                "price": 14,
                "quantity": 1,
                "iso_currency_code": "USD",
                "sku": "Intelligent-Wooden-Salad-164653",
                "title": "Incredible-Tasty Fresh Pants",
                "unit_cost": 14,
                "created_at": "2023-01-02T02:34:56.000Z",
                "updated_at": "2023-01-02T02:34:56.000Z"
              }
            ],
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z"
          }
        }
      },
      "GetOrderResponse_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "SHOPIFY"
          },
          "order": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "cancelled_at": "2023-01-02T02:34:56.000Z",
            "payment_status": "paid",
            "status": "active",
            "total_discount": 5,
            "total_price": 37.34,
            "fulfillment_status": "unfulfilled",
            "iso_currency_code": "USD",
            "order_number": "12345",
            "source_name": "web",
            "total_line_items_price": 28,
            "total_shipping": 12.34,
            "total_shipping_discount": 0,
            "total_tax": 2,
            "billing_address": {
              "address1": "123 Rutter Road",
              "address2": "Floor 4",
              "city": "San Francisco",
              "country_code": "USA",
              "first_name": "Eric",
              "last_name": "Yu",
              "postal_code": "94110",
              "region": "CA",
              "phone": "1234567890"
            },
            "shipping_address": {
              "address1": "123 Rutter Road",
              "address2": "Floor 4",
              "city": "San Francisco",
              "country_code": "USA",
              "first_name": "Eric",
              "last_name": "Yu",
              "postal_code": "94110",
              "region": "CA",
              "phone": "1234567890"
            },
            "customer": {
              "id": "00000000-0000-0000-0000-000000000000",
              "platform_id": "12345678",
              "email": "eric@rutter.com",
              "first_name": "Eric",
              "last_name": "Yu",
              "phone": "1234567890",
              "created_at": "2023-01-02T02:34:56.000Z",
              "updated_at": "2023-01-02T02:34:56.000Z"
            },
            "fulfillments": [
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "order_id": "00000000-0000-0000-0000-000000000000",
                "carrier": "UPS",
                "service": "manual",
                "tracking_number": "https://www.ups.com/WebTracking?loc=en_US&requester=ST&trackNums=ABCDEFGH1234567890",
                "tracking_url": "ABCDEFGH1234567890",
                "line_items": [
                  {
                    "id": "00000000-0000-0000-0000-000000000000",
                    "product_id": "00000000-0000-0000-0000-000000000000",
                    "variant_id": "00000000-0000-0000-0000-000000000000",
                    "price": 12.34,
                    "quantity": 2,
                    "sku": "RUTTER-1",
                    "title": "Rutter Shirt (Large)"
                  }
                ]
              }
            ],
            "transactions": [
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "order_id": "00000000-0000-0000-0000-000000000000",
                "payment_method_type": "card",
                "status": "success",
                "type": "sale",
                "amount": 31.99,
                "gateway": "paypal",
                "gateway_data": null,
                "iso_currency_code": "USD",
                "created_at": "2023-02-01T05:21:24.000Z",
                "updated_at": "2023-02-01T05:21:24.000Z"
              }
            ],
            "line_items": [
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "platform_id": "12345678",
                "product_id": "00000000-0000-0000-0000-000000000000",
                "variant_id": "00000000-0000-0000-0000-000000000000",
                "price": 14,
                "quantity": 1,
                "iso_currency_code": "USD",
                "sku": "Intelligent-Soft-Table-872793",
                "title": "Handcrafted-Practical Wooden Towels",
                "unit_cost": 14,
                "created_at": "2023-01-02T02:34:56.000Z",
                "updated_at": "2023-01-02T02:34:56.000Z"
              },
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "platform_id": "12345678",
                "product_id": "00000000-0000-0000-0000-000000000000",
                "variant_id": "00000000-0000-0000-0000-000000000000",
                "price": 14,
                "quantity": 1,
                "iso_currency_code": "USD",
                "sku": "Intelligent-Wooden-Salad-164653",
                "title": "Incredible-Tasty Fresh Pants",
                "unit_cost": 14,
                "created_at": "2023-01-02T02:34:56.000Z",
                "updated_at": "2023-01-02T02:34:56.000Z"
              }
            ],
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z"
          }
        }
      },
      "UpdateOrderBody_Example": {
        "value": {
          "order": {
            "status": "cancelled"
          }
        }
      },
      "Payout_Example": {
        "value": {
          "id": "00000000-0000-0000-0000-000000000000",
          "gateway_account_id": "123456789",
          "arrival_at": "2023-01-02T02:34:56.000Z",
          "amount": 12.34,
          "gateway": "bank_account",
          "iso_currency_code": "USD",
          "schedule": "manual",
          "status": "paid",
          "type": "bank_account",
          "method": "standard",
          "destination": {
            "destination_id": "123456789",
            "account_number_last_digits": "1234",
            "bank_name": "Wells Fargo",
            "brand": "Wells Fargo",
            "last_four": "1234",
            "routing_number": "123456789"
          },
          "transactions": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "order_id": "00000000-0000-0000-0000-000000000000",
              "payment_method_type": "cash",
              "status": "success",
              "type": "sale",
              "amount": 12.34,
              "gateway": "bank_account",
              "gateway_data": {
                "platform_type": "bank",
                "amount": 12.34
              },
              "iso_currency_code": "USD",
              "platform_type": "bank",
              "created_at": "2023-01-02T02:34:56.000Z",
              "updated_at": "2023-01-02T02:34:56.000Z"
            }
          ],
          "created_at": "2023-01-02T02:34:56.000Z",
          "updated_at": "2023-01-02T02:34:56.000Z"
        }
      },
      "ListPayoutsResponse_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "SHOPIFY"
          },
          "payouts": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "gateway_account_id": "123456789",
              "arrival_at": "2023-01-02T02:34:56.000Z",
              "amount": 12.34,
              "gateway": "bank_account",
              "iso_currency_code": "USD",
              "schedule": "manual",
              "status": "paid",
              "type": "bank_account",
              "method": "standard",
              "destination": {
                "destination_id": "123456789",
                "account_number_last_digits": "1234",
                "bank_name": "Wells Fargo",
                "brand": "Wells Fargo",
                "last_four": "1234",
                "routing_number": "123456789"
              },
              "transactions": [
                {
                  "id": "00000000-0000-0000-0000-000000000000",
                  "order_id": "00000000-0000-0000-0000-000000000000",
                  "payment_method_type": "cash",
                  "status": "success",
                  "type": "sale",
                  "amount": 12.34,
                  "gateway": "bank_account",
                  "gateway_data": {
                    "platform_type": "bank",
                    "amount": 12.34
                  },
                  "iso_currency_code": "USD",
                  "platform_type": "bank",
                  "created_at": "2023-01-02T02:34:56.000Z",
                  "updated_at": "2023-01-02T02:34:56.000Z"
                }
              ],
              "created_at": "2023-01-02T02:34:56.000Z",
              "updated_at": "2023-01-02T02:34:56.000Z"
            }
          ],
          "next_cursor": "MTY3NDgzMTk0Ml82MDY4ZDI0ZC02NGRmLTRmN2EtYTM0Ny0zN2ZmNjY5MGVmMjU="
        }
      },
      "Product_Example": {
        "value": {
          "id": "00000000-0000-0000-0000-000000000000",
          "platform_id": "12345678",
          "description": "A Rutter Shirt. It comes in all shapes and sizes.",
          "name": "Rutter shirt",
          "type": "physical",
          "product_url": "https://rutter.com/products/shirt",
          "images": [
            {
              "src": "https://rutter.com/products/shirtlarge.jpg"
            },
            {
              "src": "https://rutter.com/products/shirt.jpg"
            },
            {
              "src": "https://rutter.com/products/shirtsmall.jpg"
            }
          ],
          "status": "active",
          "tags": [
            "clothing",
            "shirt"
          ],
          "variants": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "platform_id": "12345678",
              "product_id": "00000000-0000-0000-0000-000000000000",
              "price": 12.34,
              "requires_shipping": true,
              "barcode": "0012345678901",
              "fulfillment_service": "fedex",
              "inventory_management": "shopify",
              "iso_currency_code": "USD",
              "sku": "RUTTER-1",
              "title": "Rutter shirt (Large)",
              "unit_cost": 12.34,
              "variant_url": "https://rutter.com/products/shirt?size=large",
              "description": "A Rutter Shirt. It comes in all shapes and sizes, but this one is large",
              "images": [
                {
                  "src": "https://rutter.com/products/shirtlarge.jpg"
                }
              ],
              "short_description": "Rutter shirt (Large)",
              "option_values": [
                {
                  "name": "size",
                  "value": "large"
                }
              ],
              "currency_prices": [
                {
                  "iso_currency_code": "USD",
                  "price": 12.34
                }
              ],
              "weight": {
                "unit": "kg",
                "value": 10
              },
              "linked_products": [
                {
                  "variant_id": "00000000-0000-0000-0000-000000000000",
                  "link_type": "product",
                  "sku": "RUTTER-2"
                }
              ],
              "inventory": {
                "total_count": 10,
                "locations": []
              },
              "created_at": "2023-01-02T02:34:56.000Z",
              "updated_at": "2023-01-02T02:34:56.000Z"
            }
          ],
          "created_at": "2023-01-02T02:34:56.000Z",
          "updated_at": "2023-01-02T02:34:56.000Z"
        }
      },
      "ListProductsResponse_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "SHOPIFY"
          },
          "products": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "platform_id": "12345678",
              "description": "A Rutter Shirt. It comes in all shapes and sizes.",
              "name": "Rutter shirt",
              "type": "physical",
              "product_url": "https://rutter.com/products/shirt",
              "images": [
                {
                  "src": "https://rutter.com/products/shirtlarge.jpg"
                },
                {
                  "src": "https://rutter.com/products/shirt.jpg"
                },
                {
                  "src": "https://rutter.com/products/shirtsmall.jpg"
                }
              ],
              "status": "active",
              "tags": [
                "clothing",
                "shirt"
              ],
              "variants": [
                {
                  "id": "00000000-0000-0000-0000-000000000000",
                  "platform_id": "12345678",
                  "product_id": "00000000-0000-0000-0000-000000000000",
                  "price": 12.34,
                  "requires_shipping": true,
                  "barcode": "0012345678901",
                  "fulfillment_service": "fedex",
                  "inventory_management": "shopify",
                  "iso_currency_code": "USD",
                  "sku": "RUTTER-1",
                  "title": "Rutter shirt (Large)",
                  "unit_cost": 12.34,
                  "variant_url": "https://rutter.com/products/shirt?size=large",
                  "description": "A Rutter Shirt. It comes in all shapes and sizes, but this one is large",
                  "images": [
                    {
                      "src": "https://rutter.com/products/shirtlarge.jpg"
                    }
                  ],
                  "short_description": "Rutter shirt (Large)",
                  "option_values": [
                    {
                      "name": "size",
                      "value": "large"
                    }
                  ],
                  "currency_prices": [
                    {
                      "iso_currency_code": "USD",
                      "price": 12.34
                    }
                  ],
                  "weight": {
                    "unit": "kg",
                    "value": 10
                  },
                  "linked_products": [
                    {
                      "variant_id": "00000000-0000-0000-0000-000000000000",
                      "link_type": "product",
                      "sku": "RUTTER-2"
                    }
                  ],
                  "inventory": {
                    "total_count": 10,
                    "locations": []
                  },
                  "created_at": "2023-01-02T02:34:56.000Z",
                  "updated_at": "2023-01-02T02:34:56.000Z"
                }
              ],
              "created_at": "2023-01-02T02:34:56.000Z",
              "updated_at": "2023-01-02T02:34:56.000Z"
            }
          ],
          "next_cursor": "MTY3NDgzMTk0Ml82MDY4ZDI0ZC02NGRmLTRmN2EtYTM0Ny0zN2ZmNjY5MGVmMjU="
        }
      },
      "CreateProductBody_Example": {
        "value": {
          "product": {
            "category_id": 123456789,
            "description": "A Rutter Shirt. It comes in all shapes and sizes.",
            "name": "Rutter shirt",
            "status": "active",
            "tags": [
              "clothing",
              "shirt"
            ],
            "images": [
              {
                "src": "https://rutter.com/products/shirtlarge.jpg"
              },
              {
                "src": "https://rutter.com/products/shirt.jpg"
              },
              {
                "src": "https://rutter.com/products/shirtsmall.jpg"
              }
            ],
            "variants": [
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "price": 12.34,
                "sku": "RUTTER-1",
                "images": [
                  {
                    "src": "https://rutter.com/products/shirtlarge.jpg"
                  }
                ],
                "option_values": [
                  {
                    "name": "size",
                    "value": "large"
                  }
                ],
                "weight": {
                  "unit": "kg",
                  "value": 10
                },
                "inventory": {
                  "total_count": 10
                }
              }
            ],
            "additional_fields": {
              "amazon": {
                "sku": "RUTTER-1",
                "display_album": null,
                "decorative_cutout": null,
                "cellular_phone_case": null,
                "wall_art": null,
                "drinking_cup": null,
                "tote_bag": null,
                "shirt": null,
                "sweatshirt": null
              }
            }
          }
        }
      },
      "CreateProductResponse_Example": {
        "value": {
          "product": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "description": "A Rutter Shirt. It comes in all shapes and sizes.",
            "name": "Rutter shirt",
            "type": "physical",
            "product_url": "https://rutter.com/products/shirt",
            "images": [
              {
                "src": "https://rutter.com/products/shirtlarge.jpg"
              },
              {
                "src": "https://rutter.com/products/shirt.jpg"
              },
              {
                "src": "https://rutter.com/products/shirtsmall.jpg"
              }
            ],
            "status": "active",
            "tags": [
              "clothing",
              "shirt"
            ],
            "variants": [
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "platform_id": "12345678",
                "product_id": "00000000-0000-0000-0000-000000000000",
                "price": 12.34,
                "requires_shipping": true,
                "barcode": "0012345678901",
                "fulfillment_service": "fedex",
                "inventory_management": "shopify",
                "iso_currency_code": "USD",
                "sku": "RUTTER-1",
                "title": "Rutter shirt (Large)",
                "unit_cost": 12.34,
                "variant_url": "https://rutter.com/products/shirt?size=large",
                "description": "A Rutter Shirt. It comes in all shapes and sizes, but this one is large",
                "images": [
                  {
                    "src": "https://rutter.com/products/shirtlarge.jpg"
                  }
                ],
                "short_description": "Rutter shirt (Large)",
                "option_values": [
                  {
                    "name": "size",
                    "value": "large"
                  }
                ],
                "currency_prices": [
                  {
                    "iso_currency_code": "USD",
                    "price": 12.34
                  }
                ],
                "weight": {
                  "unit": "kg",
                  "value": 10
                },
                "linked_products": [
                  {
                    "variant_id": "00000000-0000-0000-0000-000000000000",
                    "link_type": "product",
                    "sku": "RUTTER-2"
                  }
                ],
                "inventory": {
                  "total_count": 10,
                  "locations": []
                },
                "created_at": "2023-01-02T02:34:56.000Z",
                "updated_at": "2023-01-02T02:34:56.000Z"
              }
            ],
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z"
          }
        }
      },
      "GetProductResponse_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "SHOPIFY"
          },
          "product": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "description": "A Rutter Shirt. It comes in all shapes and sizes.",
            "name": "Rutter shirt",
            "type": "physical",
            "product_url": "https://rutter.com/products/shirt",
            "images": [
              {
                "src": "https://rutter.com/products/shirtlarge.jpg"
              },
              {
                "src": "https://rutter.com/products/shirt.jpg"
              },
              {
                "src": "https://rutter.com/products/shirtsmall.jpg"
              }
            ],
            "status": "active",
            "tags": [
              "clothing",
              "shirt"
            ],
            "variants": [
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "platform_id": "12345678",
                "product_id": "00000000-0000-0000-0000-000000000000",
                "price": 12.34,
                "requires_shipping": true,
                "barcode": "0012345678901",
                "fulfillment_service": "fedex",
                "inventory_management": "shopify",
                "iso_currency_code": "USD",
                "sku": "RUTTER-1",
                "title": "Rutter shirt (Large)",
                "unit_cost": 12.34,
                "variant_url": "https://rutter.com/products/shirt?size=large",
                "description": "A Rutter Shirt. It comes in all shapes and sizes, but this one is large",
                "images": [
                  {
                    "src": "https://rutter.com/products/shirtlarge.jpg"
                  }
                ],
                "short_description": "Rutter shirt (Large)",
                "option_values": [
                  {
                    "name": "size",
                    "value": "large"
                  }
                ],
                "currency_prices": [
                  {
                    "iso_currency_code": "USD",
                    "price": 12.34
                  }
                ],
                "weight": {
                  "unit": "kg",
                  "value": 10
                },
                "linked_products": [
                  {
                    "variant_id": "00000000-0000-0000-0000-000000000000",
                    "link_type": "product",
                    "sku": "RUTTER-2"
                  }
                ],
                "inventory": {
                  "total_count": 10,
                  "locations": []
                },
                "created_at": "2023-01-02T02:34:56.000Z",
                "updated_at": "2023-01-02T02:34:56.000Z"
              }
            ],
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z"
          }
        }
      },
      "DeleteProductResponse_Example": {
        "value": {
          "product": "00000000-0000-0000-0000-000000000000",
          "success": true
        }
      },
      "UpdateProductBody_Example": {
        "value": {
          "product": {
            "description": "A Rutter Shirt. It comes in all shapes and sizes.",
            "name": "Rutter shirt",
            "status": "active"
          }
        }
      },
      "PatchProductResponse_Example": {
        "value": {
          "product": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "description": "A Rutter Shirt. It comes in all shapes and sizes.",
            "name": "Rutter shirt",
            "type": "physical",
            "product_url": "https://rutter.com/products/shirt",
            "images": [
              {
                "src": "https://rutter.com/products/shirtlarge.jpg"
              },
              {
                "src": "https://rutter.com/products/shirt.jpg"
              },
              {
                "src": "https://rutter.com/products/shirtsmall.jpg"
              }
            ],
            "status": "active",
            "tags": [
              "clothing",
              "shirt"
            ],
            "variants": [
              {
                "id": "00000000-0000-0000-0000-000000000000",
                "platform_id": "12345678",
                "product_id": "00000000-0000-0000-0000-000000000000",
                "price": 12.34,
                "requires_shipping": true,
                "barcode": "0012345678901",
                "fulfillment_service": "fedex",
                "inventory_management": "shopify",
                "iso_currency_code": "USD",
                "sku": "RUTTER-1",
                "title": "Rutter shirt (Large)",
                "unit_cost": 12.34,
                "variant_url": "https://rutter.com/products/shirt?size=large",
                "description": "A Rutter Shirt. It comes in all shapes and sizes, but this one is large",
                "images": [
                  {
                    "src": "https://rutter.com/products/shirtlarge.jpg"
                  }
                ],
                "short_description": "Rutter shirt (Large)",
                "option_values": [
                  {
                    "name": "size",
                    "value": "large"
                  }
                ],
                "currency_prices": [
                  {
                    "iso_currency_code": "USD",
                    "price": 12.34
                  }
                ],
                "weight": {
                  "unit": "kg",
                  "value": 10
                },
                "linked_products": [
                  {
                    "variant_id": "00000000-0000-0000-0000-000000000000",
                    "link_type": "product",
                    "sku": "RUTTER-2"
                  }
                ],
                "inventory": {
                  "total_count": 10,
                  "locations": []
                },
                "created_at": "2023-01-02T02:34:56.000Z",
                "updated_at": "2023-01-02T02:34:56.000Z"
              }
            ],
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z"
          }
        }
      },
      "CreateVariantBody_Example": {
        "value": {
          "variant": {
            "id": "00000000-0000-0000-0000-000000000000",
            "price": 12.34,
            "sku": "RUTTER-1",
            "images": [
              {
                "src": "https://rutter.com/products/shirtlarge.jpg"
              }
            ],
            "option_values": [
              {
                "name": "size",
                "value": "large"
              }
            ],
            "weight": {
              "unit": "kg",
              "value": 10
            },
            "inventory": {
              "total_count": 10
            }
          }
        }
      },
      "VariantResponse_Example": {
        "value": {
          "variant": {
            "id": "00000000-0000-0000-0000-000000000000",
            "platform_id": "12345678",
            "product_id": "00000000-0000-0000-0000-000000000000",
            "price": 12.34,
            "requires_shipping": true,
            "barcode": "0012345678901",
            "fulfillment_service": "fedex",
            "inventory_management": "shopify",
            "iso_currency_code": "USD",
            "sku": "RUTTER-1",
            "title": "Rutter shirt (Large)",
            "unit_cost": 12.34,
            "variant_url": "https://rutter.com/products/shirt?size=large",
            "description": "A Rutter Shirt. It comes in all shapes and sizes, but this one is large",
            "images": [
              {
                "src": "https://rutter.com/products/shirtlarge.jpg"
              }
            ],
            "short_description": "Rutter shirt (Large)",
            "option_values": [
              {
                "name": "size",
                "value": "large"
              }
            ],
            "currency_prices": [
              {
                "iso_currency_code": "USD",
                "price": 12.34
              }
            ],
            "weight": {
              "unit": "kg",
              "value": 10
            },
            "linked_products": [
              {
                "variant_id": "00000000-0000-0000-0000-000000000000",
                "link_type": "product",
                "sku": "RUTTER-2"
              }
            ],
            "inventory": {
              "total_count": 10,
              "locations": []
            },
            "created_at": "2023-01-02T02:34:56.000Z",
            "updated_at": "2023-01-02T02:34:56.000Z"
          }
        }
      },
      "DeleteVariantResponse_Example": {
        "value": {
          "productId": "00000000-0000-0000-0000-000000000000",
          "variantId": "00000000-0000-0000-0000-000000000000"
        }
      },
      "UpdateVariantBody_Example": {
        "value": {
          "variant": {
            "id": "00000000-0000-0000-0000-000000000000",
            "price": 12.34,
            "sku": "RUTTER-1",
            "images": [
              {
                "src": "https://rutter.com/products/shirtlarge.jpg"
              }
            ],
            "weight": {
              "unit": "kg",
              "value": 10
            },
            "option_values": [
              {
                "name": "size",
                "value": "large"
              }
            ],
            "inventory": {
              "total_count": 10
            }
          }
        }
      },
      "ListProductCategoriesResponse_Example": {
        "value": {
          "categories": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "name": "Shirts",
              "children": [
                {
                  "id": "00000000-0000-0000-0000-000000000000",
                  "name": "T Shirts",
                  "children": []
                },
                {
                  "id": "00000000-0000-0000-0000-000000000000",
                  "name": "Long sleeve shirts",
                  "children": []
                }
              ]
            }
          ]
        }
      },
      "Store_Example": {
        "value": {
          "id": "00000000-0000-0000-0000-000000000000",
          "store_name": "The Rutter Store",
          "url": "https://www.rutter.com",
          "default_currency": "USD",
          "email": "eric@rutter.com"
        }
      },
      "GetStoreResponse_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "SHOPIFY"
          },
          "store": {
            "id": "00000000-0000-0000-0000-000000000000",
            "store_name": "The Rutter Store",
            "url": "https://www.rutter.com",
            "default_currency": "USD",
            "email": "eric@rutter.com"
          }
        }
      },
      "Subscription_Example": {
        "value": {
          "id": "00000000-0000-0000-0000-000000000000",
          "platform_id": "12345678",
          "platform_customer_id": "12345678",
          "iso_currency_code": "USD",
          "status": "active",
          "items": [
            {
              "platform_id": "12345678",
              "interval": "month",
              "interval_count": 1,
              "quantity": 2,
              "amount": 24.68,
              "unit_amount": 12.34
            }
          ],
          "created_at": "2023-01-02T02:34:56.000Z",
          "updated_at": "2023-01-02T02:34:56.000Z"
        }
      },
      "ListSubscriptionsResponse_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "SHOPIFY"
          },
          "subscriptions": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "platform_id": "12345678",
              "platform_customer_id": "12345678",
              "iso_currency_code": "USD",
              "status": "active",
              "items": [
                {
                  "platform_id": "12345678",
                  "interval": "month",
                  "interval_count": 1,
                  "quantity": 2,
                  "amount": 24.68,
                  "unit_amount": 12.34
                }
              ],
              "created_at": "2023-01-02T02:34:56.000Z",
              "updated_at": "2023-01-02T02:34:56.000Z"
            }
          ],
          "next_cursor": "MTY3NDgzMTk0Ml82MDY4ZDI0ZC02NGRmLTRmN2EtYTM0Ny0zN2ZmNjY5MGVmMjU="
        }
      },
      "ListTransactionsResponse_Example": {
        "value": {
          "connection": {
            "id": "00000000-0000-0000-0000-000000000000",
            "orgId": "00000000-0000-0000-0000-000000000000",
            "platform": "SHOPIFY"
          },
          "transactions": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "platform_id": "12345678",
              "order_id": "00000000-0000-0000-0000-000000000000",
              "platform_customer_id": "12345678",
              "payment_method_type": "card",
              "status": "success",
              "type": "sale",
              "amount": 12.34,
              "fee": 1,
              "gateway": "bank_account",
              "gateway_data": "123456789",
              "iso_currency_code": "USD",
              "platform_type": "card",
              "description": "For order 1234",
              "created_at": "2023-01-02T02:34:56.000Z",
              "updated_at": "2023-01-02T02:34:56.000Z",
              "platform_data": {
                "id": 123,
                "data": "Varies by platform"
              }
            }
          ],
          "next_cursor": "MTY3NDgzMTk0Ml82MDY4ZDI0ZC02NGRmLTRmN2EtYTM0Ny0zN2ZmNjY5MGVmMjU="
        }
      }
    },
    "callbacks": {
      "account": {
        "/account": {
          "post": {
            "requestBody": {
              "content": {
                "application/json": {
                  "schema": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "ACCOUNT"
                        ]
                      },
                      "code": {
                        "type": "string",
                        "enum": [
                          "ACCOUNT_CREATED"
                        ]
                      },
                      "connection_id": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The access token of the connection."
                      },
                      "access_token": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The connection ID"
                      },
                      "account": {
                        "type": "object",
                        "properties": {}
                      }
                    }
                  },
                  "example": {
                    "type": "ACCOUNT",
                    "code": "ACCOUNT_CREATED",
                    "connection_id": "f53bd178-0834-456d-adc0-735a6cf64002",
                    "access_token": "c37ffdf3-48b3-4e7b-a224-1732d71e655f",
                    "account": {}
                  }
                }
              }
            },
            "responses": {
              "200": {
                "description": ""
              }
            },
            "x-supported-platforms": []
          },
          "delete": {
            "requestBody": {
              "content": {
                "application/json": {
                  "schema": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "ACCOUNT"
                        ]
                      },
                      "code": {
                        "type": "string",
                        "enum": [
                          "ACCOUNT_DELETED"
                        ]
                      },
                      "connection_id": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The access token of the connection."
                      },
                      "access_token": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The connection ID"
                      },
                      "account": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "description": "ID of the deleted entity"
                          },
                          "deleted_at": {
                            "type": "string",
                            "format": "The timestamp when the entity was deleted."
                          }
                        }
                      }
                    }
                  },
                  "example": {
                    "type": "ACCOUNT",
                    "code": "ACCOUNT_DELETED",
                    "connection_id": "f53bd178-0834-456d-adc0-735a6cf64002",
                    "access_token": "c37ffdf3-48b3-4e7b-a224-1732d71e655f",
                    "account": {
                      "id": "3ca7e1cb-48ce-4bb9-a0d7-6ab6250aff76",
                      "deleted_at": "2024-01-03T13:47:26.000Z"
                    }
                  }
                }
              }
            },
            "responses": {
              "200": {
                "description": ""
              }
            },
            "x-supported-platforms": [
              "QUICKBOOKS",
              "NETSUITE"
            ]
          },
          "patch": {
            "requestBody": {
              "content": {
                "application/json": {
                  "schema": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "ACCOUNT"
                        ]
                      },
                      "code": {
                        "type": "string",
                        "enum": [
                          "ACCOUNT_UPDATED"
                        ]
                      },
                      "connection_id": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The access token of the connection."
                      },
                      "access_token": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The connection ID"
                      },
                      "account": {
                        "type": "object",
                        "properties": {}
                      }
                    }
                  },
                  "example": {
                    "type": "ACCOUNT",
                    "code": "ACCOUNT_UPDATED",
                    "connection_id": "f53bd178-0834-456d-adc0-735a6cf64002",
                    "access_token": "c37ffdf3-48b3-4e7b-a224-1732d71e655f",
                    "account": {}
                  }
                }
              }
            },
            "responses": {
              "200": {
                "description": ""
              }
            },
            "x-supported-platforms": []
          }
        }
      },
      "bank_deposit": {
        "/bank_deposit": {
          "delete": {
            "requestBody": {
              "content": {
                "application/json": {
                  "schema": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "BANK_DEPOSIT"
                        ]
                      },
                      "code": {
                        "type": "string",
                        "enum": [
                          "BANK_DEPOSIT_DELETED"
                        ]
                      },
                      "connection_id": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The access token of the connection."
                      },
                      "access_token": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The connection ID"
                      },
                      "bank_deposit": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "description": "ID of the deleted entity"
                          },
                          "deleted_at": {
                            "type": "string",
                            "format": "The timestamp when the entity was deleted."
                          }
                        }
                      }
                    }
                  },
                  "example": {
                    "type": "BANK_DEPOSIT",
                    "code": "BANK_DEPOSIT_DELETED",
                    "connection_id": "f53bd178-0834-456d-adc0-735a6cf64002",
                    "access_token": "c37ffdf3-48b3-4e7b-a224-1732d71e655f",
                    "bank_deposit": {
                      "id": "3ca7e1cb-48ce-4bb9-a0d7-6ab6250aff76",
                      "deleted_at": "2024-01-03T13:47:26.000Z"
                    }
                  }
                }
              }
            },
            "responses": {
              "200": {
                "description": ""
              }
            },
            "x-supported-platforms": [
              "QUICKBOOKS",
              "NETSUITE"
            ]
          }
        }
      },
      "bank_transfer": {
        "/bank_transfer": {
          "delete": {
            "requestBody": {
              "content": {
                "application/json": {
                  "schema": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "BANK_TRANSFER"
                        ]
                      },
                      "code": {
                        "type": "string",
                        "enum": [
                          "BANK_TRANSFER_DELETED"
                        ]
                      },
                      "connection_id": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The access token of the connection."
                      },
                      "access_token": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The connection ID"
                      },
                      "bank_transfer": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "description": "ID of the deleted entity"
                          },
                          "deleted_at": {
                            "type": "string",
                            "format": "The timestamp when the entity was deleted."
                          }
                        }
                      }
                    }
                  },
                  "example": {
                    "type": "BANK_TRANSFER",
                    "code": "BANK_TRANSFER_DELETED",
                    "connection_id": "f53bd178-0834-456d-adc0-735a6cf64002",
                    "access_token": "c37ffdf3-48b3-4e7b-a224-1732d71e655f",
                    "bank_transfer": {
                      "id": "3ca7e1cb-48ce-4bb9-a0d7-6ab6250aff76",
                      "deleted_at": "2024-01-03T13:47:26.000Z"
                    }
                  }
                }
              }
            },
            "responses": {
              "200": {
                "description": ""
              }
            },
            "x-supported-platforms": [
              "QUICKBOOKS",
              "NETSUITE"
            ]
          }
        }
      },
      "bill": {
        "/bill": {
          "post": {
            "requestBody": {
              "content": {
                "application/json": {
                  "schema": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "BILL"
                        ]
                      },
                      "code": {
                        "type": "string",
                        "enum": [
                          "BILL_CREATED"
                        ]
                      },
                      "connection_id": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The access token of the connection."
                      },
                      "access_token": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The connection ID"
                      },
                      "bill": {
                        "type": "object",
                        "properties": {}
                      }
                    }
                  },
                  "example": {
                    "type": "BILL",
                    "code": "BILL_CREATED",
                    "connection_id": "f53bd178-0834-456d-adc0-735a6cf64002",
                    "access_token": "c37ffdf3-48b3-4e7b-a224-1732d71e655f",
                    "bill": {}
                  }
                }
              }
            },
            "responses": {
              "200": {
                "description": ""
              }
            },
            "x-supported-platforms": []
          },
          "delete": {
            "requestBody": {
              "content": {
                "application/json": {
                  "schema": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "BILL"
                        ]
                      },
                      "code": {
                        "type": "string",
                        "enum": [
                          "BILL_DELETED"
                        ]
                      },
                      "connection_id": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The access token of the connection."
                      },
                      "access_token": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The connection ID"
                      },
                      "bill": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "description": "ID of the deleted entity"
                          },
                          "deleted_at": {
                            "type": "string",
                            "format": "The timestamp when the entity was deleted."
                          }
                        }
                      }
                    }
                  },
                  "example": {
                    "type": "BILL",
                    "code": "BILL_DELETED",
                    "connection_id": "f53bd178-0834-456d-adc0-735a6cf64002",
                    "access_token": "c37ffdf3-48b3-4e7b-a224-1732d71e655f",
                    "bill": {
                      "id": "3ca7e1cb-48ce-4bb9-a0d7-6ab6250aff76",
                      "deleted_at": "2024-01-03T13:47:26.000Z"
                    }
                  }
                }
              }
            },
            "responses": {
              "200": {
                "description": ""
              }
            },
            "x-supported-platforms": [
              "QUICKBOOKS",
              "NETSUITE"
            ]
          },
          "patch": {
            "requestBody": {
              "content": {
                "application/json": {
                  "schema": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "BILL"
                        ]
                      },
                      "code": {
                        "type": "string",
                        "enum": [
                          "BILL_UPDATED"
                        ]
                      },
                      "connection_id": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The access token of the connection."
                      },
                      "access_token": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The connection ID"
                      },
                      "bill": {
                        "type": "object",
                        "properties": {}
                      }
                    }
                  },
                  "example": {
                    "type": "BILL",
                    "code": "BILL_UPDATED",
                    "connection_id": "f53bd178-0834-456d-adc0-735a6cf64002",
                    "access_token": "c37ffdf3-48b3-4e7b-a224-1732d71e655f",
                    "bill": {}
                  }
                }
              }
            },
            "responses": {
              "200": {
                "description": ""
              }
            },
            "x-supported-platforms": []
          }
        }
      },
      "bill_credit_memo": {
        "/bill_credit_memo": {
          "delete": {
            "requestBody": {
              "content": {
                "application/json": {
                  "schema": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "BILL_CREDIT_MEMO"
                        ]
                      },
                      "code": {
                        "type": "string",
                        "enum": [
                          "BILL_CREDIT_MEMO_DELETED"
                        ]
                      },
                      "connection_id": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The access token of the connection."
                      },
                      "access_token": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The connection ID"
                      },
                      "bill_credit_memo": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "description": "ID of the deleted entity"
                          },
                          "deleted_at": {
                            "type": "string",
                            "format": "The timestamp when the entity was deleted."
                          }
                        }
                      }
                    }
                  },
                  "example": {
                    "type": "BILL_CREDIT_MEMO",
                    "code": "BILL_CREDIT_MEMO_DELETED",
                    "connection_id": "f53bd178-0834-456d-adc0-735a6cf64002",
                    "access_token": "c37ffdf3-48b3-4e7b-a224-1732d71e655f",
                    "bill_credit_memo": {
                      "id": "3ca7e1cb-48ce-4bb9-a0d7-6ab6250aff76",
                      "deleted_at": "2024-01-03T13:47:26.000Z"
                    }
                  }
                }
              }
            },
            "responses": {
              "200": {
                "description": ""
              }
            },
            "x-supported-platforms": [
              "QUICKBOOKS",
              "NETSUITE"
            ]
          }
        }
      },
      "bill_credit_application": {
        "/bill_credit_application": {
          "delete": {
            "requestBody": {
              "content": {
                "application/json": {
                  "schema": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "BILL_CREDIT_APPLICATION"
                        ]
                      },
                      "code": {
                        "type": "string",
                        "enum": [
                          "BILL_CREDIT_APPLICATION_DELETED"
                        ]
                      },
                      "connection_id": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The access token of the connection."
                      },
                      "access_token": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The connection ID"
                      },
                      "bill_credit_application": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "description": "ID of the deleted entity"
                          },
                          "deleted_at": {
                            "type": "string",
                            "format": "The timestamp when the entity was deleted."
                          }
                        }
                      }
                    }
                  },
                  "example": {
                    "type": "BILL_CREDIT_APPLICATION",
                    "code": "BILL_CREDIT_APPLICATION_DELETED",
                    "connection_id": "f53bd178-0834-456d-adc0-735a6cf64002",
                    "access_token": "c37ffdf3-48b3-4e7b-a224-1732d71e655f",
                    "bill_credit_application": {
                      "id": "3ca7e1cb-48ce-4bb9-a0d7-6ab6250aff76",
                      "deleted_at": "2024-01-03T13:47:26.000Z"
                    }
                  }
                }
              }
            },
            "responses": {
              "200": {
                "description": ""
              }
            },
            "x-supported-platforms": [
              "QUICKBOOKS",
              "NETSUITE"
            ]
          }
        }
      },
      "bill_payment": {
        "/bill_payment": {
          "post": {
            "requestBody": {
              "content": {
                "application/json": {
                  "schema": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "BILL_PAYMENT"
                        ]
                      },
                      "code": {
                        "type": "string",
                        "enum": [
                          "BILL_PAYMENT_CREATED"
                        ]
                      },
                      "connection_id": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The access token of the connection."
                      },
                      "access_token": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The connection ID"
                      },
                      "bill_payment": {
                        "type": "object",
                        "properties": {}
                      }
                    }
                  },
                  "example": {
                    "type": "BILL_PAYMENT",
                    "code": "BILL_PAYMENT_CREATED",
                    "connection_id": "f53bd178-0834-456d-adc0-735a6cf64002",
                    "access_token": "c37ffdf3-48b3-4e7b-a224-1732d71e655f",
                    "bill_payment": {}
                  }
                }
              }
            },
            "responses": {
              "200": {
                "description": ""
              }
            },
            "x-supported-platforms": []
          },
          "delete": {
            "requestBody": {
              "content": {
                "application/json": {
                  "schema": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "BILL_PAYMENT"
                        ]
                      },
                      "code": {
                        "type": "string",
                        "enum": [
                          "BILL_PAYMENT_DELETED"
                        ]
                      },
                      "connection_id": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The access token of the connection."
                      },
                      "access_token": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The connection ID"
                      },
                      "bill_payment": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "description": "ID of the deleted entity"
                          },
                          "deleted_at": {
                            "type": "string",
                            "format": "The timestamp when the entity was deleted."
                          }
                        }
                      }
                    }
                  },
                  "example": {
                    "type": "BILL_PAYMENT",
                    "code": "BILL_PAYMENT_DELETED",
                    "connection_id": "f53bd178-0834-456d-adc0-735a6cf64002",
                    "access_token": "c37ffdf3-48b3-4e7b-a224-1732d71e655f",
                    "bill_payment": {
                      "id": "3ca7e1cb-48ce-4bb9-a0d7-6ab6250aff76",
                      "deleted_at": "2024-01-03T13:47:26.000Z"
                    }
                  }
                }
              }
            },
            "responses": {
              "200": {
                "description": ""
              }
            },
            "x-supported-platforms": [
              "QUICKBOOKS",
              "NETSUITE"
            ]
          },
          "patch": {
            "requestBody": {
              "content": {
                "application/json": {
                  "schema": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "BILL_PAYMENT"
                        ]
                      },
                      "code": {
                        "type": "string",
                        "enum": [
                          "BILL_PAYMENT_UPDATED"
                        ]
                      },
                      "connection_id": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The access token of the connection."
                      },
                      "access_token": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The connection ID"
                      },
                      "bill_payment": {
                        "type": "object",
                        "properties": {}
                      }
                    }
                  },
                  "example": {
                    "type": "BILL_PAYMENT",
                    "code": "BILL_PAYMENT_UPDATED",
                    "connection_id": "f53bd178-0834-456d-adc0-735a6cf64002",
                    "access_token": "c37ffdf3-48b3-4e7b-a224-1732d71e655f",
                    "bill_payment": {}
                  }
                }
              }
            },
            "responses": {
              "200": {
                "description": ""
              }
            },
            "x-supported-platforms": []
          }
        }
      },
      "class": {
        "/class": {
          "delete": {
            "requestBody": {
              "content": {
                "application/json": {
                  "schema": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "CLASS"
                        ]
                      },
                      "code": {
                        "type": "string",
                        "enum": [
                          "CLASS_DELETED"
                        ]
                      },
                      "connection_id": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The access token of the connection."
                      },
                      "access_token": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The connection ID"
                      },
                      "class": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "description": "ID of the deleted entity"
                          },
                          "deleted_at": {
                            "type": "string",
                            "format": "The timestamp when the entity was deleted."
                          }
                        }
                      }
                    }
                  },
                  "example": {
                    "type": "CLASS",
                    "code": "CLASS_DELETED",
                    "connection_id": "f53bd178-0834-456d-adc0-735a6cf64002",
                    "access_token": "c37ffdf3-48b3-4e7b-a224-1732d71e655f",
                    "class": {
                      "id": "3ca7e1cb-48ce-4bb9-a0d7-6ab6250aff76",
                      "deleted_at": "2024-01-03T13:47:26.000Z"
                    }
                  }
                }
              }
            },
            "responses": {
              "200": {
                "description": ""
              }
            },
            "x-supported-platforms": [
              "NETSUITE"
            ]
          }
        }
      },
      "company_info": {
        "/company_info": {
          "delete": {
            "requestBody": {
              "content": {
                "application/json": {
                  "schema": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "COMPANY_INFO"
                        ]
                      },
                      "code": {
                        "type": "string",
                        "enum": [
                          "COMPANY_INFO_DELETED"
                        ]
                      },
                      "connection_id": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The access token of the connection."
                      },
                      "access_token": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The connection ID"
                      },
                      "company_info": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "description": "ID of the deleted entity"
                          },
                          "deleted_at": {
                            "type": "string",
                            "format": "The timestamp when the entity was deleted."
                          }
                        }
                      }
                    }
                  },
                  "example": {
                    "type": "COMPANY_INFO",
                    "code": "COMPANY_INFO_DELETED",
                    "connection_id": "f53bd178-0834-456d-adc0-735a6cf64002",
                    "access_token": "c37ffdf3-48b3-4e7b-a224-1732d71e655f",
                    "company_info": {
                      "id": "3ca7e1cb-48ce-4bb9-a0d7-6ab6250aff76",
                      "deleted_at": "2024-01-03T13:47:26.000Z"
                    }
                  }
                }
              }
            },
            "responses": {
              "200": {
                "description": ""
              }
            },
            "x-supported-platforms": [
              "NETSUITE"
            ]
          }
        }
      },
      "currency": {
        "/currency": {
          "delete": {
            "requestBody": {
              "content": {
                "application/json": {
                  "schema": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "CURRENCY"
                        ]
                      },
                      "code": {
                        "type": "string",
                        "enum": [
                          "CURRENCY_DELETED"
                        ]
                      },
                      "connection_id": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The access token of the connection."
                      },
                      "access_token": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The connection ID"
                      },
                      "currency": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "description": "ID of the deleted entity"
                          },
                          "deleted_at": {
                            "type": "string",
                            "format": "The timestamp when the entity was deleted."
                          }
                        }
                      }
                    }
                  },
                  "example": {
                    "type": "CURRENCY",
                    "code": "CURRENCY_DELETED",
                    "connection_id": "f53bd178-0834-456d-adc0-735a6cf64002",
                    "access_token": "c37ffdf3-48b3-4e7b-a224-1732d71e655f",
                    "currency": {
                      "id": "3ca7e1cb-48ce-4bb9-a0d7-6ab6250aff76",
                      "deleted_at": "2024-01-03T13:47:26.000Z"
                    }
                  }
                }
              }
            },
            "responses": {
              "200": {
                "description": ""
              }
            },
            "x-supported-platforms": [
              "NETSUITE"
            ]
          }
        }
      },
      "customer": {
        "/customer": {
          "post": {
            "requestBody": {
              "content": {
                "application/json": {
                  "schema": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "CUSTOMER"
                        ]
                      },
                      "code": {
                        "type": "string",
                        "enum": [
                          "CUSTOMER_CREATED"
                        ]
                      },
                      "connection_id": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The access token of the connection."
                      },
                      "access_token": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The connection ID"
                      },
                      "customer": {
                        "type": "object",
                        "properties": {}
                      }
                    }
                  },
                  "example": {
                    "type": "CUSTOMER",
                    "code": "CUSTOMER_CREATED",
                    "connection_id": "f53bd178-0834-456d-adc0-735a6cf64002",
                    "access_token": "c37ffdf3-48b3-4e7b-a224-1732d71e655f",
                    "customer": {}
                  }
                }
              }
            },
            "responses": {
              "200": {
                "description": ""
              }
            },
            "x-supported-platforms": []
          },
          "delete": {
            "requestBody": {
              "content": {
                "application/json": {
                  "schema": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "CUSTOMER"
                        ]
                      },
                      "code": {
                        "type": "string",
                        "enum": [
                          "CUSTOMER_DELETED"
                        ]
                      },
                      "connection_id": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The access token of the connection."
                      },
                      "access_token": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The connection ID"
                      },
                      "customer": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "description": "ID of the deleted entity"
                          },
                          "deleted_at": {
                            "type": "string",
                            "format": "The timestamp when the entity was deleted."
                          }
                        }
                      }
                    }
                  },
                  "example": {
                    "type": "CUSTOMER",
                    "code": "CUSTOMER_DELETED",
                    "connection_id": "f53bd178-0834-456d-adc0-735a6cf64002",
                    "access_token": "c37ffdf3-48b3-4e7b-a224-1732d71e655f",
                    "customer": {
                      "id": "3ca7e1cb-48ce-4bb9-a0d7-6ab6250aff76",
                      "deleted_at": "2024-01-03T13:47:26.000Z"
                    }
                  }
                }
              }
            },
            "responses": {
              "200": {
                "description": ""
              }
            },
            "x-supported-platforms": [
              "QUICKBOOKS",
              "NETSUITE"
            ]
          },
          "patch": {
            "requestBody": {
              "content": {
                "application/json": {
                  "schema": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "CUSTOMER"
                        ]
                      },
                      "code": {
                        "type": "string",
                        "enum": [
                          "CUSTOMER_UPDATED"
                        ]
                      },
                      "connection_id": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The access token of the connection."
                      },
                      "access_token": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The connection ID"
                      },
                      "customer": {
                        "type": "object",
                        "properties": {}
                      }
                    }
                  },
                  "example": {
                    "type": "CUSTOMER",
                    "code": "CUSTOMER_UPDATED",
                    "connection_id": "f53bd178-0834-456d-adc0-735a6cf64002",
                    "access_token": "c37ffdf3-48b3-4e7b-a224-1732d71e655f",
                    "customer": {}
                  }
                }
              }
            },
            "responses": {
              "200": {
                "description": ""
              }
            },
            "x-supported-platforms": []
          }
        }
      },
      "department": {
        "/department": {
          "delete": {
            "requestBody": {
              "content": {
                "application/json": {
                  "schema": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "DEPARTMENT"
                        ]
                      },
                      "code": {
                        "type": "string",
                        "enum": [
                          "DEPARTMENT_DELETED"
                        ]
                      },
                      "connection_id": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The access token of the connection."
                      },
                      "access_token": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The connection ID"
                      },
                      "department": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "description": "ID of the deleted entity"
                          },
                          "deleted_at": {
                            "type": "string",
                            "format": "The timestamp when the entity was deleted."
                          }
                        }
                      }
                    }
                  },
                  "example": {
                    "type": "DEPARTMENT",
                    "code": "DEPARTMENT_DELETED",
                    "connection_id": "f53bd178-0834-456d-adc0-735a6cf64002",
                    "access_token": "c37ffdf3-48b3-4e7b-a224-1732d71e655f",
                    "department": {
                      "id": "3ca7e1cb-48ce-4bb9-a0d7-6ab6250aff76",
                      "deleted_at": "2024-01-03T13:47:26.000Z"
                    }
                  }
                }
              }
            },
            "responses": {
              "200": {
                "description": ""
              }
            },
            "x-supported-platforms": [
              "NETSUITE"
            ]
          }
        }
      },
      "expense": {
        "/expense": {
          "post": {
            "requestBody": {
              "content": {
                "application/json": {
                  "schema": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "EXPENSE"
                        ]
                      },
                      "code": {
                        "type": "string",
                        "enum": [
                          "EXPENSE_CREATED"
                        ]
                      },
                      "connection_id": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The access token of the connection."
                      },
                      "access_token": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The connection ID"
                      },
                      "expense": {
                        "type": "object",
                        "properties": {}
                      }
                    }
                  },
                  "example": {
                    "type": "EXPENSE",
                    "code": "EXPENSE_CREATED",
                    "connection_id": "f53bd178-0834-456d-adc0-735a6cf64002",
                    "access_token": "c37ffdf3-48b3-4e7b-a224-1732d71e655f",
                    "expense": {}
                  }
                }
              }
            },
            "responses": {
              "200": {
                "description": ""
              }
            },
            "x-supported-platforms": []
          },
          "patch": {
            "requestBody": {
              "content": {
                "application/json": {
                  "schema": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "EXPENSE"
                        ]
                      },
                      "code": {
                        "type": "string",
                        "enum": [
                          "EXPENSE_UPDATED"
                        ]
                      },
                      "connection_id": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The access token of the connection."
                      },
                      "access_token": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The connection ID"
                      },
                      "expense": {
                        "type": "object",
                        "properties": {}
                      }
                    }
                  },
                  "example": {
                    "type": "EXPENSE",
                    "code": "EXPENSE_UPDATED",
                    "connection_id": "f53bd178-0834-456d-adc0-735a6cf64002",
                    "access_token": "c37ffdf3-48b3-4e7b-a224-1732d71e655f",
                    "expense": {}
                  }
                }
              }
            },
            "responses": {
              "200": {
                "description": ""
              }
            },
            "x-supported-platforms": []
          },
          "delete": {
            "requestBody": {
              "content": {
                "application/json": {
                  "schema": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "EXPENSE"
                        ]
                      },
                      "code": {
                        "type": "string",
                        "enum": [
                          "EXPENSE_DELETED"
                        ]
                      },
                      "connection_id": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The access token of the connection."
                      },
                      "access_token": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The connection ID"
                      },
                      "expense": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "description": "ID of the deleted entity"
                          },
                          "deleted_at": {
                            "type": "string",
                            "format": "The timestamp when the entity was deleted."
                          }
                        }
                      }
                    }
                  },
                  "example": {
                    "type": "EXPENSE",
                    "code": "EXPENSE_DELETED",
                    "connection_id": "f53bd178-0834-456d-adc0-735a6cf64002",
                    "access_token": "c37ffdf3-48b3-4e7b-a224-1732d71e655f",
                    "expense": {
                      "id": "3ca7e1cb-48ce-4bb9-a0d7-6ab6250aff76",
                      "deleted_at": "2024-01-03T13:47:26.000Z"
                    }
                  }
                }
              }
            },
            "responses": {
              "200": {
                "description": ""
              }
            },
            "x-supported-platforms": [
              "QUICKBOOKS",
              "NETSUITE"
            ]
          }
        }
      },
      "expense_refund": {
        "/expense_refund": {
          "delete": {
            "requestBody": {
              "content": {
                "application/json": {
                  "schema": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "EXPENSE_REFUND"
                        ]
                      },
                      "code": {
                        "type": "string",
                        "enum": [
                          "EXPENSE_REFUND_DELETED"
                        ]
                      },
                      "connection_id": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The access token of the connection."
                      },
                      "access_token": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The connection ID"
                      },
                      "expense_refund": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "description": "ID of the deleted entity"
                          },
                          "deleted_at": {
                            "type": "string",
                            "format": "The timestamp when the entity was deleted."
                          }
                        }
                      }
                    }
                  },
                  "example": {
                    "type": "EXPENSE_REFUND",
                    "code": "EXPENSE_REFUND_DELETED",
                    "connection_id": "f53bd178-0834-456d-adc0-735a6cf64002",
                    "access_token": "c37ffdf3-48b3-4e7b-a224-1732d71e655f",
                    "expense_refund": {
                      "id": "3ca7e1cb-48ce-4bb9-a0d7-6ab6250aff76",
                      "deleted_at": "2024-01-03T13:47:26.000Z"
                    }
                  }
                }
              }
            },
            "responses": {
              "200": {
                "description": ""
              }
            },
            "x-supported-platforms": [
              "QUICKBOOKS",
              "NETSUITE"
            ]
          }
        }
      },
      "invoice": {
        "/invoice": {
          "post": {
            "requestBody": {
              "content": {
                "application/json": {
                  "schema": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "INVOICE"
                        ]
                      },
                      "code": {
                        "type": "string",
                        "enum": [
                          "INVOICE_CREATED"
                        ]
                      },
                      "connection_id": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The access token of the connection."
                      },
                      "access_token": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The connection ID"
                      },
                      "invoice": {
                        "type": "object",
                        "properties": {}
                      }
                    }
                  },
                  "example": {
                    "type": "INVOICE",
                    "code": "INVOICE_CREATED",
                    "connection_id": "f53bd178-0834-456d-adc0-735a6cf64002",
                    "access_token": "c37ffdf3-48b3-4e7b-a224-1732d71e655f",
                    "invoice": {}
                  }
                }
              }
            },
            "responses": {
              "200": {
                "description": ""
              }
            },
            "x-supported-platforms": []
          },
          "delete": {
            "requestBody": {
              "content": {
                "application/json": {
                  "schema": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "INVOICE"
                        ]
                      },
                      "code": {
                        "type": "string",
                        "enum": [
                          "INVOICE_DELETED"
                        ]
                      },
                      "connection_id": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The access token of the connection."
                      },
                      "access_token": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The connection ID"
                      },
                      "invoice": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "description": "ID of the deleted entity"
                          },
                          "deleted_at": {
                            "type": "string",
                            "format": "The timestamp when the entity was deleted."
                          }
                        }
                      }
                    }
                  },
                  "example": {
                    "type": "INVOICE",
                    "code": "INVOICE_DELETED",
                    "connection_id": "f53bd178-0834-456d-adc0-735a6cf64002",
                    "access_token": "c37ffdf3-48b3-4e7b-a224-1732d71e655f",
                    "invoice": {
                      "id": "3ca7e1cb-48ce-4bb9-a0d7-6ab6250aff76",
                      "deleted_at": "2024-01-03T13:47:26.000Z"
                    }
                  }
                }
              }
            },
            "responses": {
              "200": {
                "description": ""
              }
            },
            "x-supported-platforms": [
              "QUICKBOOKS",
              "NETSUITE"
            ]
          },
          "patch": {
            "requestBody": {
              "content": {
                "application/json": {
                  "schema": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "INVOICE"
                        ]
                      },
                      "code": {
                        "type": "string",
                        "enum": [
                          "INVOICE_UPDATED"
                        ]
                      },
                      "connection_id": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The access token of the connection."
                      },
                      "access_token": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The connection ID"
                      },
                      "invoice": {
                        "type": "object",
                        "properties": {}
                      }
                    }
                  },
                  "example": {
                    "type": "INVOICE",
                    "code": "INVOICE_UPDATED",
                    "connection_id": "f53bd178-0834-456d-adc0-735a6cf64002",
                    "access_token": "c37ffdf3-48b3-4e7b-a224-1732d71e655f",
                    "invoice": {}
                  }
                }
              }
            },
            "responses": {
              "200": {
                "description": ""
              }
            },
            "x-supported-platforms": []
          }
        }
      },
      "invoice_credit_application": {
        "/invoice_credit_application": {
          "delete": {
            "requestBody": {
              "content": {
                "application/json": {
                  "schema": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "INVOICE_CREDIT_APPLICATION"
                        ]
                      },
                      "code": {
                        "type": "string",
                        "enum": [
                          "INVOICE_CREDIT_APPLICATION_DELETED"
                        ]
                      },
                      "connection_id": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The access token of the connection."
                      },
                      "access_token": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The connection ID"
                      },
                      "invoice_credit_application": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "description": "ID of the deleted entity"
                          },
                          "deleted_at": {
                            "type": "string",
                            "format": "The timestamp when the entity was deleted."
                          }
                        }
                      }
                    }
                  },
                  "example": {
                    "type": "INVOICE_CREDIT_APPLICATION",
                    "code": "INVOICE_CREDIT_APPLICATION_DELETED",
                    "connection_id": "f53bd178-0834-456d-adc0-735a6cf64002",
                    "access_token": "c37ffdf3-48b3-4e7b-a224-1732d71e655f",
                    "invoice_credit_application": {
                      "id": "3ca7e1cb-48ce-4bb9-a0d7-6ab6250aff76",
                      "deleted_at": "2024-01-03T13:47:26.000Z"
                    }
                  }
                }
              }
            },
            "responses": {
              "200": {
                "description": ""
              }
            },
            "x-supported-platforms": [
              "QUICKBOOKS",
              "NETSUITE"
            ]
          }
        }
      },
      "invoice_credit_memo": {
        "/invoice_credit_memo": {
          "post": {
            "requestBody": {
              "content": {
                "application/json": {
                  "schema": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "INVOICE_CREDIT_MEMO"
                        ]
                      },
                      "code": {
                        "type": "string",
                        "enum": [
                          "INVOICE_CREDIT_MEMO_CREATED"
                        ]
                      },
                      "connection_id": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The access token of the connection."
                      },
                      "access_token": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The connection ID"
                      },
                      "invoice_credit_memo": {
                        "type": "object",
                        "properties": {}
                      }
                    }
                  },
                  "example": {
                    "type": "INVOICE_CREDIT_MEMO",
                    "code": "INVOICE_CREDIT_MEMO_CREATED",
                    "connection_id": "f53bd178-0834-456d-adc0-735a6cf64002",
                    "access_token": "c37ffdf3-48b3-4e7b-a224-1732d71e655f",
                    "invoice_credit_memo": {}
                  }
                }
              }
            },
            "responses": {
              "200": {
                "description": ""
              }
            },
            "x-supported-platforms": []
          },
          "delete": {
            "requestBody": {
              "content": {
                "application/json": {
                  "schema": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "INVOICE_CREDIT_MEMO"
                        ]
                      },
                      "code": {
                        "type": "string",
                        "enum": [
                          "INVOICE_CREDIT_MEMO_DELETED"
                        ]
                      },
                      "connection_id": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The access token of the connection."
                      },
                      "access_token": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The connection ID"
                      },
                      "invoice_credit_memo": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "description": "ID of the deleted entity"
                          },
                          "deleted_at": {
                            "type": "string",
                            "format": "The timestamp when the entity was deleted."
                          }
                        }
                      }
                    }
                  },
                  "example": {
                    "type": "INVOICE_CREDIT_MEMO",
                    "code": "INVOICE_CREDIT_MEMO_DELETED",
                    "connection_id": "f53bd178-0834-456d-adc0-735a6cf64002",
                    "access_token": "c37ffdf3-48b3-4e7b-a224-1732d71e655f",
                    "invoice_credit_memo": {
                      "id": "3ca7e1cb-48ce-4bb9-a0d7-6ab6250aff76",
                      "deleted_at": "2024-01-03T13:47:26.000Z"
                    }
                  }
                }
              }
            },
            "responses": {
              "200": {
                "description": ""
              }
            },
            "x-supported-platforms": [
              "QUICKBOOKS",
              "NETSUITE"
            ]
          },
          "patch": {
            "requestBody": {
              "content": {
                "application/json": {
                  "schema": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "INVOICE_CREDIT_MEMO"
                        ]
                      },
                      "code": {
                        "type": "string",
                        "enum": [
                          "INVOICE_CREDIT_MEMO_UPDATED"
                        ]
                      },
                      "connection_id": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The access token of the connection."
                      },
                      "access_token": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The connection ID"
                      },
                      "invoice_credit_memo": {
                        "type": "object",
                        "properties": {}
                      }
                    }
                  },
                  "example": {
                    "type": "INVOICE_CREDIT_MEMO",
                    "code": "INVOICE_CREDIT_MEMO_UPDATED",
                    "connection_id": "f53bd178-0834-456d-adc0-735a6cf64002",
                    "access_token": "c37ffdf3-48b3-4e7b-a224-1732d71e655f",
                    "invoice_credit_memo": {}
                  }
                }
              }
            },
            "responses": {
              "200": {
                "description": ""
              }
            },
            "x-supported-platforms": []
          }
        }
      },
      "invoice_payment": {
        "/invoice_payment": {
          "delete": {
            "requestBody": {
              "content": {
                "application/json": {
                  "schema": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "INVOICE_PAYMENT"
                        ]
                      },
                      "code": {
                        "type": "string",
                        "enum": [
                          "INVOICE_PAYMENT_DELETED"
                        ]
                      },
                      "connection_id": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The access token of the connection."
                      },
                      "access_token": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The connection ID"
                      },
                      "invoice_payment": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "description": "ID of the deleted entity"
                          },
                          "deleted_at": {
                            "type": "string",
                            "format": "The timestamp when the entity was deleted."
                          }
                        }
                      }
                    }
                  },
                  "example": {
                    "type": "INVOICE_PAYMENT",
                    "code": "INVOICE_PAYMENT_DELETED",
                    "connection_id": "f53bd178-0834-456d-adc0-735a6cf64002",
                    "access_token": "c37ffdf3-48b3-4e7b-a224-1732d71e655f",
                    "invoice_payment": {
                      "id": "3ca7e1cb-48ce-4bb9-a0d7-6ab6250aff76",
                      "deleted_at": "2024-01-03T13:47:26.000Z"
                    }
                  }
                }
              }
            },
            "responses": {
              "200": {
                "description": ""
              }
            },
            "x-supported-platforms": [
              "QUICKBOOKS",
              "NETSUITE"
            ]
          }
        }
      },
      "item": {
        "/item": {
          "delete": {
            "requestBody": {
              "content": {
                "application/json": {
                  "schema": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "ITEM"
                        ]
                      },
                      "code": {
                        "type": "string",
                        "enum": [
                          "ITEM_DELETED"
                        ]
                      },
                      "connection_id": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The access token of the connection."
                      },
                      "access_token": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The connection ID"
                      },
                      "item": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "description": "ID of the deleted entity"
                          },
                          "deleted_at": {
                            "type": "string",
                            "format": "The timestamp when the entity was deleted."
                          }
                        }
                      }
                    }
                  },
                  "example": {
                    "type": "ITEM",
                    "code": "ITEM_DELETED",
                    "connection_id": "f53bd178-0834-456d-adc0-735a6cf64002",
                    "access_token": "c37ffdf3-48b3-4e7b-a224-1732d71e655f",
                    "item": {
                      "id": "3ca7e1cb-48ce-4bb9-a0d7-6ab6250aff76",
                      "deleted_at": "2024-01-03T13:47:26.000Z"
                    }
                  }
                }
              }
            },
            "responses": {
              "200": {
                "description": ""
              }
            },
            "x-supported-platforms": [
              "NETSUITE"
            ]
          }
        }
      },
      "journal_entry": {
        "/journal_entry": {
          "post": {
            "requestBody": {
              "content": {
                "application/json": {
                  "schema": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "JOURNAL_ENTRY"
                        ]
                      },
                      "code": {
                        "type": "string",
                        "enum": [
                          "JOURNAL_ENTRY_CREATED"
                        ]
                      },
                      "connection_id": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The access token of the connection."
                      },
                      "access_token": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The connection ID"
                      },
                      "journal_entry": {
                        "type": "object",
                        "properties": {}
                      }
                    }
                  },
                  "example": {
                    "type": "JOURNAL_ENTRY",
                    "code": "JOURNAL_ENTRY_CREATED",
                    "connection_id": "f53bd178-0834-456d-adc0-735a6cf64002",
                    "access_token": "c37ffdf3-48b3-4e7b-a224-1732d71e655f",
                    "journal_entry": {}
                  }
                }
              }
            },
            "responses": {
              "200": {
                "description": ""
              }
            },
            "x-supported-platforms": []
          },
          "delete": {
            "requestBody": {
              "content": {
                "application/json": {
                  "schema": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "JOURNAL_ENTRY"
                        ]
                      },
                      "code": {
                        "type": "string",
                        "enum": [
                          "JOURNAL_ENTRY_DELETED"
                        ]
                      },
                      "connection_id": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The access token of the connection."
                      },
                      "access_token": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The connection ID"
                      },
                      "journal_entry": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "description": "ID of the deleted entity"
                          },
                          "deleted_at": {
                            "type": "string",
                            "format": "The timestamp when the entity was deleted."
                          }
                        }
                      }
                    }
                  },
                  "example": {
                    "type": "JOURNAL_ENTRY",
                    "code": "JOURNAL_ENTRY_DELETED",
                    "connection_id": "f53bd178-0834-456d-adc0-735a6cf64002",
                    "access_token": "c37ffdf3-48b3-4e7b-a224-1732d71e655f",
                    "journal_entry": {
                      "id": "3ca7e1cb-48ce-4bb9-a0d7-6ab6250aff76",
                      "deleted_at": "2024-01-03T13:47:26.000Z"
                    }
                  }
                }
              }
            },
            "responses": {
              "200": {
                "description": ""
              }
            },
            "x-supported-platforms": [
              "QUICKBOOKS",
              "NETSUITE"
            ]
          },
          "patch": {
            "requestBody": {
              "content": {
                "application/json": {
                  "schema": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "JOURNAL_ENTRY"
                        ]
                      },
                      "code": {
                        "type": "string",
                        "enum": [
                          "JOURNAL_ENTRY_UPDATED"
                        ]
                      },
                      "connection_id": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The access token of the connection."
                      },
                      "access_token": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The connection ID"
                      },
                      "journal_entry": {
                        "type": "object",
                        "properties": {}
                      }
                    }
                  },
                  "example": {
                    "type": "JOURNAL_ENTRY",
                    "code": "JOURNAL_ENTRY_UPDATED",
                    "connection_id": "f53bd178-0834-456d-adc0-735a6cf64002",
                    "access_token": "c37ffdf3-48b3-4e7b-a224-1732d71e655f",
                    "journal_entry": {}
                  }
                }
              }
            },
            "responses": {
              "200": {
                "description": ""
              }
            },
            "x-supported-platforms": []
          }
        }
      },
      "location": {
        "/location": {
          "delete": {
            "requestBody": {
              "content": {
                "application/json": {
                  "schema": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "LOCATION"
                        ]
                      },
                      "code": {
                        "type": "string",
                        "enum": [
                          "LOCATION_DELETED"
                        ]
                      },
                      "connection_id": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The access token of the connection."
                      },
                      "access_token": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The connection ID"
                      },
                      "location": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "description": "ID of the deleted entity"
                          },
                          "deleted_at": {
                            "type": "string",
                            "format": "The timestamp when the entity was deleted."
                          }
                        }
                      }
                    }
                  },
                  "example": {
                    "type": "LOCATION",
                    "code": "LOCATION_DELETED",
                    "connection_id": "f53bd178-0834-456d-adc0-735a6cf64002",
                    "access_token": "c37ffdf3-48b3-4e7b-a224-1732d71e655f",
                    "location": {
                      "id": "3ca7e1cb-48ce-4bb9-a0d7-6ab6250aff76",
                      "deleted_at": "2024-01-03T13:47:26.000Z"
                    }
                  }
                }
              }
            },
            "responses": {
              "200": {
                "description": ""
              }
            },
            "x-supported-platforms": [
              "NETSUITE"
            ]
          }
        }
      },
      "order": {
        "/order": {
          "delete": {
            "requestBody": {
              "content": {
                "application/json": {
                  "schema": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "ORDER"
                        ]
                      },
                      "code": {
                        "type": "string",
                        "enum": [
                          "ORDER_DELETED"
                        ]
                      },
                      "connection_id": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The access token of the connection."
                      },
                      "access_token": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The connection ID"
                      },
                      "order": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "description": "ID of the deleted entity"
                          },
                          "deleted_at": {
                            "type": "string",
                            "format": "The timestamp when the entity was deleted."
                          }
                        }
                      }
                    }
                  },
                  "example": {
                    "type": "ORDER",
                    "code": "ORDER_DELETED",
                    "connection_id": "f53bd178-0834-456d-adc0-735a6cf64002",
                    "access_token": "c37ffdf3-48b3-4e7b-a224-1732d71e655f",
                    "order": {
                      "id": "3ca7e1cb-48ce-4bb9-a0d7-6ab6250aff76",
                      "deleted_at": "2024-01-03T13:47:26.000Z"
                    }
                  }
                }
              }
            },
            "responses": {
              "200": {
                "description": ""
              }
            },
            "x-supported-platforms": []
          },
          "patch": {
            "requestBody": {
              "content": {
                "application/json": {
                  "schema": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "ORDER"
                        ]
                      },
                      "code": {
                        "type": "string",
                        "enum": [
                          "ORDER_UPDATED"
                        ]
                      },
                      "connection_id": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The access token of the connection."
                      },
                      "access_token": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The connection ID"
                      },
                      "order": {
                        "type": "object",
                        "properties": {}
                      }
                    }
                  },
                  "example": {
                    "type": "ORDER",
                    "code": "ORDER_UPDATED",
                    "connection_id": "f53bd178-0834-456d-adc0-735a6cf64002",
                    "access_token": "c37ffdf3-48b3-4e7b-a224-1732d71e655f",
                    "order": {}
                  }
                }
              }
            },
            "responses": {
              "200": {
                "description": ""
              }
            },
            "x-supported-platforms": []
          },
          "post": {
            "requestBody": {
              "content": {
                "application/json": {
                  "schema": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "ORDER"
                        ]
                      },
                      "code": {
                        "type": "string",
                        "enum": [
                          "ORDER_CREATED"
                        ]
                      },
                      "connection_id": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The access token of the connection."
                      },
                      "access_token": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The connection ID"
                      },
                      "order": {
                        "type": "object",
                        "properties": {}
                      }
                    }
                  },
                  "example": {
                    "type": "ORDER",
                    "code": "ORDER_CREATED",
                    "connection_id": "f53bd178-0834-456d-adc0-735a6cf64002",
                    "access_token": "c37ffdf3-48b3-4e7b-a224-1732d71e655f",
                    "order": {}
                  }
                }
              }
            },
            "responses": {
              "200": {
                "description": ""
              }
            },
            "x-supported-platforms": []
          }
        }
      },
      "payment_method": {
        "/payment_method": {
          "delete": {
            "requestBody": {
              "content": {
                "application/json": {
                  "schema": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "PAYMENT_METHOD"
                        ]
                      },
                      "code": {
                        "type": "string",
                        "enum": [
                          "PAYMENT_METHOD_DELETED"
                        ]
                      },
                      "connection_id": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The access token of the connection."
                      },
                      "access_token": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The connection ID"
                      },
                      "payment_method": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "description": "ID of the deleted entity"
                          },
                          "deleted_at": {
                            "type": "string",
                            "format": "The timestamp when the entity was deleted."
                          }
                        }
                      }
                    }
                  },
                  "example": {
                    "type": "PAYMENT_METHOD",
                    "code": "PAYMENT_METHOD_DELETED",
                    "connection_id": "f53bd178-0834-456d-adc0-735a6cf64002",
                    "access_token": "c37ffdf3-48b3-4e7b-a224-1732d71e655f",
                    "payment_method": {
                      "id": "3ca7e1cb-48ce-4bb9-a0d7-6ab6250aff76",
                      "deleted_at": "2024-01-03T13:47:26.000Z"
                    }
                  }
                }
              }
            },
            "responses": {
              "200": {
                "description": ""
              }
            },
            "x-supported-platforms": [
              "NETSUITE"
            ]
          }
        }
      },
      "payment_term": {
        "/payment_term": {
          "delete": {
            "requestBody": {
              "content": {
                "application/json": {
                  "schema": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "PAYMENT_TERM"
                        ]
                      },
                      "code": {
                        "type": "string",
                        "enum": [
                          "PAYMENT_TERM_DELETED"
                        ]
                      },
                      "connection_id": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The access token of the connection."
                      },
                      "access_token": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The connection ID"
                      },
                      "payment_term": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "description": "ID of the deleted entity"
                          },
                          "deleted_at": {
                            "type": "string",
                            "format": "The timestamp when the entity was deleted."
                          }
                        }
                      }
                    }
                  },
                  "example": {
                    "type": "PAYMENT_TERM",
                    "code": "PAYMENT_TERM_DELETED",
                    "connection_id": "f53bd178-0834-456d-adc0-735a6cf64002",
                    "access_token": "c37ffdf3-48b3-4e7b-a224-1732d71e655f",
                    "payment_term": {
                      "id": "3ca7e1cb-48ce-4bb9-a0d7-6ab6250aff76",
                      "deleted_at": "2024-01-03T13:47:26.000Z"
                    }
                  }
                }
              }
            },
            "responses": {
              "200": {
                "description": ""
              }
            },
            "x-supported-platforms": [
              "NETSUITE"
            ]
          }
        }
      },
      "product": {
        "/product": {
          "post": {
            "requestBody": {
              "content": {
                "application/json": {
                  "schema": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "PRODUCT"
                        ]
                      },
                      "code": {
                        "type": "string",
                        "enum": [
                          "PRODUCT_CREATED"
                        ]
                      },
                      "connection_id": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The access token of the connection."
                      },
                      "access_token": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The connection ID"
                      },
                      "product": {
                        "type": "object",
                        "properties": {}
                      }
                    }
                  },
                  "example": {
                    "type": "PRODUCT",
                    "code": "PRODUCT_CREATED",
                    "connection_id": "f53bd178-0834-456d-adc0-735a6cf64002",
                    "access_token": "c37ffdf3-48b3-4e7b-a224-1732d71e655f",
                    "product": {}
                  }
                }
              }
            },
            "responses": {
              "200": {
                "description": ""
              }
            },
            "x-supported-platforms": []
          },
          "delete": {
            "requestBody": {
              "content": {
                "application/json": {
                  "schema": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "PRODUCT"
                        ]
                      },
                      "code": {
                        "type": "string",
                        "enum": [
                          "PRODUCT_DELETED"
                        ]
                      },
                      "connection_id": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The access token of the connection."
                      },
                      "access_token": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The connection ID"
                      },
                      "product": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "description": "ID of the deleted entity"
                          },
                          "deleted_at": {
                            "type": "string",
                            "format": "The timestamp when the entity was deleted."
                          }
                        }
                      }
                    }
                  },
                  "example": {
                    "type": "PRODUCT",
                    "code": "PRODUCT_DELETED",
                    "connection_id": "f53bd178-0834-456d-adc0-735a6cf64002",
                    "access_token": "c37ffdf3-48b3-4e7b-a224-1732d71e655f",
                    "product": {
                      "id": "3ca7e1cb-48ce-4bb9-a0d7-6ab6250aff76",
                      "deleted_at": "2024-01-03T13:47:26.000Z"
                    }
                  }
                }
              }
            },
            "responses": {
              "200": {
                "description": ""
              }
            },
            "x-supported-platforms": []
          },
          "patch": {
            "requestBody": {
              "content": {
                "application/json": {
                  "schema": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "PRODUCT"
                        ]
                      },
                      "code": {
                        "type": "string",
                        "enum": [
                          "PRODUCT_UPDATED"
                        ]
                      },
                      "connection_id": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The access token of the connection."
                      },
                      "access_token": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The connection ID"
                      },
                      "product": {
                        "type": "object",
                        "properties": {}
                      }
                    }
                  },
                  "example": {
                    "type": "PRODUCT",
                    "code": "PRODUCT_UPDATED",
                    "connection_id": "f53bd178-0834-456d-adc0-735a6cf64002",
                    "access_token": "c37ffdf3-48b3-4e7b-a224-1732d71e655f",
                    "product": {}
                  }
                }
              }
            },
            "responses": {
              "200": {
                "description": ""
              }
            },
            "x-supported-platforms": []
          }
        }
      },
      "purchase_order": {
        "/purchase_order": {
          "delete": {
            "requestBody": {
              "content": {
                "application/json": {
                  "schema": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "PURCHASE_ORDER"
                        ]
                      },
                      "code": {
                        "type": "string",
                        "enum": [
                          "PURCHASE_ORDER_DELETED"
                        ]
                      },
                      "connection_id": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The access token of the connection."
                      },
                      "access_token": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The connection ID"
                      },
                      "purchase_order": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "description": "ID of the deleted entity"
                          },
                          "deleted_at": {
                            "type": "string",
                            "format": "The timestamp when the entity was deleted."
                          }
                        }
                      }
                    }
                  },
                  "example": {
                    "type": "PURCHASE_ORDER",
                    "code": "PURCHASE_ORDER_DELETED",
                    "connection_id": "f53bd178-0834-456d-adc0-735a6cf64002",
                    "access_token": "c37ffdf3-48b3-4e7b-a224-1732d71e655f",
                    "purchase_order": {
                      "id": "3ca7e1cb-48ce-4bb9-a0d7-6ab6250aff76",
                      "deleted_at": "2024-01-03T13:47:26.000Z"
                    }
                  }
                }
              }
            },
            "responses": {
              "200": {
                "description": ""
              }
            },
            "x-supported-platforms": [
              "QUICKBOOKS",
              "NETSUITE"
            ]
          }
        }
      },
      "sales_order": {
        "/sales_order": {
          "delete": {
            "requestBody": {
              "content": {
                "application/json": {
                  "schema": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "SALES_ORDER"
                        ]
                      },
                      "code": {
                        "type": "string",
                        "enum": [
                          "SALES_ORDER_DELETED"
                        ]
                      },
                      "connection_id": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The access token of the connection."
                      },
                      "access_token": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The connection ID"
                      },
                      "sales_order": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "description": "ID of the deleted entity"
                          },
                          "deleted_at": {
                            "type": "string",
                            "format": "The timestamp when the entity was deleted."
                          }
                        }
                      }
                    }
                  },
                  "example": {
                    "type": "SALES_ORDER",
                    "code": "SALES_ORDER_DELETED",
                    "connection_id": "f53bd178-0834-456d-adc0-735a6cf64002",
                    "access_token": "c37ffdf3-48b3-4e7b-a224-1732d71e655f",
                    "sales_order": {
                      "id": "3ca7e1cb-48ce-4bb9-a0d7-6ab6250aff76",
                      "deleted_at": "2024-01-03T13:47:26.000Z"
                    }
                  }
                }
              }
            },
            "responses": {
              "200": {
                "description": ""
              }
            },
            "x-supported-platforms": [
              "NETSUITE"
            ]
          }
        }
      },
      "store": {
        "/store": {
          "patch": {
            "requestBody": {
              "content": {
                "application/json": {
                  "schema": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "STORE"
                        ]
                      },
                      "code": {
                        "type": "string",
                        "enum": [
                          "STORE_UPDATED"
                        ]
                      },
                      "connection_id": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The access token of the connection."
                      },
                      "access_token": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The connection ID"
                      },
                      "store": {
                        "type": "object",
                        "properties": {}
                      }
                    }
                  },
                  "example": {
                    "type": "STORE",
                    "code": "STORE_UPDATED",
                    "connection_id": "f53bd178-0834-456d-adc0-735a6cf64002",
                    "access_token": "c37ffdf3-48b3-4e7b-a224-1732d71e655f",
                    "store": {}
                  }
                }
              }
            },
            "responses": {
              "200": {
                "description": ""
              }
            },
            "x-supported-platforms": []
          }
        }
      },
      "subsidiary": {
        "/subsidiary": {
          "delete": {
            "requestBody": {
              "content": {
                "application/json": {
                  "schema": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "SUBSIDIARY"
                        ]
                      },
                      "code": {
                        "type": "string",
                        "enum": [
                          "SUBSIDIARY_DELETED"
                        ]
                      },
                      "connection_id": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The access token of the connection."
                      },
                      "access_token": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The connection ID"
                      },
                      "subsidiary": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "description": "ID of the deleted entity"
                          },
                          "deleted_at": {
                            "type": "string",
                            "format": "The timestamp when the entity was deleted."
                          }
                        }
                      }
                    }
                  },
                  "example": {
                    "type": "SUBSIDIARY",
                    "code": "SUBSIDIARY_DELETED",
                    "connection_id": "f53bd178-0834-456d-adc0-735a6cf64002",
                    "access_token": "c37ffdf3-48b3-4e7b-a224-1732d71e655f",
                    "subsidiary": {
                      "id": "3ca7e1cb-48ce-4bb9-a0d7-6ab6250aff76",
                      "deleted_at": "2024-01-03T13:47:26.000Z"
                    }
                  }
                }
              }
            },
            "responses": {
              "200": {
                "description": ""
              }
            },
            "x-supported-platforms": [
              "NETSUITE"
            ]
          }
        }
      },
      "tax_rate": {
        "/tax_rate": {
          "delete": {
            "requestBody": {
              "content": {
                "application/json": {
                  "schema": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "TAX_RATE"
                        ]
                      },
                      "code": {
                        "type": "string",
                        "enum": [
                          "TAX_RATE_DELETED"
                        ]
                      },
                      "connection_id": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The access token of the connection."
                      },
                      "access_token": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The connection ID"
                      },
                      "tax_rate": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "description": "ID of the deleted entity"
                          },
                          "deleted_at": {
                            "type": "string",
                            "format": "The timestamp when the entity was deleted."
                          }
                        }
                      }
                    }
                  },
                  "example": {
                    "type": "TAX_RATE",
                    "code": "TAX_RATE_DELETED",
                    "connection_id": "f53bd178-0834-456d-adc0-735a6cf64002",
                    "access_token": "c37ffdf3-48b3-4e7b-a224-1732d71e655f",
                    "tax_rate": {
                      "id": "3ca7e1cb-48ce-4bb9-a0d7-6ab6250aff76",
                      "deleted_at": "2024-01-03T13:47:26.000Z"
                    }
                  }
                }
              }
            },
            "responses": {
              "200": {
                "description": ""
              }
            },
            "x-supported-platforms": [
              "NETSUITE"
            ]
          }
        }
      },
      "vendor": {
        "/vendor": {
          "post": {
            "requestBody": {
              "content": {
                "application/json": {
                  "schema": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "VENDOR"
                        ]
                      },
                      "code": {
                        "type": "string",
                        "enum": [
                          "VENDOR_CREATED"
                        ]
                      },
                      "connection_id": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The access token of the connection."
                      },
                      "access_token": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The connection ID"
                      },
                      "vendor": {
                        "type": "object",
                        "properties": {}
                      }
                    }
                  },
                  "example": {
                    "type": "VENDOR",
                    "code": "VENDOR_CREATED",
                    "connection_id": "f53bd178-0834-456d-adc0-735a6cf64002",
                    "access_token": "c37ffdf3-48b3-4e7b-a224-1732d71e655f",
                    "vendor": {}
                  }
                }
              }
            },
            "responses": {
              "200": {
                "description": ""
              }
            },
            "x-supported-platforms": []
          },
          "delete": {
            "requestBody": {
              "content": {
                "application/json": {
                  "schema": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "VENDOR"
                        ]
                      },
                      "code": {
                        "type": "string",
                        "enum": [
                          "VENDOR_DELETED"
                        ]
                      },
                      "connection_id": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The access token of the connection."
                      },
                      "access_token": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The connection ID"
                      },
                      "vendor": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "description": "ID of the deleted entity"
                          },
                          "deleted_at": {
                            "type": "string",
                            "format": "The timestamp when the entity was deleted."
                          }
                        }
                      }
                    }
                  },
                  "example": {
                    "type": "VENDOR",
                    "code": "VENDOR_DELETED",
                    "connection_id": "f53bd178-0834-456d-adc0-735a6cf64002",
                    "access_token": "c37ffdf3-48b3-4e7b-a224-1732d71e655f",
                    "vendor": {
                      "id": "3ca7e1cb-48ce-4bb9-a0d7-6ab6250aff76",
                      "deleted_at": "2024-01-03T13:47:26.000Z"
                    }
                  }
                }
              }
            },
            "responses": {
              "200": {
                "description": ""
              }
            },
            "x-supported-platforms": [
              "QUICKBOOKS",
              "NETSUITE"
            ]
          },
          "patch": {
            "requestBody": {
              "content": {
                "application/json": {
                  "schema": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "VENDOR"
                        ]
                      },
                      "code": {
                        "type": "string",
                        "enum": [
                          "VENDOR_UPDATED"
                        ]
                      },
                      "connection_id": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The access token of the connection."
                      },
                      "access_token": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The connection ID"
                      },
                      "vendor": {
                        "type": "object",
                        "properties": {}
                      }
                    }
                  },
                  "example": {
                    "type": "VENDOR",
                    "code": "VENDOR_UPDATED",
                    "connection_id": "f53bd178-0834-456d-adc0-735a6cf64002",
                    "access_token": "c37ffdf3-48b3-4e7b-a224-1732d71e655f",
                    "vendor": {}
                  }
                }
              }
            },
            "responses": {
              "200": {
                "description": ""
              }
            },
            "x-supported-platforms": []
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://production.rutterapi.com/versioned",
      "description": "Production server"
    },
    {
      "url": "https://sandbox.rutterapi.com/versioned",
      "description": "Sandbox server"
    }
  ]
}