---
title: "Tax Identifiers"
app: "Dynamic Ship"
section: "How-to guides"
last_updated: "2024-10-30"
url: "https://insight-works.com/kb/dynamic-ship/tax-identifiers/"
---

# Tax Identifiers

Dynamic Ship supports tax identifiers for the EasyPost integration. You can insert tax identifiers through the Shipment Options or populate them in advance through a template in the Customer Options. Selecting a Tax ID Type leads to some default fields being read. Setting the receiver to be EORI type leads to the EORI being read from the customer table and inserted. You can modify this behavior by subscribing to the event OnBeforeUpdateReceiverTaxInformation () in codeunit DSHIP Event Publisher; there is a mirror event for the sender called OnBeforeUpdateSenderTaxInformation().

 Note: Not all carriers support all tax identifiers. For more information, see EasyPost’s _[Tax Identifiers](https://support.easypost.com/hc/en-us/articles/4412101923213-Tax-Identifiers)_ page. Note: DHL Express uses EOR (not EORI) for the EORI tax identifier. Because you can send multiple tax identifiers, when you select EORI, EOR is sent for compatibility with multiple carriers. The same process is followed for IOSS; when you select IOSS, SDT is sent as well for DHL Express.

Dynamic Ship also provides an additional event (OnAfterCreateTaxIdentifiersJson() in codeunit DSHIP Event Publisher) if you need to send multiple tax identifiers for the sender or receiver. This event supplies the document details so that [a JsonArray following the EasyPost pattern can be created](https://www.easypost.com/docs/api#tax-identifiers). For more information, see EasyPost’s _API Documentation_’s _[Tax Identifiers](https://www.easypost.com/docs/api#tax-identifiers)_ section.

For the sender’s tax information, if the shipment options field _Sender Tax Id Type_ is set to “EORI”, it retrieves the _EORI number_ from _Company Information_ and, if it is set to “VAT”, it retrieves the _VAT Registration No._ from _Company Information_.

### Tax Identifiers Example Repository

For more information on the events, see the _[Tax Identifiers](https://dev.azure.com/InsightWorks/External%20Examples/_git/Dynamic%20Ship%20Examples?path=/Tax%20Identifiers)_ example repository.
