Direct incomes

Create direct income attachment

Changed on

The Upload direct income attachment endpoint uploads an attachment and assigns it against a specific directIncomeId.

Direct incomes incomes received directly from the business' operations at the point of the sale.

Integration-specific behavior

For more details on supported file types by integration see Attachments.

post/companies/{companyId}/connections/{connectionId}/push/directIncomes/{directIncomeId}/attachment

Request

  • Base URL
    https://api.codat.io
  • Auth
    API key in header Authorization

Request body multipart/form-data

fileCodatFile required(unresolved $ref)

Response

Success

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • breaking

      added the new required request property

    • breaking

      the request's body type changed from string to object, and format from binary to no format