1. Packages
  2. Scaleway
  3. API Docs
  4. getBillingInvoices
Scaleway v1.26.0 published on Friday, Mar 28, 2025 by pulumiverse

scaleway.getBillingInvoices

Explore with Pulumi AI

Scaleway v1.26.0 published on Friday, Mar 28, 2025 by pulumiverse
Deprecated: scaleway.index/getbillinginvoices.getBillingInvoices has been deprecated in favor of scaleway.billing/getinvoices.getInvoices

Gets information about your Scaleway invoices.

Using getBillingInvoices

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getBillingInvoices(args: GetBillingInvoicesArgs, opts?: InvokeOptions): Promise<GetBillingInvoicesResult>
function getBillingInvoicesOutput(args: GetBillingInvoicesOutputArgs, opts?: InvokeOptions): Output<GetBillingInvoicesResult>
Copy
def get_billing_invoices(invoice_type: Optional[str] = None,
                         started_after: Optional[str] = None,
                         started_before: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetBillingInvoicesResult
def get_billing_invoices_output(invoice_type: Optional[pulumi.Input[str]] = None,
                         started_after: Optional[pulumi.Input[str]] = None,
                         started_before: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetBillingInvoicesResult]
Copy
func GetBillingInvoices(ctx *Context, args *GetBillingInvoicesArgs, opts ...InvokeOption) (*GetBillingInvoicesResult, error)
func GetBillingInvoicesOutput(ctx *Context, args *GetBillingInvoicesOutputArgs, opts ...InvokeOption) GetBillingInvoicesResultOutput
Copy

> Note: This function is named GetBillingInvoices in the Go SDK.

public static class GetBillingInvoices 
{
    public static Task<GetBillingInvoicesResult> InvokeAsync(GetBillingInvoicesArgs args, InvokeOptions? opts = null)
    public static Output<GetBillingInvoicesResult> Invoke(GetBillingInvoicesInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetBillingInvoicesResult> getBillingInvoices(GetBillingInvoicesArgs args, InvokeOptions options)
public static Output<GetBillingInvoicesResult> getBillingInvoices(GetBillingInvoicesArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: scaleway:index/getBillingInvoices:getBillingInvoices
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

InvoiceType string
Invoices with the given type are listed. Valid values are periodic and purchase.
StartedAfter string
Invoices with a start date that are greater or equal to started_after are listed (RFC 3339 format).
StartedBefore string
Invoices with a start date that precedes started_before are listed (RFC 3339 format).
InvoiceType string
Invoices with the given type are listed. Valid values are periodic and purchase.
StartedAfter string
Invoices with a start date that are greater or equal to started_after are listed (RFC 3339 format).
StartedBefore string
Invoices with a start date that precedes started_before are listed (RFC 3339 format).
invoiceType String
Invoices with the given type are listed. Valid values are periodic and purchase.
startedAfter String
Invoices with a start date that are greater or equal to started_after are listed (RFC 3339 format).
startedBefore String
Invoices with a start date that precedes started_before are listed (RFC 3339 format).
invoiceType string
Invoices with the given type are listed. Valid values are periodic and purchase.
startedAfter string
Invoices with a start date that are greater or equal to started_after are listed (RFC 3339 format).
startedBefore string
Invoices with a start date that precedes started_before are listed (RFC 3339 format).
invoice_type str
Invoices with the given type are listed. Valid values are periodic and purchase.
started_after str
Invoices with a start date that are greater or equal to started_after are listed (RFC 3339 format).
started_before str
Invoices with a start date that precedes started_before are listed (RFC 3339 format).
invoiceType String
Invoices with the given type are listed. Valid values are periodic and purchase.
startedAfter String
Invoices with a start date that are greater or equal to started_after are listed (RFC 3339 format).
startedBefore String
Invoices with a start date that precedes started_before are listed (RFC 3339 format).

getBillingInvoices Result

The following output properties are available:

Id string
The provider-assigned unique ID for this managed resource.
Invoices List<Pulumiverse.Scaleway.Outputs.GetBillingInvoicesInvoice>
List of found invoices
OrganizationId string
InvoiceType string
The type of invoice.
StartedAfter string
StartedBefore string
Id string
The provider-assigned unique ID for this managed resource.
Invoices []GetBillingInvoicesInvoice
List of found invoices
OrganizationId string
InvoiceType string
The type of invoice.
StartedAfter string
StartedBefore string
id String
The provider-assigned unique ID for this managed resource.
invoices List<GetBillingInvoicesInvoice>
List of found invoices
organizationId String
invoiceType String
The type of invoice.
startedAfter String
startedBefore String
id string
The provider-assigned unique ID for this managed resource.
invoices GetBillingInvoicesInvoice[]
List of found invoices
organizationId string
invoiceType string
The type of invoice.
startedAfter string
startedBefore string
id str
The provider-assigned unique ID for this managed resource.
invoices Sequence[GetBillingInvoicesInvoice]
List of found invoices
organization_id str
invoice_type str
The type of invoice.
started_after str
started_before str
id String
The provider-assigned unique ID for this managed resource.
invoices List<Property Map>
List of found invoices
organizationId String
invoiceType String
The type of invoice.
startedAfter String
startedBefore String

Supporting Types

GetBillingInvoicesInvoice

BillingPeriod This property is required. string
The billing period of the invoice in the YYYY-MM format.
DueDate This property is required. string
The payment time limit, set according to the Organization's payment conditions (RFC 3339 format).
Id This property is required. string
The associated invoice ID.
InvoiceType This property is required. string
Invoices with the given type are listed. Valid values are periodic and purchase.
IssuedDate This property is required. string
The date when the invoice was sent to the customer (RFC 3339 format).
Number This property is required. int
The invoice number.
OrganizationName This property is required. string
The organization name.
SellerName This property is required. string
The name of the seller (Scaleway).
StartDate This property is required. string
The start date of the billing period (RFC 3339 format).
State This property is required. string
The state of the invoice.
StopDate This property is required. string
The end date of the billing period (RFC 3339 format).
TotalDiscount This property is required. string
The total discount amount of the invoice.
TotalTax This property is required. string
The total tax amount of the invoice.
TotalTaxed This property is required. string
The total amount, taxed.
TotalUndiscount This property is required. string
The total amount of the invoice before applying the discount.
TotalUntaxed This property is required. string
The total amount, untaxed.
BillingPeriod This property is required. string
The billing period of the invoice in the YYYY-MM format.
DueDate This property is required. string
The payment time limit, set according to the Organization's payment conditions (RFC 3339 format).
Id This property is required. string
The associated invoice ID.
InvoiceType This property is required. string
Invoices with the given type are listed. Valid values are periodic and purchase.
IssuedDate This property is required. string
The date when the invoice was sent to the customer (RFC 3339 format).
Number This property is required. int
The invoice number.
OrganizationName This property is required. string
The organization name.
SellerName This property is required. string
The name of the seller (Scaleway).
StartDate This property is required. string
The start date of the billing period (RFC 3339 format).
State This property is required. string
The state of the invoice.
StopDate This property is required. string
The end date of the billing period (RFC 3339 format).
TotalDiscount This property is required. string
The total discount amount of the invoice.
TotalTax This property is required. string
The total tax amount of the invoice.
TotalTaxed This property is required. string
The total amount, taxed.
TotalUndiscount This property is required. string
The total amount of the invoice before applying the discount.
TotalUntaxed This property is required. string
The total amount, untaxed.
billingPeriod This property is required. String
The billing period of the invoice in the YYYY-MM format.
dueDate This property is required. String
The payment time limit, set according to the Organization's payment conditions (RFC 3339 format).
id This property is required. String
The associated invoice ID.
invoiceType This property is required. String
Invoices with the given type are listed. Valid values are periodic and purchase.
issuedDate This property is required. String
The date when the invoice was sent to the customer (RFC 3339 format).
number This property is required. Integer
The invoice number.
organizationName This property is required. String
The organization name.
sellerName This property is required. String
The name of the seller (Scaleway).
startDate This property is required. String
The start date of the billing period (RFC 3339 format).
state This property is required. String
The state of the invoice.
stopDate This property is required. String
The end date of the billing period (RFC 3339 format).
totalDiscount This property is required. String
The total discount amount of the invoice.
totalTax This property is required. String
The total tax amount of the invoice.
totalTaxed This property is required. String
The total amount, taxed.
totalUndiscount This property is required. String
The total amount of the invoice before applying the discount.
totalUntaxed This property is required. String
The total amount, untaxed.
billingPeriod This property is required. string
The billing period of the invoice in the YYYY-MM format.
dueDate This property is required. string
The payment time limit, set according to the Organization's payment conditions (RFC 3339 format).
id This property is required. string
The associated invoice ID.
invoiceType This property is required. string
Invoices with the given type are listed. Valid values are periodic and purchase.
issuedDate This property is required. string
The date when the invoice was sent to the customer (RFC 3339 format).
number This property is required. number
The invoice number.
organizationName This property is required. string
The organization name.
sellerName This property is required. string
The name of the seller (Scaleway).
startDate This property is required. string
The start date of the billing period (RFC 3339 format).
state This property is required. string
The state of the invoice.
stopDate This property is required. string
The end date of the billing period (RFC 3339 format).
totalDiscount This property is required. string
The total discount amount of the invoice.
totalTax This property is required. string
The total tax amount of the invoice.
totalTaxed This property is required. string
The total amount, taxed.
totalUndiscount This property is required. string
The total amount of the invoice before applying the discount.
totalUntaxed This property is required. string
The total amount, untaxed.
billing_period This property is required. str
The billing period of the invoice in the YYYY-MM format.
due_date This property is required. str
The payment time limit, set according to the Organization's payment conditions (RFC 3339 format).
id This property is required. str
The associated invoice ID.
invoice_type This property is required. str
Invoices with the given type are listed. Valid values are periodic and purchase.
issued_date This property is required. str
The date when the invoice was sent to the customer (RFC 3339 format).
number This property is required. int
The invoice number.
organization_name This property is required. str
The organization name.
seller_name This property is required. str
The name of the seller (Scaleway).
start_date This property is required. str
The start date of the billing period (RFC 3339 format).
state This property is required. str
The state of the invoice.
stop_date This property is required. str
The end date of the billing period (RFC 3339 format).
total_discount This property is required. str
The total discount amount of the invoice.
total_tax This property is required. str
The total tax amount of the invoice.
total_taxed This property is required. str
The total amount, taxed.
total_undiscount This property is required. str
The total amount of the invoice before applying the discount.
total_untaxed This property is required. str
The total amount, untaxed.
billingPeriod This property is required. String
The billing period of the invoice in the YYYY-MM format.
dueDate This property is required. String
The payment time limit, set according to the Organization's payment conditions (RFC 3339 format).
id This property is required. String
The associated invoice ID.
invoiceType This property is required. String
Invoices with the given type are listed. Valid values are periodic and purchase.
issuedDate This property is required. String
The date when the invoice was sent to the customer (RFC 3339 format).
number This property is required. Number
The invoice number.
organizationName This property is required. String
The organization name.
sellerName This property is required. String
The name of the seller (Scaleway).
startDate This property is required. String
The start date of the billing period (RFC 3339 format).
state This property is required. String
The state of the invoice.
stopDate This property is required. String
The end date of the billing period (RFC 3339 format).
totalDiscount This property is required. String
The total discount amount of the invoice.
totalTax This property is required. String
The total tax amount of the invoice.
totalTaxed This property is required. String
The total amount, taxed.
totalUndiscount This property is required. String
The total amount of the invoice before applying the discount.
totalUntaxed This property is required. String
The total amount, untaxed.

Package Details

Repository
scaleway pulumiverse/pulumi-scaleway
License
Apache-2.0
Notes
This Pulumi package is based on the scaleway Terraform Provider.
Scaleway v1.26.0 published on Friday, Mar 28, 2025 by pulumiverse