Accounting | Postings

Get a single accounting posting by ID.

get/api/Accounting/Postings/{id}

Request

  • Base URL: https://api.omnium.no (the document declares no server; this is the origin it was published from)
  • URL: https://api.omnium.no/api/Accounting/Postings/{id}
  • Auth: API key in header Authorization

Path parameters

idstring nullable required

Posting ID

Response

Posting found and returned

idstring nullable

Unique posting ID. Set by Omnium.

source'PosZReport' | 'WebFulfillment'

Discriminator for the source that produced an accounting posting.

orderTypestring nullable

Order type this posting covers, when the tenant splits WebFulfillment postings per order type. Null on per-store WebFulfillment postings and on all PosZReport postings.

zReportIdstring nullable

Z-report this posting was built from. Set when Source = PosZReport; null otherwise.

zReportNumberinteger nullable

Z-report number, when applicable.

orderIdsstring[] nullable

Order IDs that contributed to this posting.

storeIdsstring[] nullable

Stores covered by this posting. WebFulfillment postings have a single entry.

registerIdsstring[] nullable

Registers covered by the source Z-report. Empty for WebFulfillment postings.

accountingCompanyCodestring nullable

Accounting company code (when configured per store/market).

postingDatestring date-time

Accounting period date (store-local timezone → date component).

createdAtstring date-time

UTC creation timestamp.

currencyCodestring nullable

ISO currency code for the posting (e.g. NOK, SEK, EUR).

statusstring nullable

Lifecycle status. One of: Draft, Posted, Exported, Reconciled, Rejected, Superseded.

supersedesPostingIdstring nullable

If this posting replaces an earlier one, the ID of the superseded posting.

externalReferencestring nullable

ERP voucher ID once exported.

exportedAtstring date-time nullable

UTC timestamp when the posting was exported to the ERP, if exported.

totalDebitnumber

Sum of all debit amounts on the posting's ledger lines.

totalCreditnumber

Sum of all credit amounts on the posting's ledger lines.

imbalancenumber

Signed imbalance (Debit - Credit). Should be 0 after auto-balancing.

autoBalancedboolean

True if a suspense line was added to make the posting balance.

lineCountinteger

Number of ledger lines on the posting.

warningsstring[] nullable

Builder-emitted diagnostics (e.g. auto-balance notes).

rejectionReasonstring nullable

Operator-supplied reason recorded when the posting was transitioned to Rejected.

postingHashstring nullable

Tamper-evidence hash over the ordered set of lines + identity fields. Stable across lifecycle transitions (Status / ExportedAt etc. are excluded).

Changes

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