action rebilly_post_invoice_transaction { label: "Apply a transaction to an invoice" description: "Apply a transaction to an invoice. The invoice must be unpaid. The transaction must have a non-zero unused amount (not fully applied to other invoices).\n" provider: rebilly method: POST path: "/invoices/{id}/transaction" encoding: json input: { type: "object" required: ["transactionId"] properties: { amount: { type: "number" format: "double" description: "Amount which needs to be applied to the invoice. Can't be more than the transaction's amount. If omitted, the lesser of the transaction's unused amount or the invoice's amount due will be used.\n" } transactionId: { type: "string" description: "Transaction to be applied to the invoice." } } } output: { type: "object" } }