{
  "opencollection": "1.0.0",
  "info": {
    "name": "Puzzle Api Accounts Reports API",
    "version": "0"
  },
  "items": [
    {
      "info": {
        "name": "Reports",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Vendor Spending Report",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://staging.southparkdata.com/rest/v0/company/:id/vendor-spending-report",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The company ID"
              },
              {
                "name": "startDate",
                "value": "",
                "type": "query"
              },
              {
                "name": "endDate",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Retrieves a report of the company's vendor spending.\n\nRequired scope: read:company"
        },
        {
          "info": {
            "name": "Get Financial Statements",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://staging.southparkdata.com/rest/v0/company/:id/financialStatements",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The company ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Retrieve the financial statements of a company. Currently supports the Cash Activity Report, Income Statement, and Balance Sheet.\n\nRequired scope: read:company"
        },
        {
          "info": {
            "name": "Get Income Statement",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://staging.southparkdata.com/rest/v0/company/:id/statements/profitLoss",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The company ID"
              },
              {
                "name": "basis",
                "value": "",
                "type": "query"
              },
              {
                "name": "viewBy",
                "value": "",
                "type": "query"
              },
              {
                "name": "startPeriod",
                "value": "",
                "type": "query"
              },
              {
                "name": "endPeriod",
                "value": "",
                "type": "query"
              },
              {
                "name": "dateMacro",
                "value": "",
                "type": "query"
              },
              {
                "name": "departments",
                "value": "",
                "type": "query"
              },
              {
                "name": "locations",
                "value": "",
                "type": "query"
              },
              {
                "name": "expandCounterparties",
                "value": "",
                "type": "query"
              },
              {
                "name": "expandRevenueSources",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Retrieves the income statement for a company with flexible filtering options.\n\nThis endpoint returns income statement data broken down by the specified time interval (month, quarter, or year). You can filter results by departments and locations.\n\nRequired scope: read:company"
        },
        {
          "info": {
            "name": "Get Income Statement (Interop Format)",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://staging.southparkdata.com/rest/v0/company/:id/statements/profitLoss/interop",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The company ID"
              },
              {
                "name": "startPeriod",
                "value": "",
                "type": "query"
              },
              {
                "name": "endPeriod",
                "value": "",
                "type": "query"
              },
              {
                "name": "basis",
                "value": "",
                "type": "query"
              },
              {
                "name": "departments",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Retrieves the income statement in QuickBooks-compatible format with hierarchical row structure.\n\nThis endpoint returns income statement data in the same format as QuickBooks Online API, with nested sections and summary rows. Supports filtering by accounting method, and department.\n\nRequired scope: read:company"
        },
        {
          "info": {
            "name": "Get Balance Sheet Statement",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://staging.southparkdata.com/rest/v0/company/:id/statements/balanceSheet",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The company ID"
              },
              {
                "name": "basis",
                "value": "",
                "type": "query"
              },
              {
                "name": "viewBy",
                "value": "",
                "type": "query"
              },
              {
                "name": "startPeriod",
                "value": "",
                "type": "query"
              },
              {
                "name": "endPeriod",
                "value": "",
                "type": "query"
              },
              {
                "name": "dateMacro",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Retrieves the balance sheet statement for a company with flexible filtering options.\n\nThis endpoint returns balance sheet statement data broken down by the specified time interval (month, quarter, or year).\n\nRequired scope: read:company"
        },
        {
          "info": {
            "name": "Get Balance Sheet (Interop Format)",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://staging.southparkdata.com/rest/v0/company/:id/statements/balanceSheet/interop",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The company ID"
              },
              {
                "name": "startPeriod",
                "value": "",
                "type": "query"
              },
              {
                "name": "endPeriod",
                "value": "",
                "type": "query"
              },
              {
                "name": "basis",
                "value": "",
                "type": "query"
              },
              {
                "name": "departments",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Retrieves the balance sheet in QuickBooks-compatible format with hierarchical row structure.\n\nThis endpoint returns balance sheet data in the same format as QuickBooks Online API, with nested sections and summary rows. Supports filtering by accounting method, and department.\n\nRequired scope: read:company"
        },
        {
          "info": {
            "name": "Get Cash Activity Statement",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://staging.southparkdata.com/rest/v0/company/:id/statements/cashActivity",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The company ID"
              },
              {
                "name": "viewBy",
                "value": "",
                "type": "query"
              },
              {
                "name": "startPeriod",
                "value": "",
                "type": "query"
              },
              {
                "name": "endPeriod",
                "value": "",
                "type": "query"
              },
              {
                "name": "dateMacro",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Retrieves the cash activity statement for a company with flexible filtering options.\n\nThis endpoint returns cash activity statement data broken down by the specified time interval (month, quarter, or year). \n\nRequired scope: read:company"
        }
      ]
    }
  ],
  "bundled": true
}