Set whose statement it is, or correct its header (ANALYST+, dashboard user)
const url = 'https://api.invogi.com/v1/statements/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = { method: 'PATCH', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"supplierId":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","rememberSender":true,"statementDate":"2026-04-15","currency":"example","openingBalance":"example","closingBalance":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://api.invogi.com/v1/statements/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "supplierId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "rememberSender": true, "statementDate": "2026-04-15", "currency": "example", "openingBalance": "example", "closingBalance": "example" }'The balance check runs again. With rememberSender, statements from
the same sender address go to that supplier from now on, unless the
sender is the workspace’s own (a member, or a member’s company domain).
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Request Bodyrequired
Section titled “Request Bodyrequired”object
Signed decimal; negative is in the customer’s favour
Signed decimal; negative is in the customer’s favour
Example generated
{ "supplierId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "rememberSender": true, "statementDate": "2026-04-15", "currency": "example", "openingBalance": "example", "closingBalance": "example"}Responses
Section titled “Responses”The statement
object
Signed; negative is in the customer’s favour
Signed; negative means the supplier holds the customer’s money
Opening balance + lines = closing balance
List only
As printed on the statement
As printed on the statement
How the supplier was found
CSV/Excel only: the headers found, the column layout used, and a sample of rows
object
Signed; positive adds to what the customer owes
Running balance as printed
Upload only
Example
{ "status": "PROCESSING", "reviewReasons": [ "UNKNOWN_SUPPLIER" ], "source": "UPLOAD", "balanceCheck": "BALANCED", "supplierMatchMethod": "SENDER", "lines": [ { "type": "INVOICE" } ]}Invalid request
object
object
Example
{ "error": { "code": "NOT_FOUND" }}Resource not found
object
object
Example
{ "error": { "code": "NOT_FOUND" }}Conflicting idempotency key or resource processing state
object
object
Example
{ "error": { "code": "NOT_FOUND" }}