You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/data-sources/billing_consumption.md
+6-3Lines changed: 6 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,15 +19,18 @@ data "scaleway_billing_consumptions" "my-consumption" {
19
19
## Argument Reference
20
20
21
21
-`organization_id` - (Defaults to [provider](../index.md#organization_d)`organization_id`) The ID of the organization the consumption list is associated with.
22
+
-`project_id` - (Defaults to [provider](../index.md#project_id)`project_id`) The ID of the project the consumption list is associated with.
22
23
23
24
## Attributes Reference
24
25
25
26
In addition to all arguments above, the following attributes are exported:
26
27
27
28
-`consumptions` - List of found consumptions
28
29
-`value` - The monetary value of the consumption.
29
-
-`description` - The description of the consumption.
30
+
-`product_name` - The product name.
31
+
-`category_name` - The name of the consumption category.
32
+
-`sku` - The unique identifier of the product.
33
+
-`unit` - The unit of consumed quantity.
34
+
-`billed_quantity` - The consumed quantity.
30
35
-`project_id` - The project ID of the consumption.
31
-
-`category` - The category of the consumption.
32
-
-`operation_path` - The unique identifier of the product.
Copy file name to clipboardExpand all lines: docs/data-sources/billing_invoices.md
+11-1Lines changed: 11 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,16 +29,26 @@ data "scaleway_billing_invoices" "my-invoices" {
29
29
30
30
-`invoice_type` - (Optional) Invoices with the given type are listed. Valid values are `periodic` and `purchase`.
31
31
32
+
-`organization_id` - (Defaults to [provider](../index.md#organization_d)`organization_id`) The ID of the organization the invoice list is associated with.
33
+
32
34
## Attributes Reference
33
35
34
36
In addition to all arguments above, the following attributes are exported:
35
37
36
38
-`invoices` - List of found invoices
37
39
-`id` - The associated invoice ID.
40
+
-`organization_name` - The organization name.
38
41
-`start_date` - The start date of the billing period (RFC 3339 format).
42
+
-`stop_date` - The end date of the billing period (RFC 3339 format).
43
+
-`billing_period` - The billing period of the invoice in the YYYY-MM format.
39
44
-`issued_date` - The date when the invoice was sent to the customer (RFC 3339 format).
40
45
-`due_date` - The payment time limit, set according to the Organization's payment conditions (RFC 3339 format).
41
46
-`total_untaxed` - The total amount, untaxed.
42
47
-`total_taxed` - The total amount, taxed.
48
+
-`total_tax` - The total tax amount of the invoice.
49
+
-`total_discount` - The total discount amount of the invoice.
50
+
-`total_undiscount` - The total amount of the invoice before applying the discount.
43
51
-`invoice_type` - The type of invoice.
44
-
-`number` - The invoice number.
52
+
-`state` - The state of the invoice.
53
+
-`number` - The invoice number.
54
+
-`seller_name` - The name of the seller (Scaleway).
0 commit comments