Skip to main content
POST
On an internal project, this route returns a 400 wrong_project_type: use Set key metrics instead. A customer can have several lines in the same month, such as several invoices.

Parameters

object[]
required
The revenue lines to book, described below. Up to 1,000 per call.
boolean
default:"false"
Overwrite a row whose revenue_id already exists. When false, a revenue_id already used fails the whole request with a 422 on rows (id(s) already used: ...) and nothing is written.
Revenue posted through the API adds up with the Stripe and CSV revenue of the same customer and month. Use one source per customer and month to avoid counting revenue twice.