Documentation développeur Entités PosBasket
November 26, 2025 at 2:48 AMPosBasket
Panier
Description
Panier
Panier (PosBasket)
{
"_id": "string", // id
"name": "string", // nom de la configuration
"odooId": { /* OdooId */ }, // id Odoo du pos
"sessionId": "string", //Id odoo de la session en cours sur le POS
"cinemaId": "string", //
"created": "datetime", // Datetime de la création du panier
"status": "string", // Etat du panier : open,paid,cancel
"payment": "string", // Détail sur le paiement du panier
"lines": [
{ "PosBasketLine" } // Lignes de vente
],
"position": "string", // FiscalPosition : onsite,takeaway
"barcodeValue": "string", // Barcode du panier
"manualValue": "string", // Valeur manuel du panier
"webClient": "string", //
"beeperNumber": "string", // Numéro du beeper lié au panier
"askBeeperNumber": "string", //
"employeeService": "string", // Lie un employée pour une réduction salariée
}
Lignes de panier (PosBasketLine)
{
"_id": "string", // id
"lineType": "string", // Type : show,product
"showId": "string", // Identifiant du show
"priceType": "string", // Tarif de la séance choisi : full,reduce,student,group
"button": "string", // Button selectionné
"choiceValue": "datetime", // --
"lineTaxes": "string", // Ligne des taxes
"attachItem": "string", // Item (prepaid/card) attaché à la ligne
"discountPercent": "number", //Réduction en % , utilisé pour la vente aux salariés
"discountAmount": "bigdecimal", // Réduction en montant HT, utilisé pour l'utilisation d'un prépayé/carte
"productId": "string", // Production Id
"amountHT": "string", // Montant HT d'origin de la ligne
"amountRealHT": "string", //Montant remisé, montant prix en compte pour les calcules
"note": "string", // Note
}
Tax (TaxAmount)
{
"tax": "tax", // Description de la taxes
"amountHT": "bigdecimal", // Montant HT sur lequel on calcul la taxet
"taxAmountExact": "bigdecimal", // Montant tax amount exact, sans arrondie
"taxAmountReal": "bigdecimal", // Montant tax arrondie
}