action apideck_tax_rates_add { label: "Create Tax Rate" description: "Create Tax Rate" provider: apideck method: POST path: "/accounting/tax-rates" encoding: json input: { type: "object" properties: { code: { type: "string" description: "Tax code assigned to identify this tax rate." } components: { type: "array" items: { properties: { compound: { type: "boolean" } id: { type: "string" } name: { type: "string" } rate: { type: "number" } } } } 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." } description: { type: "string" description: "Description of tax rate" } effective_tax_rate: { type: "number" description: "Effective tax rate" } id: { type: "string" description: "ID assigned to identify this tax rate." } name: { type: "string" description: "Name assigned to identify this tax rate." } original_tax_rate_id: { type: "string" description: "ID of the original tax rate from which the new tax rate is derived. Helps to understand the relationship between corresponding tax rate entities." } raw: { type: "boolean" } report_tax_type: { type: "string" description: "Report Tax type to aggregate tax collected or paid for reporting purposes" } row_version: { type: "string" description: "A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object." } status: { type: "string" description: "Tax rate status" enum: ["active", "inactive", "archived"] } tax_payable_account_id: { type: "string" description: "Unique identifier for the account for tax collected." } tax_remitted_account_id: { type: "string" description: "Unique identifier for the account for tax remitted." } total_tax_rate: { type: "number" description: "Not compounded sum of the components of a tax rate" } type: { type: "string" description: "Tax type used to indicate the source of tax collected or paid" } 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." } "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: ["id"] properties: { id: { type: "string" description: "The unique identifier of the resource" } } } 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" } } } }