Apideck · Schema

AgedReportFilter

IntegrationsUnified API

Properties

Name Type Description
customer_id string Filter by customer id
supplier_id string Filter by supplier id
report_as_of_date string The cutoff date for considering transactions
period_count integer Number of periods to split the aged creditors report into
period_length integer Length of each period in days
View JSON Schema on GitHub

JSON Schema

apideck-agedreportfilter-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/AgedReportFilter",
  "title": "AgedReportFilter",
  "type": "object",
  "x-apideck-schema-id": "AgedReportFilter",
  "example": {
    "supplier_id": "123abc",
    "customer_id": "123abc",
    "report_as_of_date": "2024-01-01",
    "period_count": 3,
    "period_length": 30
  },
  "properties": {
    "customer_id": {
      "type": "string",
      "title": "Customer Id",
      "description": "Filter by customer id",
      "example": "123abc"
    },
    "supplier_id": {
      "type": "string",
      "title": "Supplier Id",
      "description": "Filter by supplier id",
      "example": "123abc"
    },
    "report_as_of_date": {
      "type": "string",
      "title": "Report As Of Date",
      "description": "The cutoff date for considering transactions",
      "example": "2024-01-01"
    },
    "period_count": {
      "title": "Period Count",
      "description": "Number of periods to split the aged creditors report into",
      "example": 3,
      "type": "integer",
      "minimum": 1,
      "maximum": 12
    },
    "period_length": {
      "title": "Period Length",
      "description": "Length of each period in days",
      "example": 30,
      "type": "integer",
      "minimum": 1,
      "maximum": 365
    }
  },
  "additionalProperties": false
}