action codat_get_direct_cost { label: "Get direct cost" description: "Gets the specified direct cost for a given company." provider: codat method: GET path: "/companies/{companyId}/connections/{connectionId}/data/directCosts/{directCostId}" encoding: json output: { type: "object" description: "> **Language tip:** Direct costs may also be referred to as **Spend transactions**, **Spend money transactions**, or **Payments** in various accounting platforms.\n\n> View the coverage for direct costs in the Data coverage explorer.\n\n## Overview\n\nDirect costs include:\n * Purchasing an item and paying it off at the point of the purchase\n * Receiving cash from a refunded item if the refund is made by the supplier\n * Withdrawing money from a bank account \n * Writing a cheque\n\nDirect costs is a child data type of [account transactions](https://docs.codat.io/accounting-api#/schemas/AccountTransaction)." required: ["currency", "issueDate", "lineItems", "paymentAllocations", "subTotal", "taxAmount", "totalAmount"] } }