Documentation Mercado Libre
Check out all the necessary information about APIs Mercado Libre.
Documentation
Billing info
The legacy endpoint has been deprecated; the recommended approach is now to use the new flow: get billing_info.id from /orders and then query /orders/billing-info/{site_id}/{billing_info_id}. During migration, parallel operation is being maintained for a limited time, so integrations must be adapted to use the new endpoint.
On certain sites or for certain buyers, the API may not return address or identification fields due to local rules (for example, in Peru the returned billing_info may not include zip_code or complete fields). Additionally, when the tax document is being processed (PROCESSING), some fields may remain null until final authorization.
For a breakdown of taxes and discounts applied, consult the billing endpoints (by period) and the /orders/{order_id}/discounts endpoint (depending on the region). In some flows the breakdown must be calculated by combining values from listing_prices and shipments/costs; there is not always a single field that returns the total bonuses/discounts.
Extract billing_info.id from /orders (buyer.billing_info.id) and then query /orders/billing-info/{site_id}/{billing_info_id}. The legacy endpoint has been deprecated and must be migrated to the new resource.
When the tax document is still being processed (PROCESSING) or pending tax authorization, certain fields such as tax_status or identification fields may remain null until the invoice is processed/authorized. On some sites (e.g. Peru), local rules mean that zip_code or other fields are not returned.
There may be a delay in the processing and ingestion of the invoice and in external tax authorization; additionally, submissions with incorrect Content-Type or XML with an invalid signature are rejected, leaving the status as pending while the file is being processed or corrected.
The legacy resource has been deprecated. The alternative is to get billing_info.id from the order (/orders => buyer.billing_info.id) and then query /orders/billing-info/{site_id}/{billing_info_id}. Migration involves adjusting queries to use billing_info_id instead of the previous direct endpoint.