#vitorhugoclz

1 messages · Page 1 of 1 (latest)

fathom canyonBOT
idle coral
burnt pecan
#

Request req_8XADC8urcypm9R

idle coral
#

You said you tested these exact values?

burnt pecan
#

Yes this is my object Tax ID

My object Tax ID

<TaxId tax_id id=txi_1NzkRkGtJLg1UiB7ehqEmFzA at 0x7fe4ba3763e0> JSON: {
"country": "BR",
"created": 1696961660,
"customer": "cus_OnL7gtAh2e8yoi",
"id": "txi_1NzkRkGtJLg1UiB7ehqEmFzA",
"livemode": false,
"object": "tax_id",
"type": "br_cpf",
"value": "000.000.000-00",
"verification": {
"status": "unavailable",
"verified_address": null,
"verified_name": null
}
}

#

and this is my python code

stripe.PaymentMethod.create(
            type="boleto",
            boleto={
                "tax_id": tax_data.get("id")
            },
            billing_details={
                "address": customer_stripe.get("address"),
                "email": customer_stripe.get("email"),
                "name": customer_stripe.get("name"),
                "phone": customer_stripe.get("phone")
            }
        )
idle coral
#

Can you try passing it in without the periods and the hyphen? In other words, just use a tax id of 00000000000

burnt pecan
#

no chances and my python for Tax ID is:

stripe.Customer.create_tax_id(
            customer.integration_id,
            type=type_tax,
            value="00000000000",
        )

stripe.error.InvalidRequestError: Request req_WCKVUHSUrQAYIv: The provided Brazilian tax id does not appear to be valid. Please provide a valid CPF or CNPJ.

fathom canyonBOT
idle coral
#

This seems like a bug. Can you write into support to create an email papertrail, then DM me your email address so I can pick it up and file a bug report with the product team?

burnt pecan
#

has a template to email report?

fallen temple
#

If you choose "API integration" then check the developer checkbox we add a bit of structure to the contact for to ask for example objects and code snippets etc

burnt pecan
#

I will try to update the python package, I will send a response if the error persists

#

the error persisted

stripe.error.InvalidRequestError: Request req_Wurb1ztYrfrLAL: The provided Brazilian tax id does not appear to be valid. Please provide a valid CPF or CNP

fallen temple
#

Gotcha, then writing in would be a good next step

#

@idle coral is already taking a look at this so let us know and they can find your message

burnt pecan
#

I sent an email with a question as suggested previously, but the stripe account's email is in the corporate email, which is
dev@irricontrol.com.br

#

my last attempt was the one that got this error

stripe.error.InvalidRequestError: Request req_Wurb1ztYrfrLAL: The Brazilian tax identification number provided does not appear to be valid. Provide a valid CPF or CNPJ.

fathom canyonBOT
idle coral
#

Digging for your thread now