Skip to content

The company's plan quotes: open to accept, scheduled, in force

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

The Enterprise plans (Águila, Jaguar) are sold BY QUOTE: the EmiteCR team sends the company a quote with its fee, cadence, included documents and overage, and the company accepts it with POST /billing/quotes/:id/accept. Lists the quotes it can accept today (sent, still valid), the one it accepted over a live plan and waits for the period end (scheduled) and the one in force (accepted). Money is net; the gross is served next to it. GET /billing/entitlements serves the same under openQuotes and quote.

Media typeapplication/json
Array<object>
object
id
required

Identifier of the quote — the :id of POST /billing/quotes/:id/accept and GET /billing/quotes/:id/document.

string format: uuid
reference
required

The quote number the company cites.

string
nullable
status
required

sent: open, the company can accept it until validUntil. scheduled: accepted over a live list plan, it takes effect at the period end (the entitlements' pendingChange names it). accepted: in force, the subscription is billed under its terms.

string
Allowed values: sent scheduled accepted
planCode
required

The quoted plan: pf_custom (Águila, persona física ladder) or pj_custom (Jaguar, persona jurídica ladder).

string
planLabel
required

Commercial name of that plan (the code itself for a plan outside the catalog).

string
interval
required

How often feeCrc is charged: every month or every year.

string
Allowed values: month year
feeCrc
required

The fee of one period, NET, whole colones.

number
feeGrossCrc
required

The fee of one period WITH IVA — what the card is charged.

number
includedDocs
required

Documents included per calendar month. null = unlimited (fair use).

number
nullable
overageRateCrc
required

₡ per overage document, net. null = no overage: emission stops past the included ones.

number
nullable
overageCapDocs
required

Monthly cap on overage documents, already resolved (the quote’s, or twice the included). null without overage.

number
nullable
commitmentUntil
required

End of the minimum commitment, or null.

string format: date-time
nullable
commitmentReleasedAt
required

When the EmiteCR team released the company from that commitment, or null.

string format: date-time
nullable
commitmentActive
required

Whether the commitment still binds the company. For the quote in force: true while it ends after the current period — then POST /billing/cancel answers 409 PLAN_COMMITMENT_ACTIVE and the billing page says so instead of offering to cancel. Always false for an open quote.

boolean
validUntil
required

Until when it can be accepted (the end of a Costa Rica day).

string format: date-time
nullable
sentAt
required

When the EmiteCR team sent it to the company.

string format: date-time
nullable
acceptedAt
required

When the company accepted it (the declaration on the click).

string format: date-time
nullable
termsVersion
required

The Terms version the quote rests on.

string
nullable
Example
[
{
"status": "sent",
"planCode": "pj_custom",
"planLabel": "Jaguar",
"interval": "month"
}
]