v2

latestSwagger 2.02026-08-0138140265.1 KB
AdditionalTaxIdentifiers

Create a new AdditionalTaxIdentifier

Create a new AdditionalTaxIdentifier. An AdditionalTaxIdentifier is a seconday tax identifier that is used inside the EU when sending invoices to consumers. In that case, the VAT of the receiving country is used and if the sender has a local VAT identifier, that is used to identifiy the sender, instead of the sender's origin country VAT number. To use these identifiers, use the invoice.consumerTaxMode = true property.

post/legal_entities/{legal_entity_id}/additional_tax_identifiers

Path parameters

legal_entity_idinteger required

The id of the LegalEntity for which to create the AdditionalTaxIdentifier

Request body

countrystring required

The ISO3166 country code to use this identifier for in case of consumerTaxMode.

countystring

The county/state inside the country code to use this identifier for in case of consumerTaxMode. Leave empty to create an additional tax identifier for the entire country. For India, use the two last characters of ISO 3166-2:IN (https://en.wikipedia.org/wiki/States_and_union_territories_of_India).

superschemestring required

The superscheme of the identifier. Should always be "iso6523-actorid-upis".

schemestring required

The scheme of the identifier.

identifierstring required

The identifier.

third_party_usernamestring

The username to use to authenticate to a system through which to send the document, or to obtain tax authority approval to send it. This field is currently relevant only for India and mandatory when creating an IN tax identifier.

third_party_passwordstring

The password to use to authenticate to a system through which to send the document, or to obtain tax authority approval to send it. This field is currently relevant only for India and mandatory when creating an IN tax identifier.

Response

Success

idinteger

The Storecove assigned id for the AdditionalTaxIdentifier.

countrystring

The ISO3166 country code to use this identifier for in case of consumerTaxMode.

countystring

The county/state inside the country code to use this identifier for in case of consumerTaxMode.

superschemestring

The superscheme of the identifier.

schemestring

The scheme of the identifier.

identifierstring

The identifier.