Home › Forums › Support › Create a quote instead of an invoice? This topic contains 3 replies, has 3 voices, and was last updated by promoocodes 3 weeks, 4 days ago. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts July 25, 2019 at 1:26 am #21414 [email protected]Participant Self hosted, latest version. I’m currently creating invoices with the code below: It works perfectly for creating invoices, but when I try to create a quote with createQuote() I get: Fatal error: Uncaught Error: Call to undefined method InvoiceNinja\Models\Client::createQuote() Do you have a tiny snippet or hint for how to create a quote with the PHP api? Thanks! Terry echo "Creating Invoice"; $client->createInvoice(); $client->save(); $invoice = $client->createInvoice(); $invoice->addInvoiceItem('Diagnostic Charge', 'Diagnostic Charge (includes first 30 minutes)', 75, 1); July 25, 2019 at 8:38 am #21415 Hillel CorenKeymaster You can use createInvoice() to create quotes, you just need to set is_quote to true. July 26, 2019 at 3:05 am #21419 [email protected]Participant > You can use createInvoice() to create quotes, you just need to set is_quote to true. Ahhh. Sneaky! 😎 Thank you again for an awesome product, it’s “just right” for my tiny service business. Terry July 26, 2019 at 11:40 am #21420 promoocodesParticipant nice Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic.