CorvoNfse.Types.Credits.Transaction (Corvo NFS-e v0.1.1)

Copy Markdown View Source

Wire shape of an entry of GET /credits/history. amount is in credits (not BRL); fields ending in Cents are in centavos.

Summary

Types

t()

@type t() :: %CorvoNfse.Types.Credits.Transaction{
  amount: number(),
  amountBrlCents: integer() | nil,
  createdAt: String.t(),
  description: String.t() | nil,
  id: String.t(),
  isReservation: boolean() | nil,
  periodId: String.t() | nil,
  planIdSnapshot: String.t() | nil,
  relatedTransactionId: String.t() | nil,
  reservedInvoiceId: String.t() | nil,
  source: String.t() | nil,
  tenantId: String.t(),
  type: String.t(),
  unitPriceCentsApplied: integer() | nil
}