v1 - Journal Entries

Create journal entry

Creates a new journal entry

post/v1/journal-entries

Request

  • Base URL
    https://light.inc (the document declares no server; this is the origin it was published from)
  • Auth
    • API key in header Authorization
    • or HTTP bearer

Headers

X-Idempotency-Keystring

Request body

companyEntityIdstring uuid
ledgerName'PRIMARY' | 'ELIMINATION'

⚠️ This enum is not exhaustive; new values may be added in the future.

documentNumberstring nullable
descriptionstring nullable
currencystring nullable
postingDatestring date nullable
valuationDatestring date nullable
localCurrencyFxRateOverridenumber nullable

Custom foreign exchange rate for the ledger's local currency. If not provided, Light uses official ECB rates

groupCurrencyFxRateOverridenumber nullable

Custom foreign exchange rate for the ledger's group currency. If not provided, Light uses official ECB rates

documentDatestring date nullable
areLinesWithTaxboolean
businessPartnerNamestring nullable
businessPartnerIdstring uuid nullable
shouldPostboolean

Example request

{
  "currency": "USD"
}

Response

default response

idstring uuid
companyIdstring uuid
documentNumberstring
companyEntityIdstring uuid
ledgerName'PRIMARY' | 'ELIMINATION'

⚠️ This enum is not exhaustive; new values may be added in the future.

createdBystring uuid
updatedBystring uuid
documentSequenceIdstring
status'DRAFT' | 'APPROVAL_PENDING' | 'APPROVED' | 'POSTED' | 'PARTIALLY_CLEARED' | 'CLEARED' | 'ARCHIVED'

⚠️ This enum is not exhaustive; new values may be added in the future.

descriptionstring
currencystring
postingDatestring date
documentDatestring date
valuationDatestring date
localCurrencyFxRatenumber nullable

Custom foreign exchange rate for the ledger's local currency. If not provided, Light uses official ECB rates

groupCurrencyFxRatenumber nullable

Custom foreign exchange rate for the ledger's group currency. If not provided, Light uses official ECB rates

areLinesWithTaxboolean
businessPartnerNamestring
businessPartnerIdstring uuid
createdAtstring date-time
updatedAtstring date-time
multiJournalEntryIdstring uuid

Example response

{
  "currency": "USD"
}

Changes

No recorded changes to this operation across all 1 revision of this API.