Skip to main content
This page describes how integrations must apply draft or finalised posting when creating accounting entries in the target Accounting System. Posting status must be applied after:
  • Export Items are mapped
  • attachments are handled
  • accounting periods are assigned
And before entries are created in the Accounting System.

Implementation

See the corresponding how-to article for API usage and step-by-step instructions:

Implementation rules

1. Read posting configuration (integration configuration)

For custom integrations using Export API v3, the Export API does not provide a “posting as draft vs finalised” configuration value. If your integration needs to support configurable posting status, you must implement this as an integration configuration (i.e., a setting in your integration that the user controls). The configuration determines whether entries are created as:
  • draft, or
  • finalised (posted)

2. Apply posting status when creating entries

When creating accounting entries, the integration must apply the configured posting behaviour and map it to the closest equivalent state supported by the Accounting System.
Integration configurationRequired behaviour
Export in draft status enabledCreate entries as draft
Export in draft status disabledCreate entries as finalised

3. Accounting System differences

Accounting Systems may represent posting status differently. Common variants include:
  • draft vs posted
  • approved vs unapproved
  • saved vs committed
The integration must translate the integration’s posting configuration into the closest equivalent posting state supported by the Accounting System.

4. Default behaviour

If posting configuration cannot be determined:
  • integrations must default to draft posting

Processing Order

Posting behaviour occurs late in the export workflow:

Upstream Dependencies

  • Export Job has been claimed (status = in_progress)
  • Fetch Export Item Data (data layer)
  • Bookkeeping method resolved
  • Accounts Mapping – determines which GL accounts are debited and credited
  • Data Mapping – ensures amounts, dates, dimensions, identifiers, and VAT/tax information are recorded correctly
  • Attachment Handling – links receipts and supporting documentation
  • Accounting Periods – assigns entries to the correct accounting period

Downstream Dependencies

  • Export Item status update – updates outcome of Export Item (successful or failed)
  • Export Job status update – updates outcome of Export Job (completed, completed_with_errors or failed)

What Comes Next?