<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def create_proforma_invoice(sender, instance, created, **kwargs):
 """ For every Order if there are defined billing_data creates invoice proforma, which is an order confirmation document """

    if created:
        Invoice.create(instance, Invoice.INVOICE_TYPES['PROFORMA'])