{
  "opencollection": "1.0.0",
  "info": {
    "name": "Vic.ai Accounts Beta Features API",
    "version": "v10.40.4"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Beta Features",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List CSV reports status",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.no.stage.vic.ai/v0/csvReports"
          },
          "docs": "Get the status of all available CSV reports. This endpoint returns a list\nof all supported report types along with their current status (`READY` or `NOT_READY`).\nReports that are `READY` can be downloaded immediately.\n\n**Note**: This feature is only available to customers with analytics CSV reports enabled.\n\nIf you would like access to the reports please contact Customer Support.\n"
        },
        {
          "info": {
            "name": "Generate CSV reports",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.no.stage.vic.ai/v0/csvReports",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Generate all available CSV reports. This operation is asynchronous -\nthe reports will be queued for generation and their status\nwill be NOT_READY initially. Use the GET endpoint to check when reports\nare READY and can be downloaded. This endpoint has rate limiting (max 1 requests\nper hour).\n\n**Note**: This feature is only available to customers with analytics CSV reports enabled.\n\nIf you would like access to the reports please contact Customer Support.\n"
        },
        {
          "info": {
            "name": "Download CSV report",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.no.stage.vic.ai/v0/csvReports/:report_name",
            "params": [
              {
                "name": "report_name",
                "value": "",
                "type": "path",
                "description": "The name of the CSV report to download. Forwards to the location of the CSV file\nand also returns the signedUrl.\n"
              }
            ]
          },
          "docs": "Download a specific CSV report by name. Returns a redirect (302) to a\nsigned URL where the CSV file can be downloaded. The report must be in\nREADY status to be downloadable otherwise it will return a 404.\n\n**Note**: This feature is only available to customers with analytics CSV reports enabled.\n\nIf you would like access to the reports please contact Customer Support.\n"
        },
        {
          "info": {
            "name": "Create a new imported bill",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.no.stage.vic.ai/v2/bills",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new imported bill with the given `remote_id`. If a bill with the\nsame `remote_id` already exists, returns an error.\n\nImported bills are automatically set to \"posted\" status.\n\n**Document Upload**: You can upload a document along with the bill data using multipart/form-data.\nWhen using multipart, send the bill data fields directly and the file as `document`.\n\n**VAT Handling**: If `total_vat_amount` is provided and greater than zero, the system\nwill automatically create a hidden VAT line i"
        },
        {
          "info": {
            "name": "Update an existing imported bill",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.no.stage.vic.ai/v2/bills/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the bill in the Vic system."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update an existing imported bill with the given `id`. If no bill\nwith the `id` exists, returns an error.\n\nOnly bills that were previously imported via the API can be updated.\nAttempting to update a bill that was not imported via the API will result in an error.\n\n**Document Upload**: You can upload a new document along with the bill data using multipart/form-data.\nWhen using multipart, send the bill data fields directly and the file as `document`.\n\n**VAT Handling**: If `total_vat_amount` is provi"
        }
      ]
    }
  ],
  "bundled": true
}