Scaleway v1.27.1 published on Wednesday, Apr 30, 2025 by pulumiverse
scaleway.billing.getInvoices
Explore with Pulumi AI
Gets information about your Scaleway invoices.
Using getInvoices
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 getInvoices(args: GetInvoicesArgs, opts?: InvokeOptions): Promise<GetInvoicesResult>
function getInvoicesOutput(args: GetInvoicesOutputArgs, opts?: InvokeOptions): Output<GetInvoicesResult>def get_invoices(invoice_type: Optional[str] = None,
                 started_after: Optional[str] = None,
                 started_before: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetInvoicesResult
def get_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[GetInvoicesResult]func GetInvoices(ctx *Context, args *GetInvoicesArgs, opts ...InvokeOption) (*GetInvoicesResult, error)
func GetInvoicesOutput(ctx *Context, args *GetInvoicesOutputArgs, opts ...InvokeOption) GetInvoicesResultOutput> Note: This function is named GetInvoices in the Go SDK.
public static class GetInvoices 
{
    public static Task<GetInvoicesResult> InvokeAsync(GetInvoicesArgs args, InvokeOptions? opts = null)
    public static Output<GetInvoicesResult> Invoke(GetInvoicesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetInvoicesResult> getInvoices(GetInvoicesArgs args, InvokeOptions options)
public static Output<GetInvoicesResult> getInvoices(GetInvoicesArgs args, InvokeOptions options)
fn::invoke:
  function: scaleway:billing/getInvoices:getInvoices
  arguments:
    # arguments dictionaryThe following arguments are supported:
- InvoiceType string
- Invoices with the given type are listed. Valid values are periodicandpurchase.
- StartedAfter string
- Invoices with a start date that are greater or equal to started_afterare listed (RFC 3339 format).
- StartedBefore string
- Invoices with a start date that precedes started_beforeare listed (RFC 3339 format).
- InvoiceType string
- Invoices with the given type are listed. Valid values are periodicandpurchase.
- StartedAfter string
- Invoices with a start date that are greater or equal to started_afterare listed (RFC 3339 format).
- StartedBefore string
- Invoices with a start date that precedes started_beforeare listed (RFC 3339 format).
- invoiceType String
- Invoices with the given type are listed. Valid values are periodicandpurchase.
- startedAfter String
- Invoices with a start date that are greater or equal to started_afterare listed (RFC 3339 format).
- startedBefore String
- Invoices with a start date that precedes started_beforeare listed (RFC 3339 format).
- invoiceType string
- Invoices with the given type are listed. Valid values are periodicandpurchase.
- startedAfter string
- Invoices with a start date that are greater or equal to started_afterare listed (RFC 3339 format).
- startedBefore string
- Invoices with a start date that precedes started_beforeare listed (RFC 3339 format).
- invoice_type str
- Invoices with the given type are listed. Valid values are periodicandpurchase.
- started_after str
- Invoices with a start date that are greater or equal to started_afterare listed (RFC 3339 format).
- started_before str
- Invoices with a start date that precedes started_beforeare listed (RFC 3339 format).
- invoiceType String
- Invoices with the given type are listed. Valid values are periodicandpurchase.
- startedAfter String
- Invoices with a start date that are greater or equal to started_afterare listed (RFC 3339 format).
- startedBefore String
- Invoices with a start date that precedes started_beforeare listed (RFC 3339 format).
getInvoices Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Invoices
List<Pulumiverse.Scaleway. Billing. Outputs. Get Invoices Invoice> 
- 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
[]GetInvoices Invoice 
- 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<GetInvoices Invoice> 
- 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
GetInvoices Invoice[] 
- 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[GetInvoices Invoice] 
- 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
GetInvoicesInvoice  
- BillingPeriod string
- The billing period of the invoice in the YYYY-MM format.
- DueDate string
- The payment time limit, set according to the Organization's payment conditions (RFC 3339 format).
- Id string
- The associated invoice ID.
- InvoiceType string
- Invoices with the given type are listed. Valid values are periodicandpurchase.
- IssuedDate string
- The date when the invoice was sent to the customer (RFC 3339 format).
- Number int
- The invoice number.
- OrganizationName string
- The organization name.
- SellerName string
- The name of the seller (Scaleway).
- StartDate string
- The start date of the billing period (RFC 3339 format).
- State string
- The state of the invoice.
- StopDate string
- The end date of the billing period (RFC 3339 format).
- TotalDiscount string
- The total discount amount of the invoice.
- TotalTax string
- The total tax amount of the invoice.
- TotalTaxed string
- The total amount, taxed.
- TotalUndiscount string
- The total amount of the invoice before applying the discount.
- TotalUntaxed string
- The total amount, untaxed.
- BillingPeriod string
- The billing period of the invoice in the YYYY-MM format.
- DueDate string
- The payment time limit, set according to the Organization's payment conditions (RFC 3339 format).
- Id string
- The associated invoice ID.
- InvoiceType string
- Invoices with the given type are listed. Valid values are periodicandpurchase.
- IssuedDate string
- The date when the invoice was sent to the customer (RFC 3339 format).
- Number int
- The invoice number.
- OrganizationName string
- The organization name.
- SellerName string
- The name of the seller (Scaleway).
- StartDate string
- The start date of the billing period (RFC 3339 format).
- State string
- The state of the invoice.
- StopDate string
- The end date of the billing period (RFC 3339 format).
- TotalDiscount string
- The total discount amount of the invoice.
- TotalTax string
- The total tax amount of the invoice.
- TotalTaxed string
- The total amount, taxed.
- TotalUndiscount string
- The total amount of the invoice before applying the discount.
- TotalUntaxed string
- The total amount, untaxed.
- billingPeriod String
- The billing period of the invoice in the YYYY-MM format.
- dueDate String
- The payment time limit, set according to the Organization's payment conditions (RFC 3339 format).
- id String
- The associated invoice ID.
- invoiceType String
- Invoices with the given type are listed. Valid values are periodicandpurchase.
- issuedDate String
- The date when the invoice was sent to the customer (RFC 3339 format).
- number Integer
- The invoice number.
- organizationName String
- The organization name.
- sellerName String
- The name of the seller (Scaleway).
- startDate String
- The start date of the billing period (RFC 3339 format).
- state String
- The state of the invoice.
- stopDate String
- The end date of the billing period (RFC 3339 format).
- totalDiscount String
- The total discount amount of the invoice.
- totalTax String
- The total tax amount of the invoice.
- totalTaxed String
- The total amount, taxed.
- totalUndiscount String
- The total amount of the invoice before applying the discount.
- totalUntaxed String
- The total amount, untaxed.
- billingPeriod string
- The billing period of the invoice in the YYYY-MM format.
- dueDate string
- The payment time limit, set according to the Organization's payment conditions (RFC 3339 format).
- id string
- The associated invoice ID.
- invoiceType string
- Invoices with the given type are listed. Valid values are periodicandpurchase.
- issuedDate string
- The date when the invoice was sent to the customer (RFC 3339 format).
- number number
- The invoice number.
- organizationName string
- The organization name.
- sellerName string
- The name of the seller (Scaleway).
- startDate string
- The start date of the billing period (RFC 3339 format).
- state string
- The state of the invoice.
- stopDate string
- The end date of the billing period (RFC 3339 format).
- totalDiscount string
- The total discount amount of the invoice.
- totalTax string
- The total tax amount of the invoice.
- totalTaxed string
- The total amount, taxed.
- totalUndiscount string
- The total amount of the invoice before applying the discount.
- totalUntaxed string
- The total amount, untaxed.
- billing_period str
- The billing period of the invoice in the YYYY-MM format.
- due_date str
- The payment time limit, set according to the Organization's payment conditions (RFC 3339 format).
- id str
- The associated invoice ID.
- invoice_type str
- Invoices with the given type are listed. Valid values are periodicandpurchase.
- issued_date str
- The date when the invoice was sent to the customer (RFC 3339 format).
- number int
- The invoice number.
- organization_name str
- The organization name.
- seller_name str
- The name of the seller (Scaleway).
- start_date str
- The start date of the billing period (RFC 3339 format).
- state str
- The state of the invoice.
- stop_date str
- The end date of the billing period (RFC 3339 format).
- total_discount str
- The total discount amount of the invoice.
- total_tax str
- The total tax amount of the invoice.
- total_taxed str
- The total amount, taxed.
- total_undiscount str
- The total amount of the invoice before applying the discount.
- total_untaxed str
- The total amount, untaxed.
- billingPeriod String
- The billing period of the invoice in the YYYY-MM format.
- dueDate String
- The payment time limit, set according to the Organization's payment conditions (RFC 3339 format).
- id String
- The associated invoice ID.
- invoiceType String
- Invoices with the given type are listed. Valid values are periodicandpurchase.
- issuedDate String
- The date when the invoice was sent to the customer (RFC 3339 format).
- number Number
- The invoice number.
- organizationName String
- The organization name.
- sellerName String
- The name of the seller (Scaleway).
- startDate String
- The start date of the billing period (RFC 3339 format).
- state String
- The state of the invoice.
- stopDate String
- The end date of the billing period (RFC 3339 format).
- totalDiscount String
- The total discount amount of the invoice.
- totalTax String
- The total tax amount of the invoice.
- totalTaxed String
- The total amount, taxed.
- totalUndiscount String
- The total amount of the invoice before applying the discount.
- totalUntaxed String
- The total amount, untaxed.
Package Details
- Repository
- scaleway pulumiverse/pulumi-scaleway
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the scalewayTerraform Provider.
