Direct costs

Upload direct cost attachment

Changed on

The Upload direct cost attachment endpoint uploads an attachment and assigns it against a specific directCostId.

Direct costs are business expenses that don't impact Accounts Payable.

Integration-specific behavior

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

post/companies/{companyId}/connections/{connectionId}/push/directCosts/{directCostId}/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