Click or drag to resize

VatNumberHelperValidateVatNumber Method

Determines whether the specified VAT number is valid.

Namespace:  Atomia.Billing.Core.Sdk.BusinessLogic
Assembly:  Atomia.Billing.Core.Sdk (in Atomia.Billing.Core.Sdk.dll) Version: 18.10.7096.28998
Syntax
public static VatNumberValidationResultType ValidateVatNumber(
	string countryCode,
	string vatNumber,
	bool forceLiveValidation,
	IAtomiaBillingApi atomiaBillingApi
)

Parameters

countryCode
Type: SystemString
The country code.
vatNumber
Type: SystemString
The VAT number.
forceLiveValidation
Type: SystemBoolean
Flag which tells whether validation using service should be used when there is cached copy of VAT number with validation data.
atomiaBillingApi
Type: Atomia.Billing.Core.SdkIAtomiaBillingApi
The atomia billing API.

Return Value

Type: VatNumberValidationResultType
true if the specified VAT number is valid, false otherwise.
See Also