Import a proposed payment run (ANALYST+, dashboard user)
const url = 'https://api.invogi.com/v1/payment-proposals';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"name":"Friday supplier run","companyId":"2c1d0e9f-8a7b-4c6d-9e5f-4a3b2c1d0e9f","plannedPaymentDate":"2026-11-27","rows":[{"sourceRowNumber":2,"invoiceNumber":"INV-1042","supplierTaxId":"GB123456789","amount":"1250.00","currency":"GBP"},{"sourceRowNumber":3,"invoiceExternalId":"BILL-88213","amount":"400.00","currency":"GBP"}]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.invogi.com/v1/payment-proposals \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "Friday supplier run", "companyId": "2c1d0e9f-8a7b-4c6d-9e5f-4a3b2c1d0e9f", "plannedPaymentDate": "2026-11-27", "rows": [ { "sourceRowNumber": 2, "invoiceNumber": "INV-1042", "supplierTaxId": "GB123456789", "amount": "1250.00", "currency": "GBP" }, { "sourceRowNumber": 3, "invoiceExternalId": "BILL-88213", "amount": "400.00", "currency": "GBP" } ] }'Docs/48 Feature B. The rows someone intends to pay, as canonical
invoice allocations parsed from their file (the file itself is not
sent or stored). One legal entity per proposal; at most 2,000 rows.
Invalid rows reject the whole request for correction. A proposal is
immutable: a corrected file is a new proposal with predecessorId.
Creating a proposal never records a payment.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”For a Clerk session, selects a workspace in which the user has an active membership. If omitted, the remembered accessible workspace is used. API keys remain bound to their own workspace and cannot select another tenant.
A retry with the same key and body returns the same proposal; a different body is 409
Request Bodyrequired
Section titled “Request Bodyrequired”object
One invoice allocation. Needs invoiceExternalId, or invoiceNumber with supplierName, supplierTaxId or supplierId. A supplier total must be split into the invoices it pays.
object
The invoice’s ID in your system (external_id)
Chosen when a supplier name is ambiguous
Positive, with no more significant decimal places than the currency has (EUR 2, JPY 0, KWD 3; trailing zeros are fine). Refused, never rounded: a partial payment is kept exactly as proposed
ISO 4217; must be the invoice’s currency
Optional PAYMENT_PROPOSAL profile. A proposal profile only ever creates proposals; other kinds are refused before any write.
object
Counts the browser observed, stored labelled as client-reported
object
Example
{ "name": "Friday supplier run", "companyId": "2c1d0e9f-8a7b-4c6d-9e5f-4a3b2c1d0e9f", "plannedPaymentDate": "2026-11-27", "rows": [ { "sourceRowNumber": 2, "invoiceNumber": "INV-1042", "supplierTaxId": "GB123456789", "amount": "1250.00", "currency": "GBP" }, { "sourceRowNumber": 3, "invoiceExternalId": "BILL-88213", "amount": "400.00", "currency": "GBP" } ]}Responses
Section titled “Responses”The proposal
object
object
Provenance only
Display only; the file is not stored
The corrected proposal that replaced this one
Proposed total per currency (never added across currencies)
object
object
Whole-run totals; every proposal row is counted exactly once.
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
Example
{ "latestCheck": { "ruleVersion": "proposal-check-1.0.0" }}Invalid request
API key lacks required scope/role
Resource not found
Conflicting idempotency key or resource processing state