Skip to main content
POST
Import accounting data
Send an empty object for the default scope, or legal_entity_id for one assigned entity. The import needs one provider configuration and one authorized provider company. Several configurations return HTTP 409. Requires write:gl, a user-associated API key and an active connection. The import runs in the background. The HTTP 202 response returns the job ID. Check the status with List accounting imports. To send journals from Entendre, use Sync journals.

Authorizations

X-API-Key
string
header
required

Your organization API key. Some operations also need a key that is associated with a user; their pages say so.

Headers

Idempotency-Key
string
required

Unique key for this operation. Retry with the same key and request body after a timeout. Keys are retained for at least 24 hours.

Required string length: 1 - 255

Path Parameters

connection_id
string
required

ID of the connection.

Minimum string length: 1

Body

application/json

Optional scope for the import.

The legal entity to import into. Required only when the connection is assigned to more than one legal entity; otherwise the single assigned entity is used.

Example:

"le_507f1f77bcf86cd799439011"

Response

Accepted. Poll for the final outcome.

data
object
required
message
string
required

Summary message.