Get a receivable's history record by ID
Path parameters
ID of the history record to return. You can get these IDs from GET /receivables/{receivable_id}/history
.
Headers
Bearer authentication of the form Bearer <token>, where token is your auth token.
Response
An object containing additional information about the event or change. The object structure varies based on the event_type
. In receivable_created
and receivable_updated
events, event_data
is an empty object {}
.
A URL of the PDF file that shows the document state after the change. Available only for the following event types: receivable_created
, receivable_updated
, status_changed
, and payment_received
. In other event types the current_pdf_url
value is null
.
In payment_received
events, the current_pdf_url
value is available only in case of full payments and only if the entity setting generate_paid_invoice_pdf
is true
.
Note that Monite generates PDFs asynchronously. This means that the initial value of current_pdf_url
for the abovementioned events right after they occurred is usually null
and the value gets populated later after the PDF document has been generated.
ID of the entity user who made the change or trigger the event, or null
if it was done by using a partner access token.