/accounting-entities-post-one

Summary

  • Source repository: jef-systems/jef-accounting-backend

  • Source SHA: a4fcf0e2deccf8422f4a15a76dac8d4ec4ddbff8

  • Source run id: 30027826522

  • Lambda function: jef-accounting-post-001

  • HTTP method: POST

  • API path: /accounting-entities-post-one

  • Cloudflare path: /accounting/async-post/accounting-entities-post-one

  • Endpoint URL: https://api.jefoffice.com/accounting/async-post/accounting-entities-post-one

  • Cloudflare base URL: https://api.jefoffice.com/accounting/async-post

  • Cloudflare parent path: /accounting

  • Cloudflare scope: async-post

  • Cloudflare scope path: /accounting/async-post

  • Cloudflare mode: one-worker-for-lambda-async-post

  • Cloudflare Worker: jef-accounting-lambda-async-post

  • Cloudflare Worker route: api.jefoffice.com/accounting/async-post/\*

  • Payload mode: json-body

Description

Function

jef-accounting-post-001 Logical ID: jef-accounting:jef-accounting-entities:post-one Order Number: 001

Module

jef-accounting

Action

post-one

Method

POST

Invocation Mode

ASYNC

Resource Path

/accounting-entities-post-one Endpoint Name: jef-accounting-entities-post-one

Table

jef-accounting-entities

Primary Key

entity_id

API Gateway Response

status\_code

202

message

Request accepted for asynchronous processing.

Payload Example

entity\_id

d1efa2bd-0afa-42bb-852c-65b6aa9a4295

domain\_id

9b787dec-a087-4f89-ac7a-0acfff87a177

entity\_number

value-001

entity\_name

Sample Name

is\_active

True

created

2026-07-23T17:03:38Z

updated

2026-07-23T17:03:38Z

children.jef-accounting-external-scanned-documents-raw-ocr-values\[0\].external\_raw\_ocr\_value\_id

292dae72-ff44-4a2a-ad60-511e0fd900b1

children.jef-accounting-external-scanned-documents-raw-ocr-values\[0\].document\_id

69b5150a-a676-4c07-9f34-c26e2a861ecf

children.jef-accounting-external-scanned-documents-raw-ocr-values\[0\].entity\_id

d1efa2bd-0afa-42bb-852c-65b6aa9a4295

children.jef-accounting-external-scanned-documents-raw-ocr-values\[0\].document\_origin

value-001

children.jef-accounting-external-scanned-documents-raw-ocr-values\[0\].form\_id

d4df1159-af46-4405-8a89-34da4b325152

children.jef-accounting-external-scanned-documents-raw-ocr-values\[0\].form\_code

value-001

children.jef-accounting-external-scanned-documents-raw-ocr-values\[0\].spec\_version

value-001

children.jef-accounting-external-scanned-documents-raw-ocr-values\[0\].spec\_sha256

value-001

children.jef-accounting-external-scanned-documents-raw-ocr-values\[0\].source\_s3\_bucket

value-001

children.jef-accounting-external-scanned-documents-raw-ocr-values\[0\].source\_s3\_key

value-001

children.jef-accounting-external-scanned-documents-raw-ocr-values\[0\].source\_s3\_version\_id

09ca1d08-003f-4327-94b5-bf85387903b6

children.jef-accounting-external-scanned-documents-raw-ocr-values\[0\].processing\_status

value-001

children.jef-accounting-external-scanned-documents-raw-ocr-values\[0\].ocr\_engine\_version

value-001

children.jef-accounting-external-scanned-documents-raw-ocr-values\[0\].raw\_extracted\_ocr\_value

value-001

children.jef-accounting-external-scanned-documents-raw-ocr-values\[0\].created

2026-07-23T17:03:38Z

children.jef-accounting-external-scanned-documents-raw-ocr-values\[0\].updated

2026-07-23T17:03:38Z

children.jef-accounting-forms\[0\].form\_id

a0384d0c-e53f-4467-92ba-8178a061f822

children.jef-accounting-forms\[0\].entity\_id

d1efa2bd-0afa-42bb-852c-65b6aa9a4295

children.jef-accounting-forms\[0\].form\_code

value-001

children.jef-accounting-forms\[0\].form\_name

Sample Name

children.jef-accounting-forms\[0\].qr\_code\_value

value-001

children.jef-accounting-forms\[0\].active\_spec\_version

value-001

children.jef-accounting-forms\[0\].active\_spec\_sha256

value-001

children.jef-accounting-forms\[0\].spec\_schema\_version

value-001

children.jef-accounting-forms\[0\].page\_size

value-001

children.jef-accounting-forms\[0\].layout\_type

value-001

children.jef-accounting-forms\[0\].page\_count

1

children.jef-accounting-forms\[0\].carrier\_layout

value-001

children.jef-accounting-forms\[0\].expected\_instances

1

children.jef-accounting-forms\[0\].publisher\_id

9d03cafc-2f5c-4247-adae-1f70295e65e7

children.jef-accounting-forms\[0\].source\_repository

value-001

children.jef-accounting-forms\[0\].source\_path

value-001

children.jef-accounting-forms\[0\].is\_active

True

children.jef-accounting-forms\[0\].created

2026-07-23T17:03:38Z

children.jef-accounting-forms\[0\].updated

2026-07-23T17:03:38Z

children.jef-accounting-internal-scanned-documents-raw-ocr-values\[0\].internal\_raw\_ocr\_value\_id

c5dc5d6f-7171-4f54-900f-4d2534780f2e

children.jef-accounting-internal-scanned-documents-raw-ocr-values\[0\].document\_id

c9ac2a81-2daf-434b-9518-298d442ba9b2

children.jef-accounting-internal-scanned-documents-raw-ocr-values\[0\].entity\_id

d1efa2bd-0afa-42bb-852c-65b6aa9a4295

children.jef-accounting-internal-scanned-documents-raw-ocr-values\[0\].document\_origin

value-001

children.jef-accounting-internal-scanned-documents-raw-ocr-values\[0\].form\_id

ffcc0a6f-7eb8-4d7f-932d-4131f8a5b3d7

children.jef-accounting-internal-scanned-documents-raw-ocr-values\[0\].form\_code

value-001

children.jef-accounting-internal-scanned-documents-raw-ocr-values\[0\].spec\_version

value-001

children.jef-accounting-internal-scanned-documents-raw-ocr-values\[0\].spec\_sha256

value-001

children.jef-accounting-internal-scanned-documents-raw-ocr-values\[0\].source\_s3\_bucket

value-001

children.jef-accounting-internal-scanned-documents-raw-ocr-values\[0\].source\_s3\_key

value-001

children.jef-accounting-internal-scanned-documents-raw-ocr-values\[0\].source\_s3\_version\_id

3d22d2b5-fe5e-49cd-b785-11036daa7cd3

children.jef-accounting-internal-scanned-documents-raw-ocr-values\[0\].processing\_status

value-001

children.jef-accounting-internal-scanned-documents-raw-ocr-values\[0\].ocr\_engine\_version

value-001

children.jef-accounting-internal-scanned-documents-raw-ocr-values\[0\].raw\_extracted\_ocr\_value

value-001

children.jef-accounting-internal-scanned-documents-raw-ocr-values\[0\].created

2026-07-23T17:03:38Z

children.jef-accounting-internal-scanned-documents-raw-ocr-values\[0\].updated

2026-07-23T17:03:38Z

Payload Schema

{
  "type": "object",
  "additionalProperties": "False",
  "payload_mode": "parent-plus-children-wrapper",
  "allow_children_wrapper": "True",
  "children_wrapper_field": "children",
  "allow_batch": "False",
  "table": "jef-accounting-entities",
  "primary_key": "entity_id",
  "required[0]": "domain_id",
  "required[1]": "entity_number",
  "required[2]": "entity_name",
  "properties.entity_id.field": "entity_id",
  "properties.entity_id.type": "S",
  "properties.entity_id.required": "False",
  "properties.entity_id.source_required": "True",
  "properties.entity_id.server_generated": "True",
  "properties.entity_id.autogenerated": "False",
  "properties.entity_id.frontend_autocomputed": "False",
  "properties.entity_id.format": "uuidv4",
  "properties.entity_id.regex": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$",
  "properties.domain_id.field": "domain_id",
  "properties.domain_id.type": "S",
  "properties.domain_id.required": "True",
  "properties.domain_id.source_required": "True",
  "properties.domain_id.server_generated": "True",
  "properties.domain_id.autogenerated": "False",
  "properties.domain_id.frontend_autocomputed": "False",
  "properties.domain_id.format": "uuidv4",
  "properties.domain_id.regex": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$",
  "properties.entity_number.field": "entity_number",
  "properties.entity_number.type": "S",
  "properties.entity_number.required": "True",
  "properties.entity_number.source_required": "True",
  "properties.entity_number.server_generated": "False",
  "properties.entity_number.autogenerated": "False",
  "properties.entity_number.frontend_autocomputed": "False",
  "properties.entity_number.regex": "^[0-9]{4}$",
  "properties.entity_name.field": "entity_name",
  "properties.entity_name.type": "S",
  "properties.entity_name.required": "True",
  "properties.entity_name.source_required": "True",
  "properties.entity_name.server_generated": "False",
  "properties.entity_name.autogenerated": "False",
  "properties.entity_name.frontend_autocomputed": "False",
  "properties.entity_name.regex": "^.{1,200}$",
  "properties.is_active.field": "is_active",
  "properties.is_active.type": "BOOL",
  "properties.is_active.required": "False",
  "properties.is_active.source_required": "True",
  "properties.is_active.server_generated": "False",
  "properties.is_active.autogenerated": "False",
  "properties.is_active.frontend_autocomputed": "False",
  "properties.is_active.regex": "^(true|false)$",
  "properties.created.field": "created",
  "properties.created.type": "S",
  "properties.created.required": "False",
  "properties.created.source_required": "True",
  "properties.created.server_generated": "True",
  "properties.created.autogenerated": "False",
  "properties.created.frontend_autocomputed": "False",
  "properties.created.format": "iso8601",
  "properties.created.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$",
  "properties.updated.field": "updated",
  "properties.updated.type": "S",
  "properties.updated.required": "False",
  "properties.updated.source_required": "True",
  "properties.updated.server_generated": "True",
  "properties.updated.autogenerated": "False",
  "properties.updated.frontend_autocomputed": "False",
  "properties.updated.format": "iso8601",
  "properties.updated.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$",
  "children[0].parent_table": "jef-accounting-entities",
  "children[0].child_table": "jef-accounting-external-scanned-documents-raw-ocr-values",
  "children[0].parent_key": "entity_id",
  "children[0].child_foreign_key": "entity_id",
  "children[0].child_index_name": "gsi_1",
  "children[0].child_index_key": "gsi_1_pk",
  "children[0].aliases[0]": "jef-accounting-external-scanned-documents-raw-ocr-values",
  "children[0].aliases[1]": "external-scanned-documents-raw-ocr-values",
  "children[0].aliases[2]": "accounting-external-scanned-documents-raw-ocr-values",
  "children[0].aliases[3]": "jef_accounting_external_scanned_documents_raw_ocr_values",
  "children[0].aliases[4]": "external_scanned_documents_raw_ocr_values",
  "children[0].aliases[5]": "accounting_external_scanned_documents_raw_ocr_values",
  "children[0].aliases[6]": "values",
  "children[1].parent_table": "jef-accounting-entities",
  "children[1].child_table": "jef-accounting-forms",
  "children[1].parent_key": "entity_id",
  "children[1].child_foreign_key": "entity_id",
  "children[1].child_index_name": "gsi_1",
  "children[1].child_index_key": "gsi_1_pk",
  "children[1].aliases[0]": "jef-accounting-forms",
  "children[1].aliases[1]": "forms",
  "children[1].aliases[2]": "accounting-forms",
  "children[1].aliases[3]": "jef_accounting_forms",
  "children[1].aliases[4]": "accounting_forms",
  "children[2].parent_table": "jef-accounting-entities",
  "children[2].child_table": "jef-accounting-internal-scanned-documents-raw-ocr-values",
  "children[2].parent_key": "entity_id",
  "children[2].child_foreign_key": "entity_id",
  "children[2].child_index_name": "gsi_1",
  "children[2].child_index_key": "gsi_1_pk",
  "children[2].aliases[0]": "jef-accounting-internal-scanned-documents-raw-ocr-values",
  "children[2].aliases[1]": "internal-scanned-documents-raw-ocr-values",
  "children[2].aliases[2]": "accounting-internal-scanned-documents-raw-ocr-values",
  "children[2].aliases[3]": "jef_accounting_internal_scanned_documents_raw_ocr_values",
  "children[2].aliases[4]": "internal_scanned_documents_raw_ocr_values",
  "children[2].aliases[5]": "accounting_internal_scanned_documents_raw_ocr_values",
  "children[2].aliases[6]": "values",
  "root.type": "object",
  "root.attributes.entity_id.field": "entity_id",
  "root.attributes.entity_id.type": "S",
  "root.attributes.entity_id.required": "False",
  "root.attributes.entity_id.source_required": "True",
  "root.attributes.entity_id.server_generated": "True",
  "root.attributes.entity_id.autogenerated": "False",
  "root.attributes.entity_id.frontend_autocomputed": "False",
  "root.attributes.entity_id.format": "uuidv4",
  "root.attributes.entity_id.regex": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$",
  "root.attributes.domain_id.field": "domain_id",
  "root.attributes.domain_id.type": "S",
  "root.attributes.domain_id.required": "True",
  "root.attributes.domain_id.source_required": "True",
  "root.attributes.domain_id.server_generated": "True",
  "root.attributes.domain_id.autogenerated": "False",
  "root.attributes.domain_id.frontend_autocomputed": "False",
  "root.attributes.domain_id.format": "uuidv4",
  "root.attributes.domain_id.regex": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$",
  "root.attributes.entity_number.field": "entity_number",
  "root.attributes.entity_number.type": "S",
  "root.attributes.entity_number.required": "True",
  "root.attributes.entity_number.source_required": "True",
  "root.attributes.entity_number.server_generated": "False",
  "root.attributes.entity_number.autogenerated": "False",
  "root.attributes.entity_number.frontend_autocomputed": "False",
  "root.attributes.entity_number.regex": "^[0-9]{4}$",
  "root.attributes.entity_name.field": "entity_name",
  "root.attributes.entity_name.type": "S",
  "root.attributes.entity_name.required": "True",
  "root.attributes.entity_name.source_required": "True",
  "root.attributes.entity_name.server_generated": "False",
  "root.attributes.entity_name.autogenerated": "False",
  "root.attributes.entity_name.frontend_autocomputed": "False",
  "root.attributes.entity_name.regex": "^.{1,200}$",
  "root.attributes.is_active.field": "is_active",
  "root.attributes.is_active.type": "BOOL",
  "root.attributes.is_active.required": "False",
  "root.attributes.is_active.source_required": "True",
  "root.attributes.is_active.server_generated": "False",
  "root.attributes.is_active.autogenerated": "False",
  "root.attributes.is_active.frontend_autocomputed": "False",
  "root.attributes.is_active.regex": "^(true|false)$",
  "root.attributes.created.field": "created",
  "root.attributes.created.type": "S",
  "root.attributes.created.required": "False",
  "root.attributes.created.source_required": "True",
  "root.attributes.created.server_generated": "True",
  "root.attributes.created.autogenerated": "False",
  "root.attributes.created.frontend_autocomputed": "False",
  "root.attributes.created.format": "iso8601",
  "root.attributes.created.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$",
  "root.attributes.updated.field": "updated",
  "root.attributes.updated.type": "S",
  "root.attributes.updated.required": "False",
  "root.attributes.updated.source_required": "True",
  "root.attributes.updated.server_generated": "True",
  "root.attributes.updated.autogenerated": "False",
  "root.attributes.updated.frontend_autocomputed": "False",
  "root.attributes.updated.format": "iso8601",
  "root.attributes.updated.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"
}

Response Schema

{
  "type": "object",
  "properties.ok.type": "boolean",
  "properties.accepted.type": "boolean",
  "properties.is_committed.type": "boolean",
  "properties.request_id.type": "string",
  "properties.message.type": "string",
  "properties.table.type": "string",
  "properties.operation.type": "string",
  "properties.primary_key.type": "string",
  "properties.primary_key_value.type": "string",
  "properties.item_write_count.type": "number",
  "properties.child_write_count.type": "number"
}

Request Payload

{
  "entity_id": "d1efa2bd-0afa-42bb-852c-65b6aa9a4295",
  "domain_id": "9b787dec-a087-4f89-ac7a-0acfff87a177",
  "entity_number": "value-001",
  "entity_name": "Sample Name",
  "is_active": "True",
  "created": "2026-07-23T17:03:38Z",
  "updated": "2026-07-23T17:03:38Z",
  "children.jef-accounting-external-scanned-documents-raw-ocr-values[0].external_raw_ocr_value_id": "292dae72-ff44-4a2a-ad60-511e0fd900b1",
  "children.jef-accounting-external-scanned-documents-raw-ocr-values[0].document_id": "69b5150a-a676-4c07-9f34-c26e2a861ecf",
  "children.jef-accounting-external-scanned-documents-raw-ocr-values[0].entity_id": "d1efa2bd-0afa-42bb-852c-65b6aa9a4295",
  "children.jef-accounting-external-scanned-documents-raw-ocr-values[0].document_origin": "value-001",
  "children.jef-accounting-external-scanned-documents-raw-ocr-values[0].form_id": "d4df1159-af46-4405-8a89-34da4b325152",
  "children.jef-accounting-external-scanned-documents-raw-ocr-values[0].form_code": "value-001",
  "children.jef-accounting-external-scanned-documents-raw-ocr-values[0].spec_version": "value-001",
  "children.jef-accounting-external-scanned-documents-raw-ocr-values[0].spec_sha256": "value-001",
  "children.jef-accounting-external-scanned-documents-raw-ocr-values[0].source_s3_bucket": "value-001",
  "children.jef-accounting-external-scanned-documents-raw-ocr-values[0].source_s3_key": "value-001",
  "children.jef-accounting-external-scanned-documents-raw-ocr-values[0].source_s3_version_id": "09ca1d08-003f-4327-94b5-bf85387903b6",
  "children.jef-accounting-external-scanned-documents-raw-ocr-values[0].processing_status": "value-001",
  "children.jef-accounting-external-scanned-documents-raw-ocr-values[0].ocr_engine_version": "value-001",
  "children.jef-accounting-external-scanned-documents-raw-ocr-values[0].raw_extracted_ocr_value": "value-001",
  "children.jef-accounting-external-scanned-documents-raw-ocr-values[0].created": "2026-07-23T17:03:38Z",
  "children.jef-accounting-external-scanned-documents-raw-ocr-values[0].updated": "2026-07-23T17:03:38Z",
  "children.jef-accounting-forms[0].form_id": "a0384d0c-e53f-4467-92ba-8178a061f822",
  "children.jef-accounting-forms[0].entity_id": "d1efa2bd-0afa-42bb-852c-65b6aa9a4295",
  "children.jef-accounting-forms[0].form_code": "value-001",
  "children.jef-accounting-forms[0].form_name": "Sample Name",
  "children.jef-accounting-forms[0].qr_code_value": "value-001",
  "children.jef-accounting-forms[0].active_spec_version": "value-001",
  "children.jef-accounting-forms[0].active_spec_sha256": "value-001",
  "children.jef-accounting-forms[0].spec_schema_version": "value-001",
  "children.jef-accounting-forms[0].page_size": "value-001",
  "children.jef-accounting-forms[0].layout_type": "value-001",
  "children.jef-accounting-forms[0].page_count": "1",
  "children.jef-accounting-forms[0].carrier_layout": "value-001",
  "children.jef-accounting-forms[0].expected_instances": "1",
  "children.jef-accounting-forms[0].publisher_id": "9d03cafc-2f5c-4247-adae-1f70295e65e7",
  "children.jef-accounting-forms[0].source_repository": "value-001",
  "children.jef-accounting-forms[0].source_path": "value-001",
  "children.jef-accounting-forms[0].is_active": "True",
  "children.jef-accounting-forms[0].created": "2026-07-23T17:03:38Z",
  "children.jef-accounting-forms[0].updated": "2026-07-23T17:03:38Z",
  "children.jef-accounting-internal-scanned-documents-raw-ocr-values[0].internal_raw_ocr_value_id": "c5dc5d6f-7171-4f54-900f-4d2534780f2e",
  "children.jef-accounting-internal-scanned-documents-raw-ocr-values[0].document_id": "c9ac2a81-2daf-434b-9518-298d442ba9b2",
  "children.jef-accounting-internal-scanned-documents-raw-ocr-values[0].entity_id": "d1efa2bd-0afa-42bb-852c-65b6aa9a4295",
  "children.jef-accounting-internal-scanned-documents-raw-ocr-values[0].document_origin": "value-001",
  "children.jef-accounting-internal-scanned-documents-raw-ocr-values[0].form_id": "ffcc0a6f-7eb8-4d7f-932d-4131f8a5b3d7",
  "children.jef-accounting-internal-scanned-documents-raw-ocr-values[0].form_code": "value-001",
  "children.jef-accounting-internal-scanned-documents-raw-ocr-values[0].spec_version": "value-001",
  "children.jef-accounting-internal-scanned-documents-raw-ocr-values[0].spec_sha256": "value-001",
  "children.jef-accounting-internal-scanned-documents-raw-ocr-values[0].source_s3_bucket": "value-001",
  "children.jef-accounting-internal-scanned-documents-raw-ocr-values[0].source_s3_key": "value-001",
  "children.jef-accounting-internal-scanned-documents-raw-ocr-values[0].source_s3_version_id": "3d22d2b5-fe5e-49cd-b785-11036daa7cd3",
  "children.jef-accounting-internal-scanned-documents-raw-ocr-values[0].processing_status": "value-001",
  "children.jef-accounting-internal-scanned-documents-raw-ocr-values[0].ocr_engine_version": "value-001",
  "children.jef-accounting-internal-scanned-documents-raw-ocr-values[0].raw_extracted_ocr_value": "value-001",
  "children.jef-accounting-internal-scanned-documents-raw-ocr-values[0].created": "2026-07-23T17:03:38Z",
  "children.jef-accounting-internal-scanned-documents-raw-ocr-values[0].updated": "2026-07-23T17:03:38Z"
}

Response

{
  "type": "object",
  "properties.ok.type": "boolean",
  "properties.accepted.type": "boolean",
  "properties.is_committed.type": "boolean",
  "properties.request_id.type": "string",
  "properties.message.type": "string",
  "properties.table.type": "string",
  "properties.operation.type": "string",
  "properties.primary_key.type": "string",
  "properties.primary_key_value.type": "string",
  "properties.item_write_count.type": "number",
  "properties.child_write_count.type": "number"
}

CMD curl

curl -X POST "https://api.jefoffice.com/accounting/async-post/accounting-entities-post-one" -H "Content-Type: application/json" --data-raw "{\"entity_id\": \"d1efa2bd-0afa-42bb-852c-65b6aa9a4295\", \"domain_id\": \"9b787dec-a087-4f89-ac7a-0acfff87a177\", \"entity_number\": \"value-001\", \"entity_name\": \"Sample Name\", \"is_active\": true, \"created\": \"2026-07-23T17:03:38Z\", \"updated\": \"2026-07-23T17:03:38Z\", \"children\": {\"jef-accounting-external-scanned-documents-raw-ocr-values\": [{\"external_raw_ocr_value_id\": \"292dae72-ff44-4a2a-ad60-511e0fd900b1\", \"document_id\": \"69b5150a-a676-4c07-9f34-c26e2a861ecf\", \"entity_id\": \"d1efa2bd-0afa-42bb-852c-65b6aa9a4295\", \"document_origin\": \"value-001\", \"form_id\": \"d4df1159-af46-4405-8a89-34da4b325152\", \"form_code\": \"value-001\", \"spec_version\": \"value-001\", \"spec_sha256\": \"value-001\", \"source_s3_bucket\": \"value-001\", \"source_s3_key\": \"value-001\", \"source_s3_version_id\": \"09ca1d08-003f-4327-94b5-bf85387903b6\", \"processing_status\": \"value-001\", \"ocr_engine_version\": \"value-001\", \"raw_extracted_ocr_value\": \"value-001\", \"created\": \"2026-07-23T17:03:38Z\", \"updated\": \"2026-07-23T17:03:38Z\"}], \"jef-accounting-forms\": [{\"form_id\": \"a0384d0c-e53f-4467-92ba-8178a061f822\", \"entity_id\": \"d1efa2bd-0afa-42bb-852c-65b6aa9a4295\", \"form_code\": \"value-001\", \"form_name\": \"Sample Name\", \"qr_code_value\": \"value-001\", \"active_spec_version\": \"value-001\", \"active_spec_sha256\": \"value-001\", \"spec_schema_version\": \"value-001\", \"page_size\": \"value-001\", \"layout_type\": \"value-001\", \"page_count\": 1, \"carrier_layout\": \"value-001\", \"expected_instances\": 1, \"publisher_id\": \"9d03cafc-2f5c-4247-adae-1f70295e65e7\", \"source_repository\": \"value-001\", \"source_path\": \"value-001\", \"is_active\": true, \"created\": \"2026-07-23T17:03:38Z\", \"updated\": \"2026-07-23T17:03:38Z\"}], \"jef-accounting-internal-scanned-documents-raw-ocr-values\": [{\"internal_raw_ocr_value_id\": \"c5dc5d6f-7171-4f54-900f-4d2534780f2e\", \"document_id\": \"c9ac2a81-2daf-434b-9518-298d442ba9b2\", \"entity_id\": \"d1efa2bd-0afa-42bb-852c-65b6aa9a4295\", \"document_origin\": \"value-001\", \"form_id\": \"ffcc0a6f-7eb8-4d7f-932d-4131f8a5b3d7\", \"form_code\": \"value-001\", \"spec_version\": \"value-001\", \"spec_sha256\": \"value-001\", \"source_s3_bucket\": \"value-001\", \"source_s3_key\": \"value-001\", \"source_s3_version_id\": \"3d22d2b5-fe5e-49cd-b785-11036daa7cd3\", \"processing_status\": \"value-001\", \"ocr_engine_version\": \"value-001\", \"raw_extracted_ocr_value\": \"value-001\", \"created\": \"2026-07-23T17:03:38Z\", \"updated\": \"2026-07-23T17:03:38Z\"}]}}"

PowerShell curl

curl.exe -X POST "https://api.jefoffice.com/accounting/async-post/accounting-entities-post-one" -H "Content-Type: application/json" --data-raw '{"entity_id": "d1efa2bd-0afa-42bb-852c-65b6aa9a4295", "domain_id": "9b787dec-a087-4f89-ac7a-0acfff87a177", "entity_number": "value-001", "entity_name": "Sample Name", "is_active": true, "created": "2026-07-23T17:03:38Z", "updated": "2026-07-23T17:03:38Z", "children": {"jef-accounting-external-scanned-documents-raw-ocr-values": [{"external_raw_ocr_value_id": "292dae72-ff44-4a2a-ad60-511e0fd900b1", "document_id": "69b5150a-a676-4c07-9f34-c26e2a861ecf", "entity_id": "d1efa2bd-0afa-42bb-852c-65b6aa9a4295", "document_origin": "value-001", "form_id": "d4df1159-af46-4405-8a89-34da4b325152", "form_code": "value-001", "spec_version": "value-001", "spec_sha256": "value-001", "source_s3_bucket": "value-001", "source_s3_key": "value-001", "source_s3_version_id": "09ca1d08-003f-4327-94b5-bf85387903b6", "processing_status": "value-001", "ocr_engine_version": "value-001", "raw_extracted_ocr_value": "value-001", "created": "2026-07-23T17:03:38Z", "updated": "2026-07-23T17:03:38Z"}], "jef-accounting-forms": [{"form_id": "a0384d0c-e53f-4467-92ba-8178a061f822", "entity_id": "d1efa2bd-0afa-42bb-852c-65b6aa9a4295", "form_code": "value-001", "form_name": "Sample Name", "qr_code_value": "value-001", "active_spec_version": "value-001", "active_spec_sha256": "value-001", "spec_schema_version": "value-001", "page_size": "value-001", "layout_type": "value-001", "page_count": 1, "carrier_layout": "value-001", "expected_instances": 1, "publisher_id": "9d03cafc-2f5c-4247-adae-1f70295e65e7", "source_repository": "value-001", "source_path": "value-001", "is_active": true, "created": "2026-07-23T17:03:38Z", "updated": "2026-07-23T17:03:38Z"}], "jef-accounting-internal-scanned-documents-raw-ocr-values": [{"internal_raw_ocr_value_id": "c5dc5d6f-7171-4f54-900f-4d2534780f2e", "document_id": "c9ac2a81-2daf-434b-9518-298d442ba9b2", "entity_id": "d1efa2bd-0afa-42bb-852c-65b6aa9a4295", "document_origin": "value-001", "form_id": "ffcc0a6f-7eb8-4d7f-932d-4131f8a5b3d7", "form_code": "value-001", "spec_version": "value-001", "spec_sha256": "value-001", "source_s3_bucket": "value-001", "source_s3_key": "value-001", "source_s3_version_id": "3d22d2b5-fe5e-49cd-b785-11036daa7cd3", "processing_status": "value-001", "ocr_engine_version": "value-001", "raw_extracted_ocr_value": "value-001", "created": "2026-07-23T17:03:38Z", "updated": "2026-07-23T17:03:38Z"}]}}'