---
title: "Create a revenue recognition rule"
method: POST
path: "/revrec/rules"
tags: ["Revenue Recognition"]
---

# Create a revenue recognition rule

`POST /revrec/rules`

## Request

- Base URL: `https://api.app.subskribe.com`
- URL: `https://api.app.subskribe.com/revrec/rules`
- Auth: API key in header `X-API-Key`

Creates a revenue recognition rule.

## Request body

- RecognitionRule
  - `entityIds` string[]
  - `name` string
  - `source` 'ORDER' | 'INVOICE'
  - `recognitionType` 'OVER_TIME' | 'POINT_IN_TIME' | 'EVENT'
  - `distributionMethod` 'DAYS' | 'MONTHS_EVEN' | 'MONTHS_PARTIAL_PRORATED'
  - `recognitionDateAlignment` 'INVOICE_START_DATE' | 'INVOICE_END_DATE'
  - `isCatchupRequired` boolean
  - `recognitionEventType` 'PERCENTAGE_OF_COMPLETION' | 'AMOUNT'
  - `deferredRevenueAccountId` string
  - `recognizedRevenueAccountId` string
  - `inUse` boolean
  - `catchupRequired` boolean
  - `id` string

## Response `default`

successful operation

---

[API](https://skmtc.dev/dealhub/apis/subskribe-api.md) - [All operations](https://skmtc.dev/dealhub/apis/subskribe-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dealhub/apis/subskribe-api/revisions/c1ee531b82ce?raw)
