action apideck_balance_sheet_one { label: "Get BalanceSheet" description: "Get BalanceSheet" provider: apideck method: GET path: "/accounting/balance-sheet" encoding: json input: { type: "object" properties: { filter: { type: "object" properties: { end_date: { type: "string" description: "Filter by end date. If end date is given, start date is required." } start_date: { type: "string" description: "Filter by start date. If start date is given, end date is required." } } additionalProperties: false } pass_through: { type: "object" properties: { example_downstream_property: { type: "string" description: "All passthrough query parameters are passed along to the connector as is (?pass_through[search]=leads becomes ?search=leads)" } } } raw: { type: "boolean" } "x-apideck-app-id": { type: "string" } "x-apideck-consumer-id": { type: "string" } "x-apideck-service-id": { type: "string" } } required: ["x-apideck-app-id", "x-apideck-consumer-id"] additionalProperties: false } output: { type: "object" required: ["data", "operation", "resource", "service", "status", "status_code"] properties: { data: { type: "object" required: ["assets", "equity", "liabilities", "report_name", "start_date"] properties: { assets: { type: "object" required: ["current_assets", "fixed_assets", "total"] properties: { current_assets: { type: "object" required: ["accounts", "total"] properties: { accounts: { type: "array" items: { type: "object" properties: { id: { type: "string" description: "A unique identifier for an object." } name: { type: "string" description: "The name of the current asset account" } value: { type: "number" description: "The value of the current asset" } } } } total: { type: "number" description: "Total current assets" } } } fixed_assets: { type: "object" required: ["accounts", "total"] properties: { accounts: { type: "array" items: { type: "object" properties: { id: { type: "string" description: "A unique identifier for an object." } name: { type: "string" description: "The name of the fixed asset account" } value: { type: "number" description: "The value of the fixed asset" } } } } total: { type: "number" description: "Total fixed assets" } } } total: { type: "number" description: "Total assets" } } } created_at: { type: "string" format: "date-time" description: "The date and time when the object was created." } created_by: { type: "string" description: "The user who created the object." } end_date: { type: "string" description: "The start date of the report" } equity: { type: "object" required: ["items", "total"] properties: { items: { type: "array" items: { type: "object" properties: { id: { type: "string" description: "A unique identifier for an object." } name: { type: "string" description: "The type of the equity" } value: { type: "number" description: "The equity amount" } } } } total: { type: "number" description: "Total equity" } } } id: { type: "string" description: "A unique identifier for an object." } liabilities: { type: "object" required: ["accounts", "total"] properties: { accounts: { type: "array" items: { type: "object" properties: { id: { type: "string" description: "A unique identifier for an object." } name: { type: "string" description: "The name of the liability account" } value: { type: "number" description: "The value of the liability" } } } } total: { type: "number" description: "Total liabilities" } } } report_name: { type: "string" description: "The name of the report" } start_date: { type: "string" description: "The start date of the report" } updated_at: { type: "string" format: "date-time" description: "The date and time when the object was last updated." } updated_by: { type: "string" description: "The user who last updated the object." } } additionalProperties: false } operation: { type: "string" description: "Operation performed" } resource: { type: "string" description: "Unified API resource name" } service: { type: "string" description: "Apideck ID of service provider" } status: { type: "string" description: "HTTP Response Status" } status_code: { type: "integer" description: "HTTP Response Status Code" } } } }