Pleo · Schema

CreateCsvImportJobRequestV1

Expense ManagementCompany CardsSpend ManagementReimbursementsAccountingFinTechFinance

Properties

Name Type Description
companyId string Unique identifier for the company.
csvFormat object
metadata object Place for API users to store flexible data. The value provided in this field will be passed to consuming service for every CSV row along with the parsed data.
originalFilename string Original filename of the uploaded CSV file.
type string Type of CSV import job.
View JSON Schema on GitHub

JSON Schema

pleo-create-csv-import-job-request-v1-schema.json Raw ↑
{
  "required": [
    "companyId",
    "originalFilename",
    "type"
  ],
  "type": "object",
  "properties": {
    "companyId": {
      "type": "string",
      "description": "Unique identifier for the company.",
      "format": "uuid"
    },
    "csvFormat": {
      "$ref": "#/components/schemas/CsvFormatV1"
    },
    "metadata": {
      "type": "object",
      "additionalProperties": {
        "type": "object",
        "description": "Place for API users to store flexible data. The value provided in this field will be passed to consuming service for every CSV row along with the parsed data."
      },
      "description": "Place for API users to store flexible data. The value provided in this field will be passed to consuming service for every CSV row along with the parsed data."
    },
    "originalFilename": {
      "minLength": 1,
      "type": "string",
      "description": "Original filename of the uploaded CSV file.",
      "example": "vendors.csv"
    },
    "type": {
      "minLength": 1,
      "type": "string",
      "description": "Type of CSV import job.",
      "example": "vendors"
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "CreateCsvImportJobRequestV1"
}