You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Creating a Proforma Invoice can be done by simply supplying the `amount`, the `client` who you want to create it for,
4
-
and whether you want to send it immediately (`send_pfi`). If you have `send_pfi` set to `True`, the PFI will have the
5
-
status 'Unpaid', and an email will be sent to them with the details about the PFI including the PDF.
4
+
and whether you want to send it immediately or not using the `raise_behaviour` variable.
5
+
6
+
`send_pfi` is being replaced with `raise_behaviour`. The options are `dont-raise`,`raise` or `raise-and-send`. If no value is passed or `dont-raise` is passed then the
7
+
PFI will be created as draft. If `raise` is passed then the PFI will be created and raised to the status 'Unpaid' but no notifcations will be sent to clients. If `raise-and-send` is passed then the PFI will be created and raised to the status 'Unpaid' and notifcations will be sent to clients to request payment.
6
8
7
9
**Note that, if a Proforma Invoice exists that is either Draft or Confirmed, TutorCruncher will simply add a
8
-
new item to it and it will NOT be raised, even if `send_pfi` is set to `true`.**
10
+
new item to it and it will NOT be raised, even if `raise` or `raise-and-send` are passed.**
0 commit comments