Skip to content

The company's requests for a tailored plan

GET
/v1/billing/plan-requests
curl --request GET \
--url https://api.emite.cr/v1/billing/plan-requests \
--header 'Authorization: Bearer <token>'

Newest first. A request made from the billing page (POST /billing/plan-requests) is open until the EmiteCR team answers it with a quote (quoted, with the quote under quoteId) or declines it, or the company withdraws it.

Media typeapplication/json
Array<object>
object
id
required

Identifier of the request — the :id of POST /billing/plan-requests/:id/withdraw.

string format: uuid
status
required

open while the team has not answered; quoted once a quote was sent for it; declined by the team; withdrawn by the company.

string
Allowed values: open quoted declined withdrawn
expectedMonthlyDocs
required

Documents per month the company said it expects to emit; null if not given.

number
nullable
expectedMembers
required

People the company said will use the account; null if not given.

number
nullable
contactEmail
required

Where the team should write, as sent. null when none was given: the team then writes to the person who made the request.

string
nullable
contactPhone
required

The phone number to call, as sent; null if not given.

string
nullable
notes
required

What the company needs, in its own words; null if not given.

string
nullable
quoteId
required

The quote that answered it, once one was sent (GET /billing/quotes).

string format: uuid
nullable
createdAt
required

When the company filed the request.

string format: date-time
decidedAt
required

When it stopped being open: answered, declined or withdrawn.

string format: date-time
nullable
Example
[
{
"status": "open"
}
]