Question

How can I get VAT ID for my orders through SOAP API 2? The field name is vat_id and is visible in order addresses (Billing Address and Shipping Address) like below:

John Doe
Company Co.
Street 1
11111 City 
Poland
T: 99879879879 
NIP: 111-11-11-111

I use multishipping checkout. Is it possible to get it?

Part of salesOrderInfo response is below:

<shipping_address>
    <parent_id>81</parent_id>
    <address_type>shipping</address_type>
    <firstname>John</firstname>
    <lastname>Doe</lastname>
    <company>Company Co.</company>
    <street>Street 1</street>
    <city>City</city>
    <postcode>11111</postcode>
    <country_id>PL</country_id>
    <telephone>99879879879</telephone>
    <address_id>162</address_id>
</shipping_address>
<billing_address>
    <parent_id>81</parent_id>
    <address_type>billing</address_type>
    <firstname>John</firstname>
    <lastname>Doe</lastname>
    <company>Company Co.</company>
    <street>Street 1</street>
    <city>City</city>
    <postcode>11111</postcode>
    <country_id>PL</country_id>
    <telephone>99879879879</telephone>
    <address_id>161</address_id>
</billing_address>

It lacks vat_id.

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top