{
  "opencollection": "1.0.0",
  "info": {
    "name": "Puzzle Api Accounts Bills API",
    "version": "0"
  },
  "items": [
    {
      "info": {
        "name": "Bills",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Bills",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://staging.southparkdata.com/rest/v0/company/:id/bills",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The company ID"
              },
              {
                "name": "isLinked",
                "value": "",
                "type": "query"
              },
              {
                "name": "isPaid",
                "value": "",
                "type": "query"
              },
              {
                "name": "isSubmitted",
                "value": "",
                "type": "query"
              },
              {
                "name": "isVoided",
                "value": "",
                "type": "query"
              },
              {
                "name": "minAmount",
                "value": "",
                "type": "query"
              },
              {
                "name": "maxAmount",
                "value": "",
                "type": "query"
              },
              {
                "name": "from",
                "value": "",
                "type": "query"
              },
              {
                "name": "to",
                "value": "",
                "type": "query"
              },
              {
                "name": "dueDateFrom",
                "value": "",
                "type": "query"
              },
              {
                "name": "dueDateTo",
                "value": "",
                "type": "query"
              },
              {
                "name": "statuses",
                "value": "",
                "type": "query"
              },
              {
                "name": "vendorIds",
                "value": "",
                "type": "query"
              },
              {
                "name": "sortBy",
                "value": "",
                "type": "query"
              },
              {
                "name": "count",
                "value": "",
                "type": "query"
              },
              {
                "name": "after",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Retrieves bills.\n\nRequired scope: read:company"
        },
        {
          "info": {
            "name": "Create Bill",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://staging.southparkdata.com/rest/v0/company/:id/bills",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The company ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a bill for the company.\n\nRequired scope: write:bill"
        },
        {
          "info": {
            "name": "Get Bill",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://staging.southparkdata.com/rest/v0/company/:id/bills/:billId",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The company ID"
              },
              {
                "name": "billId",
                "value": "",
                "type": "path",
                "description": "The bill ID"
              }
            ]
          },
          "docs": "Retrieves a bill.\n\nRequired scope: read:company"
        },
        {
          "info": {
            "name": "Update Bill",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://staging.southparkdata.com/rest/v0/company/:id/bills/:billId",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The company ID"
              },
              {
                "name": "billId",
                "value": "",
                "type": "path",
                "description": "The bill ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates an existing bill with new values.\n\nRequired scope: write:bill"
        },
        {
          "info": {
            "name": "Update Bill Status",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://staging.southparkdata.com/rest/v0/company/:id/bills/:billId/status",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The company ID"
              },
              {
                "name": "billId",
                "value": "",
                "type": "path",
                "description": "The bill ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates an existing Bill's sStatus.\n\nRequired scope: write:bill"
        }
      ]
    }
  ],
  "bundled": true
}