Finance > JournalEntry
Creates a Journal entry
Changed onCreates a Journal entry
post/api/2026-10-01/resources/finance/journal_entries
Request
- Base URLhttps://api.factorialhr.com
- URLhttps://api.factorialhr.com/api/2026-10-01/resources/finance/journal_entries
- Auth
- OAuth 2Authorization code: https://id.factorialhr.com/oauth/authorizeToken URL: https://id.factorialhr.com/api/oauth/token scopes: finance
- or API key in header x-api-key
Request body
Example request
{
"external_id": "EXT-001",
"legal_entity_id": "1001",
"type": "external",
"lines": [
{
"account_id": 9876,
"debit_amount_cents": 0,
"credit_amount_cents": 100,
"external_id": "LINE-001"
},
{
"account_id": 9876,
"debit_amount_cents": 100,
"credit_amount_cents": 0,
"external_id": "LINE-002"
}
],
"reference_date": "2025-01-01",
"description": "Payment for invoice",
"status": "published"
}Response
CREATED
Example response
{
"id": "4321",
"number": 1,
"published_at": "2025-01-01T00:00:00.000Z",
"type": "bank",
"source_id": "15",
"source_type": "bank_transaction",
"reference_date": "2025-01-01",
"description": "Payment for invoice",
"legal_entity_id": "1001",
"external_id": "EXT-001",
"status": "published",
"updated_at": "2025-01-01T00:00:00.000Z"
}Changes
- info
endpoint added
- info