You can use metadata in Stripe to automate tracking in ScaleXP and your accounting system. Just follow the steps below to map between Stripe and Xero tracking categories.
First, make sure Xero is set up to receive the metadata
If you've not set up the desired categories of data in your accounting system, see this article from Xero on how to do so:
Once set up, these fields will be automatically added to the invoices generated in your accounting system and synced with ScaleXP reporting.
Next, add the metadata to Stripe
Add the metadata to Stripe at line item level in any of the following ways:
- add subscription metadata in Stripe
- add metadata to price or line item on the invoice.
See this Stripe article on Metadata parameters.
Finally, map the new fields in ScaleXP
Invoices will include metadata fields from the time the mapping is complete, using the data associated with the price you have invoiced in Stripe.


Example invoice (Xero):
