Billing Overview

A Billing represents the complete payment plan for a customer’s order, including all bills and payments associated with that offer. It tracks the overall status of the payment plan from initiation through completion or cancellation.

Billing Schema

FieldDescriptionType
idUnique identifier (UUID)String
order_idIdentifier of the order associated with this billingString
amount_centsFull amount of this billing in centsInteger
amount_currencyCurrency code for the billing amount (e.g., BRL for Brazilian Real)String
due_dayDay of the month when the customer will be charged (1-31)Integer
installmentsTotal number of bills that will be created for this billingInteger
statusBilling status. Can be waiting_payment, active, finished, or canceledString
origin_billing_idIdentifier of the original billing if this billing was created from a renegotiation or modificationString
cancelation_reasonReason why the billing was canceled (only present when status is canceled)String
finished_atTimestamp when the billing was finished in ISO8601 formatString
created_atIndicates when the record was created in ISO8601 formatString
updated_atIndicates when the record was last updated in ISO8601 formatString
payment_configurationPayment configuration object associated with this billingObject
billsArray of bill objects representing each installment in this billingArray
cardCard object if the billing is paid via credit cardObject
pix_subscriptionPIX subscription object if the billing uses recurring PIX paymentsObject

Billing Status Values

StatusDescription
waiting_paymentThe billing has been created and is waiting for the first bill to be paid
activeThe billing is active - the first bill has been paid and recurring payments are in progress
finishedAll bills in the billing have been paid successfully
canceledThe billing has been canceled and no further payments are expected

Cancelation Reason Values

ReasonDescription
down_payment_not_paidThe billing was created but the customer did not pay the down payment (first bill)
refunded_by_companyThe company initiated a refund for this billing
refunded_by_customerThe customer requested and received a chargeback or refund
customer_renegotiationThe billing was canceled due to a renegotiation with the customer
customer_dropout_with_fineThe billing was canceled due to customer dropout, but the customer still must pay a cancellation fee
customer_dropoutThe billing was canceled due to customer dropout without any cancellation fee
company_ceasing_partnershipThe billing was canceled because the company ceased partnership with the platform