{
  "$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-get-invoice-unit-response-schema.json",
  "title": "GetInvoiceUnitResponse",
  "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/GetInvoiceUnitResponse",
  "type": "object",
  "properties": {
    "InvoiceUnitArn": {
      "type": "string",
      "description": "The ARN to identify an invoice unit. This information can't be modified or deleted."
    },
    "InvoiceReceiver": {
      "type": "string",
      "description": "The Amazon Web Services account ID chosen to be the receiver of an invoice unit. All invoices generated for that invoice unit will be sent to this account ID."
    },
    "Name": {
      "type": "string",
      "description": "The unique name of the invoice unit that is shown on the generated invoice."
    },
    "Description": {
      "type": "string",
      "description": "The assigned description for an invoice unit."
    },
    "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 most recent date the invoice unit response was updated."
    }
  },
  "$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."
        }
      }
    }
  }
}