How do I export the "CPF/CNPJ" field of orders shipping to Brazil?

You can use the formula below in the Calculated Fields when exporting Order data to extract the value of the CPF/CNPJ field:

search_attributes({{ localized_fields }}, "SHIPPING_CREDENTIAL_BR", search_key="key", result_key="value") or search_attributes({{ localized_fields }}, "TAX_CREDENTIAL_BR", search_key="key", result_key="value")

Related Articles:


App: EZ Exporter

Tags: localization extensions, tax credentials, localized fields