Operating system set to macOS
Documentation jurisdiction set to United States
Sign inConnect Claude

Invoke Skill Journal Record

post/api/v1/skills/journal.record/invoke

Record an accounting journal entry to Xero/QBO.

Request bodyapplication/json

FieldTypeDescription
client_idrequiredstring (uuid)β€”
entriesrequiredany[]β€”
memostringβ€”
entry_datestring (date) | nullβ€”
idempotency_keystring | nullβ€”

Responses

200Skill executed successfully
FieldTypeDescription
skillrequiredstringβ€”
outputrequiredobjectβ€”
show nested
FieldTypeDescription
artifact_idstring (uuid) | nullβ€”
download_urlstringβ€”
summarystringβ€”
citationsany[]β€”
warningsstring[]β€”
stub_fieldsstring[]β€”
journal_idstring (uuid)β€”
status"queued" | "pending_approval" | "dry_run" | "created" | "rejected_unbalanced" | "failed"β€”
queuedpending_approvaldry_runcreatedrejected_unbalancedfailed
total_debitsnumber | stringβ€”
total_creditsnumber | stringβ€”
balancedbooleanβ€”
erp"xero" | "qbo" | "sage" | "internal" | nullβ€”
archive_referencestring | nullERP-assigned reference (e.g. Xero JournalNumber, QBO Id) for re-fetch.
reversal_createdbooleanβ€”
reversal_journal_idstring (uuid) | nullβ€”
correlation_idrequiredstringβ€”
401Authentication required
FieldTypeDescription
errorrequiredobjectβ€”
show nested
FieldTypeDescription
typerequiredstringβ€”
coderequiredstringβ€”
messagerequiredstringβ€”
paramstringβ€”
retry_after_secondsintegerβ€”
403Insufficient permissions
FieldTypeDescription
errorrequiredobjectβ€”
show nested
FieldTypeDescription
typerequiredstringβ€”
coderequiredstringβ€”
messagerequiredstringβ€”
paramstringβ€”
retry_after_secondsintegerβ€”
404Skill not found
FieldTypeDescription
errorrequiredobjectβ€”
show nested
FieldTypeDescription
typerequiredstringβ€”
coderequiredstringβ€”
messagerequiredstringβ€”
paramstringβ€”
retry_after_secondsintegerβ€”
429Rate limit exceeded
FieldTypeDescription
errorrequiredobjectβ€”
show nested
FieldTypeDescription
typerequiredstringβ€”
coderequiredstringβ€”
messagerequiredstringβ€”
paramstringβ€”
retry_after_secondsintegerβ€”
5XXInternal server error
FieldTypeDescription
errorrequiredobjectβ€”
show nested
FieldTypeDescription
typerequiredstringβ€”
coderequiredstringβ€”
messagerequiredstringβ€”
paramstringβ€”
retry_after_secondsintegerβ€”
curl https://api.dev.arch.ie/api/v1/skills/journal.record/invoke \
  -X POST \
  -H "Authorization: Bearer sk_..." \
  -H "Content-Type: application/json" \
  -d '{
       "client_id": "00000000-0000-0000-0000-000000000000",
       "entries": [
         null
       ],
       "memo": "string",
       "entry_date": null,
       "idempotency_key": null
     }'