Check a supplier quote
verifier_devisUse this when the user has a supplier quote for a part and wants to know if the price is fair. Compares the quoted price with the price rebuilt from the drawing, line by line, and lists the questions to ask the supplier. Requires a plan_id and the quoted unit price. 1 credit. The quote can be passed either as its unit price (devis.prix_unitaire_eur) or as the PDF file (devis.pdf_base64); with the PDF, the price, quantity and supplier are read automatically and returned in devis_lu.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| devis | Yes | Supplier quote: give prix_unitaire_eur, or pdf_base64, or both (prix_unitaire_eur then wins). | |
| matiere | Yes | Ex. aluminium, acier, inox, fonte, pa6 | |
| plan_id | Yes | Identifiant rendu par POST /plans | |
| quantite | Yes | ||
| ajustements | No | Paramètres du modèle (voir ajustements_possibles dans la réponse) | |
| epaisseur_mm | No | Pour la tôle si le plan ne la porte pas | |
| nb_campagnes | No | ||
| lot_de_fabrication | No | Nombre de pièces par lot, ou « commande_entiere » |