name: the activity category, such asai_usageorfile_uploaded.customer_idorexternal_customer_id: the buyer responsible for the activity.metadata: numbers and labels that a meter can filter or aggregate.
Send events with the Ruba SDK
Each event identifies its type, customer, and any metadata required by the meter.TypeScript
Operating rules
Events cannot be edited
An accepted event is permanent: it cannot be updated or deleted. Use a new correcting event when your model requires an adjustment.Late timestamps do not reopen invoices
timestamp may point into the past for queue replay or batch delivery. Dashboards and the eventual invoice line date range use that supplied time, but billing-period assignment uses the time Ruba received the event.
An event received in the current cycle therefore stays in the current cycle even when its timestamp belongs to an older one. Ruba does not issue retroactive usage invoices or credits for late ingestion.