{"templateId":"markdown","versions":[{"version":"9.0","label":"9.0","link":"/classes/whmcs/billing/quote/item","default":true,"active":true,"folderId":"9d7dc099"},{"version":"8.13","label":"8.13","link":"/classes/8.13/whmcs/billing/quote/item","default":false,"active":false,"folderId":"9d7dc099"}],"sharedDataIds":{"sidebar":"sidebar-classes/@8.13/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"WHMCS\\Billing\\Quote\\Item","description":"Developer documentation for the WHMCS API — the","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"whmcsbillingquoteitem","__idx":0},"children":["WHMCS\\Billing\\Quote\\Item"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Class"]}," · extends ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["AbstractModel"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Quote line items"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Each quote is made up of individual line items, like an Invoice."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Each line item is associated with a specific quoteId."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Note that quote line items are very flexible, and do not have hard linkages to"," ","products or inventory items in WHMCS.  It's up to the operator to transform"," ","line items into actual billable services if the quote is accepted."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"methods","__idx":1},"children":["Methods"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"quote","__idx":2},"children":["quote"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"php","header":{"controls":{"copy":{}}},"source":"public function quote()\n","lang":"php"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Each quote item belongs to a quote."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Returns"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\\Illuminate\\Database\\Eloquent\\Relations\\BelongsTo"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"gettotal","__idx":3},"children":["getTotal"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"php","header":{"controls":{"copy":{}}},"source":"public function getTotal(): float\n","lang":"php"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Get the quote item's total price after discount is applied"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Returns"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["float"]}]}]},"headings":[{"value":"WHMCS\\Billing\\Quote\\Item","id":"whmcsbillingquoteitem","depth":1},{"value":"Methods","id":"methods","depth":2},{"value":"quote","id":"quote","depth":3},{"value":"getTotal","id":"gettotal","depth":3}],"frontmatter":{"title":"WHMCS\\Billing\\Quote\\Item","seo":{"title":"WHMCS\\Billing\\Quote\\Item"}},"lastModified":"2026-08-05T14:37:16.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/classes/whmcs/billing/quote/item","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}