{"section":"tutorials","requestedLocale":"en","requestedSlug":"b2b-contracts","locale":"en","slug":"b2b-contracts","path":"docs/en/tutorials/b2b/b2b-buyer-portal/b2b-contracts.md","branch":"main","content":"A contract establishes the commercial conditions between a B2B customer and your store. It also centralizes purchase agreement management by defining the products buyers can access, the prices that will apply to them, and the payment methods they can use.\n\n> ⚠️ This feature is only available for stores using B2B Buyer Portal, which is currently available to selected accounts.\n\nContracts are stored in the `CL` data entity of [Master Data v1](https://help.vtex.com/docs/tutorials/master-data). This is the same entity that stores buyer information in B2C scenarios; however, for B2B contracts, it follows specifications that enable the B2B Buyer Portal feature.\n\n## Data\n\nThe contract contains basic information about the B2B buyer, including contact details (email and phone numbers) and corporate information (trade name and corporate document, among others). It also includes specifications for commercial conditions.\n\n### Commercial conditions\n\nThe contract defines the commercial conditions that apply to the B2B buyer. You can configure the following settings:\n\n- **Price tables:** Associate one or more [price tables](https://help.vtex.com/docs/tracks/tabelas-de-preco-definicao-de-conceito) with the contract.\n- **Product collections:** Select the [product collections](https://help.vtex.com/docs/tracks/collections-concept-definition) the contract can access, limiting the products buyers can view and purchase.\n- **Payment methods:** Specify the payment methods buyers can use for transactions.\n- **Credit cards:** Define the credit cards buyers can use at checkout.\n\n## Contract management\n\nB2B store operators can create, edit, and delete contracts through the [B2B Contracts API](https://developers.vtex.com/docs/api-reference/b2b-contracts-api). Each contract is identified by a unique ID automatically generated by VTEX when the contract is created.\n\n> ⚠️ When creating or updating contracts, you must submit each field based on the provided specifications. Otherwise, the Checkout module won't be able to autocomplete the information during the purchase flow. Learn more in the article [Customer information automatic fill-in](https://help.vtex.com/docs/tutorials/smartcheckout-customer-information-automatic-fill-in).\n\n> ℹ️ Members of the buyer organization can manage certain contract information (such as email and phone number) through the Organization account interface."}