Multiple Tax IDs and Registration Types

In some cases, you may need to send multiple Tax IDs in a single request.

To do so, you can add a list like this:

{
    "saleMessageType": "QUOTATION",
    "deliveryTerm": "SUP",
    "customer": {
        "customerCode": {
            "value": "customer1"
        },
        "customerName": "Swatch",
        "destination": {
            "country": "CH"
        },
        "taxRegistrations": [
            {
                "isoCountryCode": "GB",
                "taxRegistrationNumber": "XI726490424"
            },
            {
                "isoCountryCode": "CH",
                "taxRegistrationNumber": "CHCHE-101.374.515",
                "taxRegistrationType": "VAT Registration"
            },
            {
                "isoCountryCode": "PL",
                "taxRegistrationNumber": "will-not-be-validated",
                "taxRegistrationType": "VAT Registration",
                "validationResult": {
                    "isValid": true
                }
            }
        ]
    },
<---Code omittend for clarity------------------------------------------------------------------->

Example

This example shows how to validate multiple Tax IDs and multiple registration types.

Request

{
    "saleMessageType": "QUOTATION",
    "deliveryTerm": "SUP",
    "customer": {
        "customerCode": {
            "value": "customer1"
        },
        "customerName": "Swatch",
        "destination": {
            "country": "CH"
        },
        "taxRegistrations": [
            {
                "isoCountryCode": "GB",
                "taxRegistrationNumber": "XI726490424"
            },
            {
                "isoCountryCode": "CH",
                "taxRegistrationNumber": "CHCHE-101.374.515",
                "taxRegistrationType": "VAT Registration"
            },
            {
                "isoCountryCode": "PL",
                "taxRegistrationNumber": "will-not-be-validated",
                "taxRegistrationType": "VAT Registration",
                "validationResult": {
                    "isValid": true
                }
            }
        ]
    },
    "lineItems": [
        {
            "extendedPrice": 100,
            "taxIncludedIndicator": false
        }
    ],
    "seller": {
        "company": "seller1",
        "physicalOrigin": {
            "country": "PL"
        }
    },
    "transactionType": "SALE"
}
 

Response

            "taxRegistrations": [
                {
                    "isoCountryCode": "GB",
                    "taxRegistrationNumber": "XI726490424",
                    "validationResult": {
                        "address": "10 MAYS MEADOW\nBELFAST\n\n\n\nBT1 3PH",
                        "cacheTimestamp": "2025-10-26T02:37:14.4890Z",
                        "cached": true,
                        "isSyntaxValid": true,
                        "isValid": true,
                        "name": "ALLSTATE NORTHERN IRELAND LIMITED",
                        "taxNumberService": "vies",
                        "taxRegistrationNumberNormalized": "726490424",
                        "validationInfo": "TAX_NUMBER_VALID_ACCORDING_TO_EXTERNAL_SERVICE"
                    }
                },
                {
                    "isoCountryCode": "CH",
                    "taxRegistrationNumber": "CHCHE-101.374.515",
                    "taxRegistrationType": "VAT Registration",
                    "validationResult": {
                        "cacheTimestamp": "2025-10-29T18:03:36.1430Z",
                        "cached": true,
                        "isSyntaxValid": true,
                        "isValid": true,
                        "name": "The Swatch Group AG",
                        "taxNumberService": "uid.admin.ch",
                        "taxRegistrationNumberNormalized": "CHE101.374.515",
                        "validationInfo": "TAX_NUMBER_VALID_ACCORDING_TO_EXTERNAL_SERVICE"
                    }
                },
                {
                    "isoCountryCode": "PL",
                    "taxRegistrationNumber": "will-not-be-validated",
                    "taxRegistrationType": "VAT Registration",
                    "validationResult": {
                        "isValid": true
                    }
                }
            ]