This guide covers the document history for accounts payable documents.
Monite also provides document history for accounts receivable documents.
Overview
The document history for payables provides visibility into key actions performed on these documents. Each event includes the timestamp, the type of action, and the user (or system) that performed it. This helps teams and auditors understand when documents were created, updated, or linked — and by whom.Roles and permissions
To access a payables’s change history using an entity user token, this user must have a role with thepayables.read permission.
If the permission type is allowed_for_own (rather than allowed), the user can access the change history only for documents that they themselves created, but the returned history still includes the changes made to their documents by other users.
If a partner-level token is used, no special permissions are needed.
Event types
Payable history includes the following event types:| Event Name | Description |
|---|---|
payable_created | When a payable is created. |
payable_updated | When any fields of the payable are updated. |
status_changed | When the payable’s status changes at any stage throughout the full payable lifecycle. |
credit_note_linked | When a credit note is linked to the payable. |
credit_note_unlinked | When a credit note is unlinked from the payable. |
file_attached | When a file is attached to the payable. |
GET /payables/{payable_id}/history. You can filter the history by a date range or the event_type.
The history consists of a list of timestamped events that have occurred since the document was created. For a description of available data fields and query parameters, see the endpoint description.
200 response returns the history of the payable:
Some events are triggered automatically by the system and occur in the background. In these cases, the
entity_user_id field will be empty, as no specific user initiated the action.