Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Tax ID/CPF/CNPJ Field API Access

Tax ID/CPF/CNPJ Field API Access

plusar
Shopify Partner
6 0 0

@plentz 

I am shipping from South Korea to Brazil.
I use Shopify and DHL Express Commerce Shopify App.
Brazil requires me to include the Tax ID in the Customer Invoice.
The Tax ID/CPF field is enabled, and customers can enter their ID during check out. However, when I import Shopify order data from through DHL, the ID field does not get imported. 

    "closed_at": "0",
    "created_at": "20200",
    "updated_at": "2022--::00",
    "cancelled_at": ,
    "referring_site": "://../",
    "email": "@
    "id": "",
    "subtotal_price": ,
    "total_price": ,
    "total_tax": ,
    "name": "#",
    "order_number": "",
    "tags": "",
    "note": ,
    "financial_status": "",
    "fulfillment_status": "",
    "currency": "",
    "total_discounts": "0.00",
    "shipping_address": {
        "address1": "",
        "address2": "",
        "city": "",
        "company": "",
        "country": "",
        "country_code": "",
        "first_name": "",
        "last_name": "",
        "phone": "+55 48 99140-3210",
        "province": "",
        "zip": "89037-501",
        "name": "",
        "province_code": ""
    },
    "line_items": [
        {
            "id": "",
            "options": ,
            "title": "",
            "name": "",
            "grams": "",
            "price": "",
            "quantity": "1",
            "sku": "",
            "requires_shipping": ,
            "fulfillable_quantity": "",
            "variant_id": "",
            "product_id": ""
        }
    ],
    "shipping_lines": [
        {
            "code": "DHL INT EXPRESS (3-7Days)",
            "price": "",
            "source": "shopify",
            "title": "DHL INT EXPRESS (3-7Days)"
        }
    ],
    "note_attributes": [
        
    ],
    "current_total_duties_set": null

https://shopify.dev/apps/internationalization/country-fields


Right now I am manually writing the tax ID in the invoices, how can I automate this?

Replies 3 (3)

plentz
Shopify Staff
11 0 5

The Tax ID field is only supported through GraphQL endpoint. I don't know how the DHL importer works, but might be the case why you're not getting that field. Probably a good idea to contact their support and ask to add support for Tax ID.

To learn more visit the Shopify Help Center or the Community Blog.

plusar
Shopify Partner
6 0 0

I have contacted DHL and they told me to contact Shopify since this is a Shopify App

NWalker
Shopify Partner
1 0 0

We're having the same issue - the CPF isn't available in the API to Linnworks (our OMS/WMS platform).