medusajs / medusa

Building blocks for digital commerce
https://medusajs.com
MIT License
24.72k stars 2.44k forks source link

[Feature] Business unique identifier number in billing details. #1466

Closed chemicalkosek closed 1 year ago

chemicalkosek commented 2 years ago

Some users might want to fill out the business identifier number in billing details. That number is necessary if an invoice is needed for a business transaction. This is very common field in ecommerce stores in Poland, especially in B2B shops.

This is equivalent of Danish CVR number or TVA in France. NIP in Poland. I believe this should be a standard field in the billing details address, not as a metadata. Also should be visible and editable in the admin dashboard.

SGFGOV commented 2 years ago

can't this be implemented using the extender and extending the order and customer entities, similar to the lines of https://www.npmjs.com/package/medusa-extender-plugin-gstin

chemicalkosek commented 2 years ago

The premise of why I posted this issue is because it's such a common use case world wide that I thought it would be feasible to have it built in. VAT number is also necessary in whole EU for B2B sales between countries to have reverse charge. I understand that not every use case will be added to the core, but that one just seems way too common, at least in my understanding. Feel free to disagree with me.

srindom commented 1 year ago

@chemicalkosek - We are moving feature requests to GitHub Discussions to keep better track of the most requested features (using the upvote mechanism) and streamline GitHub Issues around bugs. Could I ask you to re-open your request here: https://github.com/medusajs/medusa/discussions/categories/feature-requests

Thanks!