Feature request: Expose the native VAT ID number field to Cart and Checkout Validation Functions

Hi Shopify team,

I would like to suggest an improvement to the Cart and Checkout Validation Function API.

Shopify checkout now provides a native VAT ID number field in checkout, for example under the delivery address section for Germany. However, from the current Cart and Checkout Validation Function API, it does not seem possible to directly read this VAT ID number field or return a validation error that targets this exact field.

This creates a limitation for apps and merchants that need custom VAT ID validation rules.

Requested feature

Please add first-class support for the native VAT ID number field in Cart and Checkout Validation Functions.

Specifically, it would be very helpful to have:

  1. Read access to the VAT ID number field in the validation function input query.
  2. A dedicated validation error target for the VAT ID number field, so the error message can be displayed directly under the VAT ID input.
  3. Support for the relevant checkout context, such as delivery address and/or billing address, depending on where Shopify stores this field internally.

Thanks!