AllocatePaymentInput
Allocates the unallocated cash of an on-account payment to open invoices.
input AllocatePaymentInput {
allocations: [PaymentAllocationInput!]!
expectedVersion: Int
paymentId: ID!
}
Fields
AllocatePaymentInput.allocations ● [PaymentAllocationInput!]! non-null input
The invoices to allocate to and the amount for each.
AllocatePaymentInput.expectedVersion ● Int scalar
The version of the payment you last read. The change is refused if someone else changed it since.
AllocatePaymentInput.paymentId ● ID! non-null scalar
The ID of the on-account payment to allocate.
Member Of
allocatePayment mutation