Invoices

Send Invoice by Email

put/{invoices-type}/{document-id}/email-document.json

Path parameters

invoices-type'invoices' | 'invoice_receipts' | 'simplified_invoices' | 'credit_notes' | 'debit_notes' required

The type of the invoice document.

document-idinteger required
Example:1050

The ID of the document.

Query parameters

api_keystring required
Example:YOUR_API_KEY

Your API Key.

Request body

Example request

{
  "message": {
    "client": {
      "email": "dest@mail.com",
      "save": "1"
    },
    "subject": "Invoice",
    "body": "Attached.",
    "cc": "cc@mail.com",
    "bcc": "bcc@mail.com",
    "logo": "1"
  }
}

Response

SUCCESS

Changes

Changed in 1 of the 2 revisions of this API.221

  • 5b82d4eb0d9f221See the full diff
    • the errors response's property type/format changed from object/ to array/ for status 401

      response-property-type-changed

    • the errors response's property type/format changed from object/ to array/ for status 422

      response-property-type-changed

    • removed the optional property errors/error from the response with the 401 status

      response-optional-property-removed

    • removed the optional property errors/error from the response with the 422 status

      response-optional-property-removed

    • added the non-success response with the status 403

      response-non-success-status-added

    This revision also has 10 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog