{
  "$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-update-invoice-unit-request-schema.json",
  "title": "UpdateInvoiceUnitRequest",
  "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/UpdateInvoiceUnitRequest",
  "type": "object",
  "properties": {
    "InvoiceUnitArn": {
      "type": "string",
      "description": "The ARN to identify an invoice unit. This information can't be modified or deleted."
    },
    "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"
    },
    "ClientToken": {
      "type": "string",
      "description": "A unique, case-sensitive identifier that you provide to ensure idempotency of the request."
    }
  },
  "required": [
    "InvoiceUnitArn"
  ],
  "$defs": {
    "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."
        }
      }
    }
  }
}