Preview a receivable's email message
You can preview emails only for documents in the following statuses:
* Invoices: `draft`, `issued`, `overdue`, `partially_paid`, `paid`.
In the [non-compliant mode](https://docs.monite.com/accounts-receivable/regulatory-compliance/invoice-compliance): also `canceled`.
* Quotes: `draft`, `issued`.
* Credit notes: `draft`, `issued`.
Path parameters
receivable_id
ID of an existing invoice, quote, or credit note.
Headers
Authorization
Bearer authentication of the form Bearer <token>
, where token is your auth token.
x-monite-version
x-monite-entity-id
The ID of the entity that owns the requested resource.
Request
This endpoint expects an object.
body_text
Body text of the content
subject_text
Subject text of the content
language
Language code for localization purposes
type
The type of the preview document.
Allowed values:
Response
Successful Response
body_preview
subject_preview