Reconcile an already-read supplier statement
POST
/statements/{statementId}/reconcile
const url = 'https://api.invogi.com/v1/statements/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/reconcile';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
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/statements/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/reconcile \ --header 'Authorization: Bearer <token>'ANALYST or higher. Tenant-scoped operation.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”statementId
required
string format: uuid
Header Parameters
Section titled “Header Parameters”X-Invogi-Organization
string format: uuid
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.
Responses
Section titled “Responses”Successful response
Media typeapplication/json
object
supplierNameRaw
required
null | string
supplierMatchMethod
required
null | string
supplierTaxIdRaw
required
null | string
extractionMethods
required
Array<string>
pageCount
required
null | number
layout
required
skippedRows
required
number
reconciliation
required
lines
required
Array<object>
object
id
required
string
lineNumber
required
number
txnDate
required
null | string
type
required
string
reference
required
null | string
description
required
null | string
amount
required
string
balance
required
null | string
dueDate
required
null | string
matchedInvoiceId
required
null | string
matchedPaymentId
required
null | string
matchedCreditId
required
null | string
matchDifference
required
null | string
findings
required
Array<object>
object
id
required
string
type
required
string
severity
required
string
summary
required
string
disposition
required
string
evidence
required
id
required
string
status
required
string
reviewReasons
required
Array<string>
source
required
string
filename
required
null | string
mediaType
required
string
fromAddress
required
null | string
statementDate
required
null | string
currency
required
null | string
openingBalance
required
null | string
closingBalance
required
null | string
balanceDifference
required
null | string
balanceDetail
required
null | string
error
required
null | string
companyId
required
null | string
closeMonth
required
null | string
closeMonthNote
required
null | string
suggestedCloseMonth
required
null | string
createdAt
required
string format: date-time
Example
{ "lines": [ { "type": "OTHER", "matchStatus": "MATCHED" } ], "findings": [ { "type": "EXACT_DUPLICATE", "severity": "INFO", "disposition": "OPEN" } ], "status": "FAILED", "reviewReasons": [ "UNKNOWN_SUPPLIER" ], "source": "UPLOAD", "balanceCheck": "UNBALANCED", "closeMonthBasis": "MANUAL"}Missing or invalid API key
Media typeapplication/json
API key lacks required scope/role
Media typeapplication/json