Skip to main content
Docs

CommerceStatementResource

The CommerceStatementResource type represents a billing statement for a user or organization.

Properties

  • Name
    id
    Type
    string
    Description

    The unique identifier for the statement.

  • Name
    totals
    Type
    Description

    An object containing the financial totals for the statement, including subtotal, grand total, tax total, credit, and past due amounts.

  • Name
    status
    Type
    'open' | 'closed'
    Description

    The current status of the statement. Statements can be either 'open' (still accumulating charges) or 'closed' (finalized).

  • Name
    timestamp
    Type
    Date
    Description

    The date and time when the statement was created or last updated.

  • Name
    groups
    Type
    []
    Description

    An array of statement groups, where each group contains payment items organized by timestamp.

Feedback

What did you think of this content?

Last updated on