Invoices

Upload invoice attachment

Changed on

The Upload invoice attachment endpoint uploads an attachment and assigns it against a specific invoiceId.

Invoices are itemized records of goods sold or services provided to a customer.

Integration-specific behavior

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

post/companies/{companyId}/connections/{connectionId}/push/invoices/{invoiceId}/attachment

Request

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

Path parameters

invoiceIdstring required
Example:13d946f0-c5d5-42bc-b092-97ece17923ab

Unique identifier for an invoice.

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