action codat_get_direct_income { label: "Get direct income" description: "Gets the specified direct income for a given company and connection." provider: codat method: GET path: "/companies/{companyId}/connections/{connectionId}/data/directIncomes/{directIncomeId}" encoding: json input: { type: "object" properties: { directIncomeId: { type: "string" } } required: ["directIncomeId"] additionalProperties: false } output: { type: "object" description: "> **Language tip:** Direct incomes may also be referred to as **Receive transactions**, **Receive money transactions**, **Sales receipts**, or **Cash sales** in various accounting platforms.\n\n> View the coverage for direct incomes in the Data coverage explorer.\n\n## Overview\n\nDirect incomes include: \n\n- Selling an item directly to a contact, and receiving payment at the point of the sale.\n- Refunding an item in cash to a contact.\n- Depositing money into a bank account.\n\nDirect incomes is a child data type of [account transactions](https://docs.codat.io/accounting-api#/schemas/AccountTransaction).\n" required: ["currency", "issueDate", "lineItems", "paymentAllocations", "subTotal", "taxAmount", "totalAmount"] } }