Skip to content
Review the audit log
Help · Organization

Review the audit log

See who did what in a CNPJá organization: the actions of members, API keys and the system, the filters by area, event, origin and actor, and each resource's history.

The audit log lists the events of the organization, one per row: what members change in the app, what is done with the API keys and what CNPJá does on its own, such as renewing the quotas and charging the invoices. Owners and Administrators read it under Settings > Audit log, at the foot of the rail (on a phone, tap Menu > Settings).

Who can see it

Owner and Administrator. Developers, Bookkeepers and Members do not see Audit log under Settings, and CNPJá refuses to read the events for those roles. The full matrix is in Permissions by role.

Read the events

  1. Open Settings > Audit log. Events run from the newest to the oldest.
  2. Filter by Period, Area, Event, Origin and Actor. Clear undoes every filter. Refresh reads the events again with the same filters and highlights the ones that arrived.
  3. Click an event to open its Event record.
  4. To move to the neighboring events on the page, use Previous event and Next event, or the K and J keys.

Period works as on the Usage page, and the page opens on Last 30 days. Event groups the events by area and, with areas ticked under Area, shows only theirs. Actor lists the members and the API keys, as Filter by member or key explains. The filters live in the page address, so a copied link opens the same view for anyone who can also see the page.

The table shows Time, Area, Event, Resource, Actor and IP address. The resource is what the event touched, by the name it goes by in the app: the member, the API key with its ending, the list, the view, the card or the amount of the invoice or the charge. The actor is the member or the API key that acted.

Event origin

Every event has an origin, which tells how it happened:

OriginWhat it means
MemberDone in the app by a member, including when signing in, activating the account, resetting the password or accepting an invitation. The IP address and the user agent are those of their browser
API keyDone through the API with that key, such as creating, renaming or deleting a list. Establishments added to a list or removed from it through the API are not recorded
SystemDone by CNPJá itself, such as renewals, charges, payments, tax documents and quotas. It has no IP address or user agent

Event record

The Event record brings together the Actor, the Origin, the IP address, the Resource, the Resource ID and the Event ID, plus:

  • Changes: each value the event changed, the one before beside the one after;
  • Recorded data: the other data stored with the event;
  • User agent: the browser or program that took the action.

Open in the app leads to the page of the app where the resource lives, such as the list, the invoice or the Settings page that shows it. A deleted list or view no longer has a page.

A resource’s history

  1. In the Event record, click Resource history.
  2. The table now shows every event of that resource in the period, of any area, event, origin or actor, with the Resource filter among the filters.
  3. To see everything again, use the clear button beside Resource or click Clear.

Each resource gathers its own history:

  • Member: the events of their account and those of their membership in the organization, such as joining, a role change and leaving, share one history.
  • Export: the events of an export stay with it, not with the list exported.

What gets logged

AreaWhat it records
OrganizationThe creation of the organization, changes to its name, logo and billing details and changes to its notifications
Members and invitationsA member joining, a role change, a removal, a member leaving and invitations sent and revoked
Sign-in and accountThe activation of a member’s account, each sign-in and each sign-out (a session that expires or is revoked records no end), changes to the profile, the e-mail and the password, a password reset and Google and Microsoft accounts connected or disconnected
API keysKeys created, changed and revoked and the use of a revoked key, recorded at most once every 24 hours per key
ListsLists created, renamed and deleted and establishments added, removed or replaced in a list
ViewsViews created, changed and deleted
ExportsExports requested, started, completed and downloaded
SubscriptionThe subscription order and its cancellation, its activation and a failed activation, renewal, a cancellation scheduled or undone, its end, a late payment and its settlement, the notices of a return to Free and of a yearly cycle end approaching, and changes to the payment method, the due day, the tax document issuance, the overage budget and the packs
Quotas and overageThe renewal of the quotas, quota levels reached, the start of overage, a quota used up, overage budget levels reached, the overage budget used up and overage waived
InvoicesInvoices issued, paid and cancelled, a new charge, a charge retried, a bank slip downloaded and a tax document authorized, rejected or cancelled
ChargesA bank slip issued, a due date approaching, a card charge made or failed, a payment received or refunded, a charge overdue, expired or cancelled and payment chargebacks
Payment methodsCards added, rejected, set as default and removed

Levels reached and the notices of a due date, a return to Free and a yearly cycle end are only recorded while their notification is on, and only at the levels picked in it.

Sign-in and account events belong to the member’s account: they appear in the audit log of every organization the member belongs to. Owners and Administrators therefore see when each member signed in and signed out, and from which IP address. How CNPJá handles this data is in the Privacy Policy, and how long it keeps it, under Retention and deletion.

What does not appear

  • Data requests, such as lookups, certificates and searches, are on the Requests page.
  • Each organization sees only its own events. To see another one’s, switch organizations in the selector.

In the API

The audit log is not in the public API: its events are read in the app only. Actions taken with an API key appear here with the origin API key, and its data requests on the Requests page.

Informational content that may change without notice. It is not tax, accounting or legal advice, and CNPJá's terms and policies prevail over this page.