Skip to main content

PaymentAllocationInput

An amount of a payment applied to one invoice.

input PaymentAllocationInput {
amount: Float!
forexGainLoss: Float
invoiceId: ID!
}

Fields​

PaymentAllocationInput.amount ● Float! non-null scalar​

Amount to allocate, in the payment's currency. Must be greater than zero.

PaymentAllocationInput.forexGainLoss ● Float scalar​

Foreign-exchange gain or loss to record on this allocation.

PaymentAllocationInput.invoiceId ● ID! non-null scalar​

The ID of the invoice to allocate to.

Member Of​

AllocatePaymentInput input ● CreateCustomerCollectionInput input ● CreatePaymentInput input ● CreateSupplierPaymentInput input