# Update an Invoice Payment Updates a booking and/or invoice payment information. Endpoint: PUT /api/external/accounting/invoice-payments/{paymentId} Version: 1.5.0 Security: API_AUTHENTICATION ## Path parameters: - `paymentId` (integer, required) Invoice payment ID Example: 327 ## Request fields (application/json): - `id` (integer) Payment ID Example: 225636 - `status` (string) Indicates if the quote/invoice has been paid in full or not Enum: "PAID", "NOT_PAID" - `quoteId` (integer) Quote ID Example: 5563201 - `invoiceIds` (array) The IDs of the invoices associated with the payment Example: [66542554] - `amount` (number) Payment amount Example: 56.36 - `currency` (string) Payment currency Enum: "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTN", "BWP", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "INR", "IQD", "IRR", "ISK", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRO", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STD", "SVC", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VND", "VUV", "WST", "XAF", "XAG", "XAU", "XBA", "XBB", "XBC", "XBD", "XCD", "XDR", "XOF", "XPD", "XPF", "XPT", "XSU", "XTS", "XUA", "XXX", "YER", "ZAR", "ZMW", "ZWL", "BTC" - `documents` (array) Payment document (PDF, PNG, JPG, JPEG) - `documents.id` (integer) Document ID Example: 66325 - `documents.uuid` (string) Document UUID Example: "2342343423423423423ASS32" - `documents.originalName` (string) Original name of the document Example: "fil3.pdf" - `documents.fileSize` (integer) File size Example: 652154 - `documents.creationDate` (string) Date created Example: "2024-11-27T16:56:40Z" - `remarks` (string) - `date` (string) Example: "2023-12-24" ## Response 200 fields (application/json): - `id` (integer) Payment ID Example: 225636 - `status` (string) Indicates if the quote/invoice has been paid in full or not Enum: "PAID", "NOT_PAID" - `quoteId` (integer) Quote ID Example: 5563201 - `invoiceIds` (array) The IDs of the invoices associated with the payment Example: [66542554] - `amount` (number) Payment amount Example: 56.36 - `currency` (string) Payment currency Enum: "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTN", "BWP", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "INR", "IQD", "IRR", "ISK", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRO", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STD", "SVC", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VND", "VUV", "WST", "XAF", "XAG", "XAU", "XBA", "XBB", "XBC", "XBD", "XCD", "XDR", "XOF", "XPD", "XPF", "XPT", "XSU", "XTS", "XUA", "XXX", "YER", "ZAR", "ZMW", "ZWL", "BTC" - `documents` (array) Payment document (PDF, PNG, JPG, JPEG) - `documents.id` (integer) Document ID Example: 66325 - `documents.uuid` (string) Document UUID Example: "2342343423423423423ASS32" - `documents.originalName` (string) Original name of the document Example: "fil3.pdf" - `documents.fileSize` (integer) File size Example: 652154 - `documents.creationDate` (string) Date created Example: "2024-11-27T16:56:40Z" - `remarks` (string) - `date` (string) Example: "2023-12-24"