> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vantage.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# vantage_managed_account (Resource)

> Terraform resource reference for vantage_managed_account (Resource). Auto-generated from the vantage-sh/terraform-provider-vantage repository.

<Note>
  This page is auto-generated based on the official [Terraform documentation](https://registry.terraform.io/providers/vantage-sh/vantage/latest/docs).
</Note>

## Overview

Use this resource with the [Vantage Terraform provider](/terraform). For installation and authentication, see the [Terraform provider quickstart](/terraform#quickstart). The schema below is generated directly from the provider source.

## Example Usage

```terraform theme={null}
terraform {
  required_providers {
    vantage = {
      source = "vantage-sh/vantage"
    }
  }
}

resource "vantage_managed_account" "terraform-managed-account" {
  contact_email = "support+terraform@vantage.sh"
  name          = "Terraform managed account"
  access_credential_tokens = [
    "accss_crdntl_145aa8924bdc55a9"
  ]
  billing_rule_tokens = [
    "bllng_rule_bc95e52f2af7bac6",
  ]
}
```

## Schema

### Required

* `contact_email` (String) The contact email address for the Managed Account.
* `name` (String) The name of the Managed Account.

### Optional

* `access_credential_tokens` (List of String) Access Credential (aka Integrations) tokens to assign to the Managed Account.
* `billing_rule_tokens` (List of String) Billing Rule tokens to assign to the Managed Account.
* `email_domain` (String) Email domain to associate with this Managed Account for SSO.

### Read-Only

* `id` (String) The id of the managed account
* `include_managed_account_integrations` (Boolean) Whether to include managed account's own integrations in invoice cost calculations (MSP invoicing accounts only)
* `parent_account_token` (String) The token for the parent Account.
* `payment_terms_days` (Number) Number of days until payment is due after invoice date (MSP invoicing accounts only)
* `token` (String) The token of the managed account
