One immutable revision with its configuration (any role)
const url = 'https://api.invogi.com/v1/data-profiles/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/revisions/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = {method: 'GET', 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 GET \ --url https://api.invogi.com/v1/data-profiles/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/revisions/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path 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.
Responses
Section titled “Responses”The revision
object
SHA-256 of the canonical configuration
First activation; set once
Version 1 configuration, validated per dataset kind: columns maps Invogi field keys to source header names; source.expectedHeaders records the confirmed file’s header names (never values); format holds dateFormat (ISO, DAY_MONTH_YEAR, MONTH_DAY_YEAR) and decimalSeparator (‘.’ or ‘,’); currency is {mode: COLUMN} or {mode: CONSTANT, code}; SETTLED_PAYMENTS adds payments.direction (PAYMENTS_POSITIVE, PAYMENTS_NEGATIVE, SEPARATE_COLUMNS) and payments.source; SUPPLIER_STATEMENT_ROWS adds statement.invertAmount. Unknown fields are refused. At most 16,384 characters of JSON.
object
object
object
object
object
object
object
Example
{ "datasetKind": "INVOICE_HISTORY", "config": { "version": 1 }}Resource not found