Skip to content
Start here

Bad Debt

Get Account Bad Debt
billing.bad_debt.get(BadDebtGetParams**kwargs) -> BadDebtGetResponse
GET/accounts/{account_id}/billing/bad-debt
ModelsExpand Collapse
class BadDebtGetResponse:
already_paid: Optional[float]

Amount already paid towards the debt.

bad_debt_status: Optional[str]

The current bad debt status of the account.

invoices: Optional[List[Invoice]]

List of outstanding invoices contributing to bad debt.

id: Optional[str]

Billing history item identifier.

action: Optional[str]

The billing item action.

amount: Optional[float]

The amount associated with this billing item.

amount_to_pay: Optional[float]

The amount remaining to pay.

currency: Optional[str]

The currency of the billing item.

description: Optional[str]

The billing item description.

external_invoice_id: Optional[str]

The external invoice identifier.

hosted_invoice_url: Optional[str]

URL to the hosted invoice.

invoice_id: Optional[str]

The associated invoice identifier.

occurred_at: Optional[datetime]

When the billing event occurred.

formatdate-time
receipt_id: Optional[str]

The associated receipt identifier.

source: Optional[str]

The source of the billing item.

source_invoice_id: Optional[str]

The source invoice identifier.

status: Optional[str]

The status of the billing item.

type: Optional[str]

The billing item type.

total_debt_amount: Optional[float]

Total outstanding debt amount.