{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-billing-and-cost-management/json-schema/amazon-billing-and-cost-management-list-invoice-units-response-schema.json",
  "title": "ListInvoiceUnitsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-billing-and-cost-management-invoice-unit-api-openapi.yml#/components/schemas/ListInvoiceUnitsResponse",
  "type": "object",
  "properties": {
    "InvoiceUnits": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/InvoiceUnit"
      },
      "description": "An invoice unit is a set of mutually exclusive accounts that correspond to your business entity."
    },
    "NextToken": {
      "type": "string",
      "description": "The next token used to indicate where the returned list should start from."
    }
  },
  "$defs": {
    "InvoiceUnit": {
      "type": "object",
      "properties": {
        "InvoiceUnitArn": {
          "type": "string",
          "description": "ARN to identify an invoice unit. This information can't be modified or deleted."
        },
        "InvoiceReceiver": {
          "type": "string",
          "description": "The account that receives invoices related to the invoice unit."
        },
        "Name": {
          "type": "string",
          "description": "A unique name that is distinctive within your Amazon Web Services."
        },
        "Description": {
          "type": "string",
          "description": "The assigned description for an invoice unit. This information can't be modified or deleted."
        },
        "TaxInheritanceDisabled": {
          "type": "boolean",
          "description": "Whether the invoice unit based tax inheritance is/ should be enabled or disabled."
        },
        "Rule": {
          "$ref": "#/$defs/InvoiceUnitRule"
        },
        "LastModified": {
          "type": "string",
          "format": "date-time",
          "description": "The last time the invoice unit was updated. This is important to determine the version of invoice unit configuration used to create the invoices. Any invoice created after this modified time will use this invoice unit configuration."
        }
      }
    },
    "InvoiceUnitRule": {
      "type": "object",
      "properties": {
        "LinkedAccounts": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The list of LINKED_ACCOUNT IDs where charges are included within the invoice unit."
        },
        "BillSourceAccounts": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A list of Amazon Web Services account IDs that have delegated their billing responsibility to the receiver account through transfer billing. Unlike linked accounts, these bill source accounts can be payer accounts from other organizations that have authorized billing transfer to this account."
        }
      }
    }
  }
}