As a matter of form; in keeping with a form, practice or custom.
Something done pro forma may not be essential but it facilitates future dealings.
For example, an invoice might be sent to a purchaser even before the goods are delivered as a matter of business practices.