{"data":[{"type":"organization.created","subject":"organization","description":"An organization and its test twin were created.","alerts":false,"can_be_simulated":false,"example":{"id":"00000000-0000-4000-8000-00000000e0e0","type":"organization.created","created_at":"2026-01-15T15:04:05.000Z","mode":"test","organization_id":"00000000-0000-4000-8000-0000000000aa","data":{"organization":{"id":"00000000-0000-4000-8000-0000000000aa","name":"Acme S.A.C.","environment":"test","status":"active"}}}},{"type":"organization.updated","subject":"organization","description":"The name of the organization changed.","alerts":false,"can_be_simulated":false,"example":{"id":"00000000-0000-4000-8000-00000000e0e0","type":"organization.updated","created_at":"2026-01-15T15:04:05.000Z","mode":"test","organization_id":"00000000-0000-4000-8000-0000000000aa","data":{"organization":{"id":"00000000-0000-4000-8000-0000000000aa","name":"Acme S.A.C.","environment":"test","status":"active"}}}},{"type":"organization.archived","subject":"organization","description":"The organization was archived.","alerts":false,"can_be_simulated":false,"example":{"id":"00000000-0000-4000-8000-00000000e0e0","type":"organization.archived","created_at":"2026-01-15T15:04:05.000Z","mode":"test","organization_id":"00000000-0000-4000-8000-0000000000aa","data":{"organization":{"id":"00000000-0000-4000-8000-0000000000aa","name":"Acme S.A.C.","environment":"test","status":"active"}}}},{"type":"member.added","subject":"member","description":"A person became a member.","alerts":false,"can_be_simulated":false,"example":{"id":"00000000-0000-4000-8000-00000000e0e0","type":"member.added","created_at":"2026-01-15T15:04:05.000Z","mode":"test","organization_id":"00000000-0000-4000-8000-0000000000aa","data":{"member":{"user_id":"00000000-0000-4000-8000-00000000e0e0","role":"operator"}}}},{"type":"member.updated","subject":"member","description":"The role of a member changed.","alerts":false,"can_be_simulated":false,"example":{"id":"00000000-0000-4000-8000-00000000e0e0","type":"member.updated","created_at":"2026-01-15T15:04:05.000Z","mode":"test","organization_id":"00000000-0000-4000-8000-0000000000aa","data":{"member":{"user_id":"00000000-0000-4000-8000-00000000e0e0","role":"operator"}}}},{"type":"member.removed","subject":"member","description":"A member was removed. Carries the membership as it was.","alerts":false,"can_be_simulated":false,"example":{"id":"00000000-0000-4000-8000-00000000e0e0","type":"member.removed","created_at":"2026-01-15T15:04:05.000Z","mode":"test","organization_id":"00000000-0000-4000-8000-0000000000aa","data":{"member":{"user_id":"00000000-0000-4000-8000-00000000e0e0","role":"operator"}}}},{"type":"service_account.created","subject":"service_account","description":"A service account was created.","alerts":false,"can_be_simulated":false,"example":{"id":"00000000-0000-4000-8000-00000000e0e0","type":"service_account.created","created_at":"2026-01-15T15:04:05.000Z","mode":"test","organization_id":"00000000-0000-4000-8000-0000000000aa","data":{"service_account":{"id":"00000000-0000-4000-8000-00000000e0e0","name":"billing-job","scopes":["invoices:emit","invoices:read"],"status":"active"}}}},{"type":"service_account.updated","subject":"service_account","description":"The name or the scopes of a service account changed.","alerts":false,"can_be_simulated":false,"example":{"id":"00000000-0000-4000-8000-00000000e0e0","type":"service_account.updated","created_at":"2026-01-15T15:04:05.000Z","mode":"test","organization_id":"00000000-0000-4000-8000-0000000000aa","data":{"service_account":{"id":"00000000-0000-4000-8000-00000000e0e0","name":"billing-job","scopes":["invoices:emit","invoices:read"],"status":"active"}}}},{"type":"service_account.disabled","subject":"service_account","description":"A service account was disabled; all its keys stopped working.","alerts":false,"can_be_simulated":false,"example":{"id":"00000000-0000-4000-8000-00000000e0e0","type":"service_account.disabled","created_at":"2026-01-15T15:04:05.000Z","mode":"test","organization_id":"00000000-0000-4000-8000-0000000000aa","data":{"service_account":{"id":"00000000-0000-4000-8000-00000000e0e0","name":"billing-job","scopes":["invoices:emit","invoices:read"],"status":"active"}}}},{"type":"api_key.created","subject":"api_key","description":"A key was created. The secret is never in the event.","alerts":false,"can_be_simulated":false,"example":{"id":"00000000-0000-4000-8000-00000000e0e0","type":"api_key.created","created_at":"2026-01-15T15:04:05.000Z","mode":"test","organization_id":"00000000-0000-4000-8000-0000000000aa","data":{"key":{"id":"00000000-0000-4000-8000-00000000e0e0","service_account_id":"00000000-0000-4000-8000-00000000e0e0","name":"production","hint":"…a1b2"}}}},{"type":"api_key.revoked","subject":"api_key","description":"A key was revoked. Carries the key as it was, without its secret.","alerts":false,"can_be_simulated":false,"example":{"id":"00000000-0000-4000-8000-00000000e0e0","type":"api_key.revoked","created_at":"2026-01-15T15:04:05.000Z","mode":"test","organization_id":"00000000-0000-4000-8000-0000000000aa","data":{"key":{"id":"00000000-0000-4000-8000-00000000e0e0","service_account_id":"00000000-0000-4000-8000-00000000e0e0","name":"production","hint":"…a1b2"}}}},{"type":"issuer.created","subject":"issuer","description":"The fiscal data of the issuer was set for the first time.","alerts":false,"can_be_simulated":false,"example":{"id":"00000000-0000-4000-8000-00000000e0e0","type":"issuer.created","created_at":"2026-01-15T15:04:05.000Z","mode":"test","organization_id":"00000000-0000-4000-8000-0000000000aa","data":{"issuer":{"id":"00000000-0000-4000-8000-00000000e0e0","tax_id":"20601188750","legal_name":"ACME S.A.C."}}}},{"type":"issuer.updated","subject":"issuer","description":"The fiscal data of the issuer changed.","alerts":false,"can_be_simulated":false,"example":{"id":"00000000-0000-4000-8000-00000000e0e0","type":"issuer.updated","created_at":"2026-01-15T15:04:05.000Z","mode":"test","organization_id":"00000000-0000-4000-8000-0000000000aa","data":{"issuer":{"id":"00000000-0000-4000-8000-00000000e0e0","tax_id":"20601188750","legal_name":"ACME S.A.C."}}}},{"type":"series.created","subject":"series","description":"A series was created.","alerts":false,"can_be_simulated":false,"example":{"id":"00000000-0000-4000-8000-00000000e0e0","type":"series.created","created_at":"2026-01-15T15:04:05.000Z","mode":"test","organization_id":"00000000-0000-4000-8000-0000000000aa","data":{"series":{"id":"00000000-0000-4000-8000-00000000e0e0","code":"F001","document_type":"factura"}}}},{"type":"invoice.created","subject":"invoice","description":"An invoice was accepted by the API and took its number. It is not yet sent.","alerts":false,"can_be_simulated":true,"example":{"id":"00000000-0000-4000-8000-00000000e0e0","type":"invoice.created","created_at":"2026-01-15T15:04:05.000Z","mode":"test","organization_id":"00000000-0000-4000-8000-0000000000aa","data":{"invoice":{"id":"00000000-0000-4000-8000-00000000e0e0","object":"invoice","environment":"test","type":"factura","series":"F001","number":123,"full_number":"F001-00000123","status":"processing","settled":false,"status_reason":null,"currency":"PEN","totals":{"taxable":"100.00","exempt":"0.00","unaffected":"0.00","tax":"18.00","total":"118.00"},"customer":{"id_type":"ruc","id_number":"20601188750","name":"CLIENTE S.A.C."},"external_ref":null,"created_at":"2026-01-15T15:04:05.000Z"}}}},{"type":"invoice.sent","subject":"invoice","description":"The provider received the invoice; SUNAT has not answered yet.","alerts":false,"can_be_simulated":true,"example":{"id":"00000000-0000-4000-8000-00000000e0e0","type":"invoice.sent","created_at":"2026-01-15T15:04:05.000Z","mode":"test","organization_id":"00000000-0000-4000-8000-0000000000aa","data":{"invoice":{"id":"00000000-0000-4000-8000-00000000e0e0","object":"invoice","environment":"test","type":"factura","series":"F001","number":123,"full_number":"F001-00000123","status":"processing","settled":false,"status_reason":null,"currency":"PEN","totals":{"taxable":"100.00","exempt":"0.00","unaffected":"0.00","tax":"18.00","total":"118.00"},"customer":{"id_type":"ruc","id_number":"20601188750","name":"CLIENTE S.A.C."},"external_ref":null,"created_at":"2026-01-15T15:04:05.000Z"}}}},{"type":"invoice.accepted","subject":"invoice","description":"SUNAT accepted the invoice.","alerts":false,"can_be_simulated":true,"example":{"id":"00000000-0000-4000-8000-00000000e0e0","type":"invoice.accepted","created_at":"2026-01-15T15:04:05.000Z","mode":"test","organization_id":"00000000-0000-4000-8000-0000000000aa","data":{"invoice":{"id":"00000000-0000-4000-8000-00000000e0e0","object":"invoice","environment":"test","type":"factura","series":"F001","number":123,"full_number":"F001-00000123","status":"accepted","settled":true,"status_reason":null,"currency":"PEN","totals":{"taxable":"100.00","exempt":"0.00","unaffected":"0.00","tax":"18.00","total":"118.00"},"customer":{"id_type":"ruc","id_number":"20601188750","name":"CLIENTE S.A.C."},"external_ref":null,"created_at":"2026-01-15T15:04:05.000Z"}}}},{"type":"invoice.rejected","subject":"invoice","description":"SUNAT rejected the invoice. Its number was not used.","alerts":true,"can_be_simulated":true,"example":{"id":"00000000-0000-4000-8000-00000000e0e0","type":"invoice.rejected","created_at":"2026-01-15T15:04:05.000Z","mode":"test","organization_id":"00000000-0000-4000-8000-0000000000aa","data":{"invoice":{"id":"00000000-0000-4000-8000-00000000e0e0","object":"invoice","environment":"test","type":"factura","series":"F001","number":123,"full_number":"F001-00000123","status":"rejected","settled":true,"status_reason":null,"currency":"PEN","totals":{"taxable":"100.00","exempt":"0.00","unaffected":"0.00","tax":"18.00","total":"118.00"},"customer":{"id_type":"ruc","id_number":"20601188750","name":"CLIENTE S.A.C."},"external_ref":null,"created_at":"2026-01-15T15:04:05.000Z"}}}},{"type":"invoice.failed","subject":"invoice","description":"The invoice cannot go on by itself and needs a correction.","alerts":true,"can_be_simulated":true,"example":{"id":"00000000-0000-4000-8000-00000000e0e0","type":"invoice.failed","created_at":"2026-01-15T15:04:05.000Z","mode":"test","organization_id":"00000000-0000-4000-8000-0000000000aa","data":{"invoice":{"id":"00000000-0000-4000-8000-00000000e0e0","object":"invoice","environment":"test","type":"factura","series":"F001","number":123,"full_number":"F001-00000123","status":"failed","settled":true,"status_reason":"provider_rejected_content","currency":"PEN","totals":{"taxable":"100.00","exempt":"0.00","unaffected":"0.00","tax":"18.00","total":"118.00"},"customer":{"id_type":"ruc","id_number":"20601188750","name":"CLIENTE S.A.C."},"external_ref":null,"created_at":"2026-01-15T15:04:05.000Z"}}}},{"type":"invoice.stalled","subject":"invoice","description":"The invoice has been in process longer than expected. Nothing is lost; someone should look.","alerts":true,"can_be_simulated":true,"example":{"id":"00000000-0000-4000-8000-00000000e0e0","type":"invoice.stalled","created_at":"2026-01-15T15:04:05.000Z","mode":"test","organization_id":"00000000-0000-4000-8000-0000000000aa","data":{"invoice":{"id":"00000000-0000-4000-8000-00000000e0e0","object":"invoice","environment":"test","type":"factura","series":"F001","number":123,"full_number":"F001-00000123","status":"processing","settled":false,"status_reason":null,"currency":"PEN","totals":{"taxable":"100.00","exempt":"0.00","unaffected":"0.00","tax":"18.00","total":"118.00"},"customer":{"id_type":"ruc","id_number":"20601188750","name":"CLIENTE S.A.C."},"external_ref":null,"created_at":"2026-01-15T15:04:05.000Z"}}}},{"type":"invoice.held","subject":"invoice","description":"The provider gave an answer the service cannot interpret. The invoice is held in process: nothing is resent, and the staff of the service was told.","alerts":false,"can_be_simulated":true,"example":{"id":"00000000-0000-4000-8000-00000000e0e0","type":"invoice.held","created_at":"2026-01-15T15:04:05.000Z","mode":"test","organization_id":"00000000-0000-4000-8000-0000000000aa","data":{"invoice":{"id":"00000000-0000-4000-8000-00000000e0e0","object":"invoice","environment":"test","type":"factura","series":"F001","number":123,"full_number":"F001-00000123","status":"accepted","settled":true,"status_reason":null,"currency":"PEN","totals":{"taxable":"100.00","exempt":"0.00","unaffected":"0.00","tax":"18.00","total":"118.00"},"customer":{"id_type":"ruc","id_number":"20601188750","name":"CLIENTE S.A.C."},"external_ref":null,"created_at":"2026-01-15T15:04:05.000Z"}}}},{"type":"invoice.released","subject":"invoice","description":"The staff of the service released a held invoice: it first asks the provider, then goes on.","alerts":false,"can_be_simulated":true,"example":{"id":"00000000-0000-4000-8000-00000000e0e0","type":"invoice.released","created_at":"2026-01-15T15:04:05.000Z","mode":"test","organization_id":"00000000-0000-4000-8000-0000000000aa","data":{"invoice":{"id":"00000000-0000-4000-8000-00000000e0e0","object":"invoice","environment":"test","type":"factura","series":"F001","number":123,"full_number":"F001-00000123","status":"accepted","settled":true,"status_reason":null,"currency":"PEN","totals":{"taxable":"100.00","exempt":"0.00","unaffected":"0.00","tax":"18.00","total":"118.00"},"customer":{"id_type":"ruc","id_number":"20601188750","name":"CLIENTE S.A.C."},"external_ref":null,"created_at":"2026-01-15T15:04:05.000Z"}}}},{"type":"issuer.activated","subject":"issuer","description":"The issuer was activated for production: its RUC is locked to it and it can issue for real.","alerts":false,"can_be_simulated":false,"example":{"id":"00000000-0000-4000-8000-00000000e0e0","type":"issuer.activated","created_at":"2026-01-15T15:04:05.000Z","mode":"test","organization_id":"00000000-0000-4000-8000-0000000000aa","data":{"issuer":{"id":"00000000-0000-4000-8000-00000000e0e0","tax_id":"20601188750","legal_name":"ACME S.A.C."}}}},{"type":"provider_connection.created","subject":"provider_connection","description":"A connection to a provider was added to the issuer.","alerts":false,"can_be_simulated":false,"example":{"id":"00000000-0000-4000-8000-00000000e0e0","type":"provider_connection.created","created_at":"2026-01-15T15:04:05.000Z","mode":"test","organization_id":"00000000-0000-4000-8000-0000000000aa","data":{"provider_connection":{"id":"00000000-0000-4000-8000-00000000e0e0","provider":"simulator","mode":"sandbox","status":"active"}}}},{"type":"provider_connection.updated","subject":"provider_connection","description":"The configuration or the state of a provider connection changed.","alerts":false,"can_be_simulated":false,"example":{"id":"00000000-0000-4000-8000-00000000e0e0","type":"provider_connection.updated","created_at":"2026-01-15T15:04:05.000Z","mode":"test","organization_id":"00000000-0000-4000-8000-0000000000aa","data":{"provider_connection":{"id":"00000000-0000-4000-8000-00000000e0e0","provider":"simulator","mode":"sandbox","status":"active"}}}},{"type":"provider.account_blocked","subject":"provider","description":"The provider refuses every operation of the account. Invoices stay in process and go out when it recovers.","alerts":false,"can_be_simulated":false,"example":{"id":"00000000-0000-4000-8000-00000000e0e0","type":"provider.account_blocked","created_at":"2026-01-15T15:04:05.000Z","mode":"test","organization_id":"00000000-0000-4000-8000-0000000000aa","data":{"provider":{"provider":"bizlinks","mode":"production","blocked_code":"provider_account_suspended"}}}},{"type":"provider.account_recovered","subject":"provider","description":"The provider account works again; what was waiting is being sent.","alerts":false,"can_be_simulated":false,"example":{"id":"00000000-0000-4000-8000-00000000e0e0","type":"provider.account_recovered","created_at":"2026-01-15T15:04:05.000Z","mode":"test","organization_id":"00000000-0000-4000-8000-0000000000aa","data":{"provider":{"provider":"bizlinks","mode":"production","blocked_code":"provider_account_suspended"}}}},{"type":"invoice.void_requested","subject":"invoice","description":"A void of the invoice was requested. The invoice is still accepted.","alerts":false,"can_be_simulated":true,"example":{"id":"00000000-0000-4000-8000-00000000e0e0","type":"invoice.void_requested","created_at":"2026-01-15T15:04:05.000Z","mode":"test","organization_id":"00000000-0000-4000-8000-0000000000aa","data":{"invoice":{"id":"00000000-0000-4000-8000-00000000e0e0","object":"invoice","environment":"test","type":"factura","series":"F001","number":123,"full_number":"F001-00000123","status":"accepted","settled":true,"status_reason":null,"currency":"PEN","totals":{"taxable":"100.00","exempt":"0.00","unaffected":"0.00","tax":"18.00","total":"118.00"},"customer":{"id_type":"ruc","id_number":"20601188750","name":"CLIENTE S.A.C."},"external_ref":null,"created_at":"2026-01-15T15:04:05.000Z"}}}},{"type":"invoice.voided","subject":"invoice","description":"SUNAT accepted the void. The invoice is voided.","alerts":false,"can_be_simulated":true,"example":{"id":"00000000-0000-4000-8000-00000000e0e0","type":"invoice.voided","created_at":"2026-01-15T15:04:05.000Z","mode":"test","organization_id":"00000000-0000-4000-8000-0000000000aa","data":{"invoice":{"id":"00000000-0000-4000-8000-00000000e0e0","object":"invoice","environment":"test","type":"factura","series":"F001","number":123,"full_number":"F001-00000123","status":"voided","settled":true,"status_reason":null,"currency":"PEN","totals":{"taxable":"100.00","exempt":"0.00","unaffected":"0.00","tax":"18.00","total":"118.00"},"customer":{"id_type":"ruc","id_number":"20601188750","name":"CLIENTE S.A.C."},"external_ref":null,"created_at":"2026-01-15T15:04:05.000Z"}}}},{"type":"invoice.void_rejected","subject":"invoice","description":"SUNAT rejected the void. The invoice is still accepted.","alerts":true,"can_be_simulated":true,"example":{"id":"00000000-0000-4000-8000-00000000e0e0","type":"invoice.void_rejected","created_at":"2026-01-15T15:04:05.000Z","mode":"test","organization_id":"00000000-0000-4000-8000-0000000000aa","data":{"invoice":{"id":"00000000-0000-4000-8000-00000000e0e0","object":"invoice","environment":"test","type":"factura","series":"F001","number":123,"full_number":"F001-00000123","status":"accepted","settled":true,"status_reason":null,"currency":"PEN","totals":{"taxable":"100.00","exempt":"0.00","unaffected":"0.00","tax":"18.00","total":"118.00"},"customer":{"id_type":"ruc","id_number":"20601188750","name":"CLIENTE S.A.C."},"external_ref":null,"created_at":"2026-01-15T15:04:05.000Z"}}}},{"type":"invoice.void_held","subject":"invoice","description":"The provider gave an answer about the void that the service cannot interpret. The void is held: nothing is resent, and the staff of the service was told.","alerts":false,"can_be_simulated":true,"example":{"id":"00000000-0000-4000-8000-00000000e0e0","type":"invoice.void_held","created_at":"2026-01-15T15:04:05.000Z","mode":"test","organization_id":"00000000-0000-4000-8000-0000000000aa","data":{"invoice":{"id":"00000000-0000-4000-8000-00000000e0e0","object":"invoice","environment":"test","type":"factura","series":"F001","number":123,"full_number":"F001-00000123","status":"accepted","settled":true,"status_reason":null,"currency":"PEN","totals":{"taxable":"100.00","exempt":"0.00","unaffected":"0.00","tax":"18.00","total":"118.00"},"customer":{"id_type":"ruc","id_number":"20601188750","name":"CLIENTE S.A.C."},"external_ref":null,"created_at":"2026-01-15T15:04:05.000Z"}}}},{"type":"invoice.void_released","subject":"invoice","description":"The staff of the service released a held void: it first asks the provider, then goes on.","alerts":false,"can_be_simulated":true,"example":{"id":"00000000-0000-4000-8000-00000000e0e0","type":"invoice.void_released","created_at":"2026-01-15T15:04:05.000Z","mode":"test","organization_id":"00000000-0000-4000-8000-0000000000aa","data":{"invoice":{"id":"00000000-0000-4000-8000-00000000e0e0","object":"invoice","environment":"test","type":"factura","series":"F001","number":123,"full_number":"F001-00000123","status":"accepted","settled":true,"status_reason":null,"currency":"PEN","totals":{"taxable":"100.00","exempt":"0.00","unaffected":"0.00","tax":"18.00","total":"118.00"},"customer":{"id_type":"ruc","id_number":"20601188750","name":"CLIENTE S.A.C."},"external_ref":null,"created_at":"2026-01-15T15:04:05.000Z"}}}},{"type":"invoice.void_failed","subject":"invoice","description":"The void could not be completed (for example, its window expired). The invoice is still accepted.","alerts":true,"can_be_simulated":true,"example":{"id":"00000000-0000-4000-8000-00000000e0e0","type":"invoice.void_failed","created_at":"2026-01-15T15:04:05.000Z","mode":"test","organization_id":"00000000-0000-4000-8000-0000000000aa","data":{"invoice":{"id":"00000000-0000-4000-8000-00000000e0e0","object":"invoice","environment":"test","type":"factura","series":"F001","number":123,"full_number":"F001-00000123","status":"accepted","settled":true,"status_reason":null,"currency":"PEN","totals":{"taxable":"100.00","exempt":"0.00","unaffected":"0.00","tax":"18.00","total":"118.00"},"customer":{"id_type":"ruc","id_number":"20601188750","name":"CLIENTE S.A.C."},"external_ref":null,"created_at":"2026-01-15T15:04:05.000Z"}}}},{"type":"invoice.void_stalled","subject":"invoice","description":"The void of the invoice has been in process longer than expected. The invoice is still accepted; nothing is lost, and someone should look.","alerts":true,"can_be_simulated":true,"example":{"id":"00000000-0000-4000-8000-00000000e0e0","type":"invoice.void_stalled","created_at":"2026-01-15T15:04:05.000Z","mode":"test","organization_id":"00000000-0000-4000-8000-0000000000aa","data":{"invoice":{"id":"00000000-0000-4000-8000-00000000e0e0","object":"invoice","environment":"test","type":"factura","series":"F001","number":123,"full_number":"F001-00000123","status":"accepted","settled":true,"status_reason":null,"currency":"PEN","totals":{"taxable":"100.00","exempt":"0.00","unaffected":"0.00","tax":"18.00","total":"118.00"},"customer":{"id_type":"ruc","id_number":"20601188750","name":"CLIENTE S.A.C."},"external_ref":null,"created_at":"2026-01-15T15:04:05.000Z"}}}},{"type":"invoice.reopened","subject":"invoice","description":"A failed or rejected invoice was corrected and is in process again. Its previous attempt is kept in its history.","alerts":false,"can_be_simulated":true,"example":{"id":"00000000-0000-4000-8000-00000000e0e0","type":"invoice.reopened","created_at":"2026-01-15T15:04:05.000Z","mode":"test","organization_id":"00000000-0000-4000-8000-0000000000aa","data":{"invoice":{"id":"00000000-0000-4000-8000-00000000e0e0","object":"invoice","environment":"test","type":"factura","series":"F001","number":123,"full_number":"F001-00000123","status":"processing","settled":false,"status_reason":null,"currency":"PEN","totals":{"taxable":"100.00","exempt":"0.00","unaffected":"0.00","tax":"18.00","total":"118.00"},"customer":{"id_type":"ruc","id_number":"20601188750","name":"CLIENTE S.A.C."},"external_ref":null,"created_at":"2026-01-15T15:04:05.000Z"}}}},{"type":"invoice.externally_reversed","subject":"invoice","description":"A person recorded that the invoice was reversed by hand at the provider. A note, not a fiscal state.","alerts":false,"can_be_simulated":true,"example":{"id":"00000000-0000-4000-8000-00000000e0e0","type":"invoice.externally_reversed","created_at":"2026-01-15T15:04:05.000Z","mode":"test","organization_id":"00000000-0000-4000-8000-0000000000aa","data":{"invoice":{"id":"00000000-0000-4000-8000-00000000e0e0","object":"invoice","environment":"test","type":"factura","series":"F001","number":123,"full_number":"F001-00000123","status":"accepted","settled":true,"status_reason":null,"currency":"PEN","totals":{"taxable":"100.00","exempt":"0.00","unaffected":"0.00","tax":"18.00","total":"118.00"},"customer":{"id_type":"ruc","id_number":"20601188750","name":"CLIENTE S.A.C."},"external_ref":null,"created_at":"2026-01-15T15:04:05.000Z"}}}},{"type":"invoice.files_stored","subject":"invoice","description":"The files of the invoice (XML, CDR, PDF) are stored and can be downloaded.","alerts":false,"can_be_simulated":true,"example":{"id":"00000000-0000-4000-8000-00000000e0e0","type":"invoice.files_stored","created_at":"2026-01-15T15:04:05.000Z","mode":"test","organization_id":"00000000-0000-4000-8000-0000000000aa","data":{"invoice":{"id":"00000000-0000-4000-8000-00000000e0e0","object":"invoice","environment":"test","type":"factura","series":"F001","number":123,"full_number":"F001-00000123","status":"accepted","settled":true,"status_reason":null,"currency":"PEN","totals":{"taxable":"100.00","exempt":"0.00","unaffected":"0.00","tax":"18.00","total":"118.00"},"customer":{"id_type":"ruc","id_number":"20601188750","name":"CLIENTE S.A.C."},"external_ref":null,"created_at":"2026-01-15T15:04:05.000Z"}}}},{"type":"invoice.file_failed","subject":"invoice","description":"A file of the invoice could not be stored or rendered. It can be asked again.","alerts":false,"can_be_simulated":true,"example":{"id":"00000000-0000-4000-8000-00000000e0e0","type":"invoice.file_failed","created_at":"2026-01-15T15:04:05.000Z","mode":"test","organization_id":"00000000-0000-4000-8000-0000000000aa","data":{"invoice":{"id":"00000000-0000-4000-8000-00000000e0e0","object":"invoice","environment":"test","type":"factura","series":"F001","number":123,"full_number":"F001-00000123","status":"accepted","settled":true,"status_reason":null,"currency":"PEN","totals":{"taxable":"100.00","exempt":"0.00","unaffected":"0.00","tax":"18.00","total":"118.00"},"customer":{"id_type":"ruc","id_number":"20601188750","name":"CLIENTE S.A.C."},"external_ref":null,"created_at":"2026-01-15T15:04:05.000Z"}}}},{"type":"invoice.email_sent","subject":"invoice","description":"An email about the invoice was sent.","alerts":false,"can_be_simulated":true,"example":{"id":"00000000-0000-4000-8000-00000000e0e0","type":"invoice.email_sent","created_at":"2026-01-15T15:04:05.000Z","mode":"test","organization_id":"00000000-0000-4000-8000-0000000000aa","data":{"invoice":{"id":"00000000-0000-4000-8000-00000000e0e0","object":"invoice","environment":"test","type":"factura","series":"F001","number":123,"full_number":"F001-00000123","status":"accepted","settled":true,"status_reason":null,"currency":"PEN","totals":{"taxable":"100.00","exempt":"0.00","unaffected":"0.00","tax":"18.00","total":"118.00"},"customer":{"id_type":"ruc","id_number":"20601188750","name":"CLIENTE S.A.C."},"external_ref":null,"created_at":"2026-01-15T15:04:05.000Z"}}}},{"type":"invoice.email_not_sent","subject":"invoice","description":"An email about the invoice was deliberately not sent; the event says why. Its content stays readable.","alerts":false,"can_be_simulated":true,"example":{"id":"00000000-0000-4000-8000-00000000e0e0","type":"invoice.email_not_sent","created_at":"2026-01-15T15:04:05.000Z","mode":"test","organization_id":"00000000-0000-4000-8000-0000000000aa","data":{"invoice":{"id":"00000000-0000-4000-8000-00000000e0e0","object":"invoice","environment":"test","type":"factura","series":"F001","number":123,"full_number":"F001-00000123","status":"accepted","settled":true,"status_reason":null,"currency":"PEN","totals":{"taxable":"100.00","exempt":"0.00","unaffected":"0.00","tax":"18.00","total":"118.00"},"customer":{"id_type":"ruc","id_number":"20601188750","name":"CLIENTE S.A.C."},"external_ref":null,"created_at":"2026-01-15T15:04:05.000Z"}}}},{"type":"invoice.email_failed","subject":"invoice","description":"An email about the invoice could not be sent after retrying.","alerts":false,"can_be_simulated":true,"example":{"id":"00000000-0000-4000-8000-00000000e0e0","type":"invoice.email_failed","created_at":"2026-01-15T15:04:05.000Z","mode":"test","organization_id":"00000000-0000-4000-8000-0000000000aa","data":{"invoice":{"id":"00000000-0000-4000-8000-00000000e0e0","object":"invoice","environment":"test","type":"factura","series":"F001","number":123,"full_number":"F001-00000123","status":"accepted","settled":true,"status_reason":null,"currency":"PEN","totals":{"taxable":"100.00","exempt":"0.00","unaffected":"0.00","tax":"18.00","total":"118.00"},"customer":{"id_type":"ruc","id_number":"20601188750","name":"CLIENTE S.A.C."},"external_ref":null,"created_at":"2026-01-15T15:04:05.000Z"}}}},{"type":"invoice.email_held","subject":"invoice","description":"An email to the customer is held because the PDF it carries could not be rendered. It is never sent without it, and goes out by itself once the PDF is rendered again and stored.","alerts":true,"can_be_simulated":true,"example":{"id":"00000000-0000-4000-8000-00000000e0e0","type":"invoice.email_held","created_at":"2026-01-15T15:04:05.000Z","mode":"test","organization_id":"00000000-0000-4000-8000-0000000000aa","data":{"invoice":{"id":"00000000-0000-4000-8000-00000000e0e0","object":"invoice","environment":"test","type":"factura","series":"F001","number":123,"full_number":"F001-00000123","status":"accepted","settled":true,"status_reason":null,"currency":"PEN","totals":{"taxable":"100.00","exempt":"0.00","unaffected":"0.00","tax":"18.00","total":"118.00"},"customer":{"id_type":"ruc","id_number":"20601188750","name":"CLIENTE S.A.C."},"external_ref":null,"created_at":"2026-01-15T15:04:05.000Z"}}}},{"type":"webhook_endpoint.created","subject":"webhook_endpoint","description":"A webhook destination was created. The secret is never in the event.","alerts":false,"can_be_simulated":false,"example":{"id":"00000000-0000-4000-8000-00000000e0e0","type":"webhook_endpoint.created","created_at":"2026-01-15T15:04:05.000Z","mode":"test","organization_id":"00000000-0000-4000-8000-0000000000aa","data":{"webhook_endpoint":{"id":"00000000-0000-4000-8000-00000000e0e0","object":"webhook_endpoint","url":"https://hooks.example.com/…","url_fingerprint":"3f1a9c0d2b7e4a61","event_types":["invoice.accepted","invoice.rejected"],"status":"active","disabled_reason":null}}}},{"type":"webhook_endpoint.updated","subject":"webhook_endpoint","description":"The URL, the subscribed types or the state of a webhook destination changed.","alerts":false,"can_be_simulated":false,"example":{"id":"00000000-0000-4000-8000-00000000e0e0","type":"webhook_endpoint.updated","created_at":"2026-01-15T15:04:05.000Z","mode":"test","organization_id":"00000000-0000-4000-8000-0000000000aa","data":{"webhook_endpoint":{"id":"00000000-0000-4000-8000-00000000e0e0","object":"webhook_endpoint","url":"https://hooks.example.com/…","url_fingerprint":"3f1a9c0d2b7e4a61","event_types":["invoice.accepted","invoice.rejected"],"status":"active","disabled_reason":null}}}},{"type":"webhook_endpoint.deleted","subject":"webhook_endpoint","description":"A webhook destination was deleted. Carries the destination as it was, without its secret.","alerts":false,"can_be_simulated":false,"example":{"id":"00000000-0000-4000-8000-00000000e0e0","type":"webhook_endpoint.deleted","created_at":"2026-01-15T15:04:05.000Z","mode":"test","organization_id":"00000000-0000-4000-8000-0000000000aa","data":{"webhook_endpoint":{"id":"00000000-0000-4000-8000-00000000e0e0","object":"webhook_endpoint","url":"https://hooks.example.com/…","url_fingerprint":"3f1a9c0d2b7e4a61","event_types":["invoice.accepted","invoice.rejected"],"status":"active","disabled_reason":null}}}},{"type":"webhook_endpoint.disabled","subject":"webhook_endpoint","description":"The service disabled a webhook destination that kept failing. Nothing is delivered to it until it is enabled again.","alerts":true,"can_be_simulated":false,"example":{"id":"00000000-0000-4000-8000-00000000e0e0","type":"webhook_endpoint.disabled","created_at":"2026-01-15T15:04:05.000Z","mode":"test","organization_id":"00000000-0000-4000-8000-0000000000aa","data":{"webhook_endpoint":{"id":"00000000-0000-4000-8000-00000000e0e0","object":"webhook_endpoint","url":"https://hooks.example.com/…","url_fingerprint":"3f1a9c0d2b7e4a61","event_types":["invoice.accepted","invoice.rejected"],"status":"active","disabled_reason":null}}}},{"type":"webhook_endpoint.secret_rotated","subject":"webhook_endpoint","description":"The signing secret of a webhook destination was rotated. The previous one still signs until it expires.","alerts":false,"can_be_simulated":false,"example":{"id":"00000000-0000-4000-8000-00000000e0e0","type":"webhook_endpoint.secret_rotated","created_at":"2026-01-15T15:04:05.000Z","mode":"test","organization_id":"00000000-0000-4000-8000-0000000000aa","data":{"webhook_endpoint":{"id":"00000000-0000-4000-8000-00000000e0e0","object":"webhook_endpoint","url":"https://hooks.example.com/…","url_fingerprint":"3f1a9c0d2b7e4a61","event_types":["invoice.accepted","invoice.rejected"],"status":"active","disabled_reason":null}}}},{"type":"invitation.created","subject":"invitation","description":"A person was invited to the organization. The token is never in the event.","alerts":false,"can_be_simulated":false,"example":{"id":"00000000-0000-4000-8000-00000000e0e0","type":"invitation.created","created_at":"2026-01-15T15:04:05.000Z","mode":"test","organization_id":"00000000-0000-4000-8000-0000000000aa","data":{"invitation":{"id":"00000000-0000-4000-8000-00000000e0e0","email":"persona@example.com","role":"operator","status":"pending"}}}},{"type":"invitation.resent","subject":"invitation","description":"An invitation was sent again with a new token; the previous token stopped working. The token is never in the event.","alerts":false,"can_be_simulated":false,"example":{"id":"00000000-0000-4000-8000-00000000e0e0","type":"invitation.resent","created_at":"2026-01-15T15:04:05.000Z","mode":"test","organization_id":"00000000-0000-4000-8000-0000000000aa","data":{"invitation":{"id":"00000000-0000-4000-8000-00000000e0e0","email":"persona@example.com","role":"operator","status":"pending"}}}},{"type":"invitation.accepted","subject":"invitation","description":"An invitation was accepted; the person is now a member.","alerts":false,"can_be_simulated":false,"example":{"id":"00000000-0000-4000-8000-00000000e0e0","type":"invitation.accepted","created_at":"2026-01-15T15:04:05.000Z","mode":"test","organization_id":"00000000-0000-4000-8000-0000000000aa","data":{"invitation":{"id":"00000000-0000-4000-8000-00000000e0e0","email":"persona@example.com","role":"operator","status":"pending"}}}},{"type":"invitation.revoked","subject":"invitation","description":"An invitation was revoked. Carries the invitation as it was, without its token.","alerts":false,"can_be_simulated":false,"example":{"id":"00000000-0000-4000-8000-00000000e0e0","type":"invitation.revoked","created_at":"2026-01-15T15:04:05.000Z","mode":"test","organization_id":"00000000-0000-4000-8000-0000000000aa","data":{"invitation":{"id":"00000000-0000-4000-8000-00000000e0e0","email":"persona@example.com","role":"operator","status":"pending"}}}}],"envelope":{"id":"The id of the event. The `webhook-id` header of every delivery of it, on every attempt and on a resend: discard what you already processed by this id.","type":"One of the types below. A type keeps its shape; an incompatible change is a new type, and fields are only added.","created_at":"When the event happened (UTC).","mode":"`test` or `live`: which half of the organization it happened in. They never mix.","organization_id":"The organization it happened in.","simulated":"Present and `true` only for an event fabricated with POST /v1/test/events or a destination test. It did not happen.","data":"The public view of the subject as the change left it, under the name of its kind (`data.invoice`). Read the resource for its current state."},"delivery":{"signature":"Standard Webhooks: headers `webhook-id`, `webhook-timestamp`, `webhook-signature` (`v1,<base64>`); HMAC-SHA256 over `{id}.{timestamp}.{raw body}` with the secret after `whsec_` decoded as standard base64. Verify with any official `standardwebhooks` library, over the RAW body.","rotation":"While a secret rotation overlaps, `webhook-signature` holds two signatures separated by a space; either secret verifies.","success":"Answer 2xx within 20 seconds, before processing. A 3xx is a failure and is not followed. A 410 disables the destination at once.","retries":"Live: immediately, then after 1 min, 5 min, 30 min, 2 h, 5 h, 10 h, 14 h, 20 h and 24 h. Test: three attempts within minutes. Waits are rounded up to the next minute.","order":"Order is not guaranteed and an event can arrive more than once. After an outage, reconcile with GET /v1/events from your last cursor."}}