POST api/personal/facturapi/VerifyCustomerData

Tests the Mexico customer data to ensure the tax information is acceptable.

Request Information

URI Parameters

None.

Body Parameters

CustomFacturaCustomerValidationRequestModel
NameDescriptionTypeAdditional information
EntityMXCommercialName

string

None.

EntityMXTaxID

string

None.

EntityMXTaxRegime

string

None.

EntityMXPostalCode

string

None.

Request Formats

application/xml, text/xml

Sample:
<CustomFacturaCustomerValidationRequestModel>
  <EntityMXCommercialName>sample string 1</EntityMXCommercialName>
  <EntityMXTaxID>sample string 2</EntityMXTaxID>
  <EntityMXTaxRegime>sample string 3</EntityMXTaxRegime>
  <EntityMXPostalCode>sample string 4</EntityMXPostalCode>
</CustomFacturaCustomerValidationRequestModel>

application/json, text/json

Sample:
{
  "EntityMXCommercialName": "sample string 1",
  "EntityMXTaxID": "sample string 2",
  "EntityMXTaxRegime": "sample string 3",
  "EntityMXPostalCode": "sample string 4"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'FormUrlEncodedFormatter' to write type 'CustomFacturaCustomerValidationRequestModel'.

Response Information

Resource Description

returns empty string if the validation passed, otherwise the error message is returned

IHttpActionResult

None.

Response Formats

application/xml, text/xml, application/json, text/json

Sample:

Sample not available.