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`.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
receivable_id
ID of an existing invoice, quote, or credit note.
Headers
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
Errors
400
Post Receivables ID Preview Request Bad Request Error
401
Post Receivables ID Preview Request Unauthorized Error
403
Post Receivables ID Preview Request Forbidden Error
404
Post Receivables ID Preview Request Not Found Error
422
Post Receivables ID Preview Request Unprocessable Entity Error
429
Post Receivables ID Preview Request Too Many Requests Error