Codat · Schema

Accounting: Report line

Unified_API

Properties

Name Type Description
accountId string Identifier for the account, unique for the company in the accounting software.
name string Name of the report line item.
value number Numerical value of the line item.
items array An array of ReportLine items.
View JSON Schema on GitHub

JSON Schema

codat-reportline-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ReportLine",
  "title": "Accounting: Report line",
  "x-internal": true,
  "type": "object",
  "properties": {
    "accountId": {
      "type": "string",
      "nullable": true,
      "description": "Identifier for the account, unique for the company in the accounting software."
    },
    "name": {
      "type": "string",
      "nullable": true,
      "description": "Name of the report line item."
    },
    "value": {
      "type": "number",
      "format": "decimal",
      "description": "Numerical value of the line item."
    },
    "items": {
      "type": "array",
      "nullable": true,
      "description": "An array of ReportLine items.",
      "items": {
        "$ref": "#/components/schemas/ReportLine"
      }
    }
  },
  "required": [
    "value"
  ]
}