code: def create_proforma_invoice(sender, instance, created, **kwargs):
      
      if created:
          Invoice.create(instance, Invoice.INVOICE_TYPES['PROFORMA'])
docs: For every Order if there are defined billing_data creates invoice proforma,
      which is an order confirmation document