Create a Payment Allocation for an Invoice
post
/public/v1/invoices/{invoice}/payment-allocationspayment_date takes either a calendar date as YYYY-MM-DD, which means that day where the
provider is, or a full instant carrying a timezone. Send the calendar date. It says what
you mean whatever offset you are on. An instant is converted to the provider's timezone and
the payment is recorded against the day it lands on there, so an offset ahead of the
provider's puts a midnight instant on the previous day: 2026-07-01T00:00:00+11:00 records
the payment on 30 June for a provider on AEST. The payment date may not be in the future,
so the latest calendar date you can send is today where the provider is.