Get renewal price
get_renewal_quoteReturns the price of renewing one of the user's LEIs for 1, 3 or 5 years: net amount, VAT, total and currency, the renewal year and order id, the payment methods (card, invoice) and any unpaid renewal order the user already started. The price is in the account's currency: if the user hasn't said which currency they want to pay in, ask them first and change it with set_currency. If vatNote says VAT could be taken off, ask the user for the entity's EU VAT number and pass vatCountry and vatNumber. Always show the user this price and get their agreement before calling create_renewal_order.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| leiId | Yes | The id (GUID) of the LEI, from list_my_leis or list_leis_due_for_renewal. | |
| years | No | Renewal period in years: 1, 3 or 5. Longer periods have a lower price per year. | |
| vatNumber | No | Optional: the entity's EU VAT number, e.g. BE0123456789. It is checked with the EU's VIES service, and only a valid number is used. Pass the same vatCountry and vatNumber to the order tool as to the quote. | |
| vatCountry | No | Optional: the 2-letter code of the EU country that issued the entity's VAT number, e.g. BE. Give it with vatNumber when the quote adds VAT and the entity has an EU VAT number; leave both out to use the VAT number already stored for this LEI. |