Custom invoice number

WCMp PDF Invoice

Resolved
Viewing 1 reply thread
  • Author
    Posts
    • #132729
      tonisf96
      Participant

      Hi
      I need to implement a custom invoice number on vendors invoice. That number has to be the number of order in the moment. For example, if one vendor has first order that number has to be 1, if has two orders, the last invoice order has to be 2.

      Can you help me with this? Thanks

    • #132745

      Hi, thank you for your query.
      By default the invoice numbers are created by invoice pefix, vendor number, time (for vendor order) or invoice prefix, post id and time.
      This gets saved using post metakey _wcmp_pdf_invoice_number_date

      However if you want to change the flow, you’ll need to do custm code.

Viewing 1 reply thread

The topic ‘Custom invoice number’ is closed to new replies.