interface Invoice {
    billingPeriod?: Date;
    dueDate?: Date;
    id: string;
    issuedDate?: Date;
    number: number;
    organizationId: string;
    organizationName: string;
    sellerName: string;
    startDate?: Date;
    state: string;
    stopDate?: Date;
    totalDiscount?: Money;
    totalTax?: Money;
    totalTaxed?: Money;
    totalUndiscount?: Money;
    totalUntaxed?: Money;
    type: Billing.v2beta1.InvoiceType;
}

Properties

billingPeriod?: Date

The billing period of the invoice in the YYYY-MM format.

dueDate?: Date

Payment time limit, set according to the Organization's payment conditions.

id: string

Invoice ID.

issuedDate?: Date

Date when the invoice was sent to the customer.

number: number

Invoice number.

organizationId: string
organizationName: string
sellerName: string

The name of the seller (Scaleway).

startDate?: Date

Start date of the billing period.

state: string

The state of the Invoice.

stopDate?: Date
totalDiscount?: Money

The total discount amount of the invoice.

totalTax?: Money

The total tax amount of the invoice.

totalTaxed?: Money

Total amount, taxed.

totalUndiscount?: Money

The total amount of the invoice before applying the discount.

totalUntaxed?: Money

Total amount, untaxed.

Type of invoice, either periodic or purchase.