action codat_get_direct_cost_attachment { label: "Get direct cost attachment" description: "Gets the specified direct cost attachment for a given company." provider: codat method: GET path: "/companies/{companyId}/connections/{connectionId}/data/directCosts/{directCostId}/attachments/{attachmentId}" encoding: json input: { type: "object" properties: { attachmentId: { type: "string" format: "uuid" } } required: ["attachmentId"] additionalProperties: false } output: { type: "object" description: "The Codat API supports pulling and pushing of file attachments for invoices, bills, direct costs, and direct incomes.\n\n> **Retrieving attachments**\n> \n> If a company is authorized, you can query the Codat API to read, download, and upload attachments without requiring a fresh sync of data.\n\nUnlike other data types, Codat doesn't support sync settings for attachments.\n\nView the coverage for accounts in the Data coverage explorer.\n" } }