put https://app.moderntreasury.com/api/invoices//payment_orders/
Add a Payment Order to an Invoice. The invoice must be in the unpaid state and the payment order must have matching originating_account_id, amount, currency to the invoice and must be in the direction of a debit.