{"section":"known-issues","requestedLocale":"en","requestedSlug":"voucher-cannot-be-configured-for-restricted-use-in-the-case-of-a-cnpj","locale":"en","slug":"voucher-cannot-be-configured-for-restricted-use-in-the-case-of-a-cnpj","path":"docs/en/known-issues/Marketing & Merchandising/voucher-cannot-be-configured-for-restricted-use-in-the-case-of-a-cnpj.md","branch":"main","content":"## Summary\n\nA store needs to share a voucher with the members of a specific group, e.g. a company. However the restriction option cannot be applied for a CNPJ.\n\nSo when a voucher is configured in the __Restricted__ as `Yes`, the restriction is only applied to a CPF.\n\nIf a CNPJ only has one CPF associated with it, the voucher will function.\n\n## Simulation\n\n1. Access the __Catalog__ module.\n2. Click on __Campaign Controls__.\n3. Click on __Voucher__.\n4. Create or change a voucher.\n5. Insert CNPJ.\n6. Mark as Restricted.\n7. Mark as Reusable.\n\nThe voucher will not be effective if used by users registered in the store whose records show information on this CNPJ.\n\n## Workaround\n\nThe workaround would be to maintain a restriction by CPF.\n\nThis system, included in the Portal, is being replaced. It is now possible to use the new Giftcard Hub with APIs.\n\nSee our document on [integration with gift \ncard](/en/tutorial/how-to-integrate-with-a-gift-card/).\n\nAlso our [technical documentation on APIs](/en/developer-docs/)."}