Skip to main content
POST
/
accountsets
{
  "name": "<string>",
  "salesAccount": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "accountingCode": "<string>",
    "type": "asset",
    "barred": true
  },
  "taxAccount": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "accountingCode": "<string>",
    "type": "asset",
    "barred": true
  },
  "incomeAccount": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "accountingCode": "<string>",
    "type": "asset",
    "barred": true
  },
  "deferralAccount": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "accountingCode": "<string>",
    "type": "asset",
    "barred": true
  },
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "revenueRecognitionStrategy": "none"
}

Headers

x-environment
string<uuid>
required

Configure which environment the request will handle. If the provided credentials do not allow access to this specified environment, a 403 Forbidden response is returned.

Body

application/json
name
string | null
required
salesAccountId
string<uuid>
required
incomeAccountId
string<uuid>
required
taxAccountId
string<uuid>
required
deferralAccountId
string<uuid>
required
recognitionStrategy
enum<string>
Available options:
none,
even_distribution,
exact_daily_accrual,
daily_accrual

Response

OK

name
string | null
required

Name of the accountset.

salesAccount
object
required
taxAccount
object
required
incomeAccount
object
required
deferralAccount
object
required
id
string<uuid>

Unique id of the accountset.

revenueRecognitionStrategy
enum<string>
Available options:
none,
even_distribution,
exact_daily_accrual,
daily_accrual