• 163
  • More


Hi @Anton L

How does UNA integration with Stripe and Paypal handle 'Customer Tax ID' on Invoice and Receipt documents? How is it collected on an UNA Website?

How to enable the Customer Tax ID field on Person and Organization profile?

Displaying a customer’s tax ID on Invoice and Receipt documents is a requirement in many countries such as countries in the European Union (EU), Brazil etc.

By not complying with that requirement, you will be infringing the law and, consequently, subject to penalties.

Stripe says:

You’re responsible for the accuracy of customer information including their tax ID number.

In the link below you will find the tax ID types supported by Stripe Invoicing:


I don't know much about Paypal yet.

Here are some suggestions I have:

  1. That Customer's Tax ID input field should be generic so that it can fit any tax id format from any country. In some countries the Tax Identification Number for individuals has a different format than the one for organizations/companies.
  2. Its input label should have a  multilingual support. We should be able to translated it through Polyglot because the Tax Identification Number is called differently in different countries.
  3. We should also be able to use regular expression to force members to enter their Tax ID in a correct format.
  4. If possible, only request the Tax ID when a member wants to order something on the website (e.g. Membership Upgrade, Credits, Points, Advertising/Banner etc). That's how facebook, Twitter and all those social networks operate. They request your Tax ID only when you want to order their paid services. It makes sense because it can be overwhelming and scary to many people to provide a website with their sensitive or personal information. 
  5. Last but not least, the UNA system should be able to check if the member has entered his/her Tax ID before proceeding to the Checkout page, otherwise invite him/her, maybe using a popup window, to do so.

Thanks a lot.

Replies (7)
    • I think, you refer to business customers b2b in your posting, because private customers do not have a tax ID. If businesses have to pay value added taxes VAT (very small businesses are excluded from VAT in almost every European country), then either the end customer has to pay it, or the business receiving the VAT invoice can claim a deduction from the VAT they owe to the tax office from their own VAT sales. VAT rates vary a lot between European countries and countries on other continents may have a completely different taxation system. That's why we are using payment services like Stripe or PayPal. They offer a system (e.g. Stripe Tax) that can handle sales from a business in one country to a customer (private or business) in another country. Certainly, they will take an additional provision for that.

      What it will need to integrate Stripe Tax service to work with UNA is a handler in the API call, that is called automatic_tax[enabled]"=true , which will trigger VAT handling as is set up in Stripe Tax.

      This information is from this site https://stripe.com/at/tax (I don't know how to change to the english version of the page, sorry).

      • Hi @thomlin

        Sorry but I am fraid that you completely misunderstood my question to @Anton L.

        I am not talking about paying, calculating or deducting a VAT. I am asking about how to display a Customer's Tax ID on the Invoice and Receipt documents which is a requirement in some countries whether that customer is an individual/person or company/business. It's a strategy found by many governments to fight tax evasion and fraud.

        Stripe has already that option in its API. Please refer to the link I shared in my post above. Stripe can display the customer's tax ID in the header of the invoice and receipt along with the Full Name, Billing address, Email address.

        UNA has a organization profile module for business/entities. So let's say, if you are running an UNA website or business/company that operates within the European Union and offer whatever paid service (Membership upgrade, Credits, Points, Advertising etc) to another European Union-based business, you are bound by the the European Union Law to display their VAT in the Invoice and Receipt. Did you know that?

        Same applies in countries like Brazil (to both Individuals and businesses). Yes in Brazil, it is not permitted to issue an invoice or receipt without displaying the customer's Tax ID on it no matter whether that customer is a person or a business. I bed that applies to many other contries as well. I am still searching about it.

        Sure VAT is for businesses in the EU but in some other countries both Individuals (natural persons) and Business (entities) have a Tax Id. It is just called differently in different countries.

        E.g: U.S. taxpayer identification numbers include a Social Security Number (SSN) or Taxpayer Identification Number (TIN) which is issued to individuals, and an Employer Identification Number (EIN), which is issued to individuals or entities.

        Brazilian taxpayer identification numbers include CPF for individuals and CNPJ for entities.

        Other countries also have their taxpayer identification numbers.

        Although some contries like USA, Canada etc do not require you to put the Customer's Tax ID on the invoice and receipt documents, some others like countries in the European Union (for the invoice to enties/businesses - VAT), Brazil (for the invoice to both individuals - CPF and entities - CNPJ) etc do.

        That feature (functionality) is already available in Stripe and Paypal API. We just need to enable it in their integration with UNA. Also we need to find a way to collect it from the member in the UNA platform (maybe as an input field from the profile creation page or the account edit page)

        Hope it makes sense now.


        • Yes, I understand. It needs though some clarification. Payment services do not collect data from form input fields in UNA. It collects data from its own checkout page which gets integrated in UNA with payments module, because that critical data has to be encrypted when it's sent back to their systems. By extending the services, for example with tax service, the form extends as well, with all the necessary data input fields the customer has to fill in once, in that case a field for tax id or company name, etc., which then gets automatically validated before it is sent back to the service payment provider and saved in their highly secured databases for your further use.

          • Thanks for your reply.

            Collecting the customer's Tax ID is the responsibility of the seller, not the payment gateway. It's the customer who has to provide it to the seller. It is done on the seller's website and stored in the database, usually via an Input field, not on the Payment gateway's checkout page.

            In the link I shared above, Stripe has clearly said:

            You’re responsible for the accuracy of customer information including their tax ID number. The invoice includes the customer tax ID whether or not it’s valid.

            If it had to be done on the checkout page, then members would have needed to enter it everytime they needed to order something.

            UNA platform already passes many information (Full name, email address, product name and ID etc) to the payment service provider services through the API integration. All those information are safely stored in the UNA database. So collecting and storing the customer's Tax ID in the database then passing it to the payment service provider should not be a big deal with UNA. That's what API is for.

            Please do not confuse the customer's account information stored on the seller's website (full name, billing address, email address etc) and which are passed to Payment service provider for the creation of the invoice and the receipt with the payment method information collected by the Payment Gateway on the checkout page (e.g. Name on the credit card, credit card number etc). They are two different sets of data.

            By the way, all the major social networks like Facebook, Twitter etc, coltect the customer's Tax ID on their platform using an input field and store it in their database.

            • Hello @OneEagle !

              The UNA payment integration does not incorporate the storage or utilization of taxes. This functionality will need to be implemented through custom integration.

              • Hi @LeonidS 

                Again, as I have already said it several times in my previous posts, this topic is not about utilizing, calculating or deducting Taxes in UNA. It's all about DISPLAYING the custumer's Tax ID on Invoice and Receipt documents

                Payment servive providers like Stripe already have this functionalty included/available in their API. All we need to do is to enable it in UNA integration with Stripe.

                If UNA can collect Customer's name, email addres etc using an input field, store them in the database then pass them to the Payment service provider via the API integration, why does it sound like a big deal to do the same with the customer's tax ID which is basically digits/numbers/letters? (e.g: 123456789)

                UNA is a versatile and universal platform. It is used internationally. Not all of us are running UNA for fun or as a hobby. Some of us are taking their UNA projects very seroulsly, meaning as a business.

                If you want to run a serious business and stay away from troubles with governments, you MUST act ethically and comply with the law. As I have already said in my previous posts, in many countries like countries in the European Union (Eu), Brazil etc, IT IS NOT PERMITTED to issue an invoice or receipt without displaying the Customer's Tax ID on it. It's the Law! (some require it to invoices and receipts issued to businesses/entities only, some require it to invoices and receipts issued to botth individuals and entities)

                UNA team would have thought about it when building the UNA invoice systemen and the UNA integration with Payment services Provider: Stripe, Paypal etc.

                @Anton L I would appreciate a solution to be provided by UNA, as this is something crucial that can end up getting many UNA-based businesses into serious troubes with the tax authorities.

                • Hi @Anton L, Please, would you mind answering and addressing this request? We definitely need to display the Customer's Tax Id on the Invoice and Receipt documents in order comply with the Law. Please!

                  Not logged in users can't 'Comments Post'.