CorvoNfse.Resources.Billing (Corvo NFS-e v0.1.1)

Copy Markdown View Source

Billing plan and quota usage (/v1/billing).

Summary

Functions

Reads the current plan, subscription and usage (GET /v1/billing/plan).

Reads the quota status used for emission gating (GET /v1/billing/usage).

Functions

plan(client)

@spec plan(CorvoNfse.Client.t()) :: {:ok, map()} | {:error, CorvoNfse.Error.t()}

Reads the current plan, subscription and usage (GET /v1/billing/plan).

usage(client)

@spec usage(CorvoNfse.Client.t()) :: {:ok, map()} | {:error, CorvoNfse.Error.t()}

Reads the quota status used for emission gating (GET /v1/billing/usage).