.. AUTO-GENERATED FILE. DO NOT EDIT. /accounting-form-specifications-post-one ======================================== Summary ------- - **Source repository:** ``jef-systems/jef-accounting-backend`` - **Source SHA:** ``a4fcf0e2deccf8422f4a15a76dac8d4ec4ddbff8`` - **Source run id:** ``30027826522`` - **Lambda function:** ``jef-accounting-post-005`` - **HTTP method:** ``POST`` - **API path:** ``/accounting-form-specifications-post-one`` - **Cloudflare path:** ``/accounting/async-post/accounting-form-specifications-post-one`` - **Endpoint URL:** ``https://api.jefoffice.com/accounting/async-post/accounting-form-specifications-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 ----------- .. list-table:: :widths: 30 70 * - ``Function`` - jef-accounting-post-005 Logical ID: jef-accounting:jef-accounting-form-specifications:post-one Order Number: 005 * - ``Module`` - jef-accounting * - ``Action`` - post-one * - ``Method`` - POST * - ``Invocation Mode`` - ASYNC * - ``Resource Path`` - /accounting-form-specifications-post-one Endpoint Name: jef-accounting-form-specifications-post-one * - ``Table`` - jef-accounting-form-specifications * - ``Primary Key`` - form\_specification\_id API Gateway Response -------------------- .. list-table:: :widths: 30 70 * - ``status\_code`` - 202 * - ``message`` - Request accepted for asynchronous processing. Payload Example --------------- .. list-table:: :widths: 30 70 * - ``form\_specification\_id`` - d0d25b75-7e7b-40be-a290-c43ba4c32b20 * - ``form\_id`` - 35b6cc9b-fd66-4989-a793-36c42a1be1f6 * - ``spec\_version`` - value-001 * - ``spec\_sha256`` - value-001 * - ``spec\_schema\_version`` - value-001 * - ``form\_code`` - value-001 * - ``qr\_code\_value`` - value-001 * - ``form\_spec`` - value-001 * - ``form\_spec\_size\_bytes`` - 1 * - ``source\_repository`` - value-001 * - ``source\_path`` - value-001 * - ``source\_commit\_sha`` - value-001 * - ``publisher\_run\_id`` - 8962999f-e24c-46c0-beae-2c88ed593cba * - ``publisher\_version`` - value-001 * - ``published\_at`` - 2026-07-23T17:03:38Z * - ``created`` - 2026-07-23T17:03:38Z * - ``updated`` - 2026-07-23T17:03:38Z Payload Schema -------------- .. code-block:: json { "type": "object", "additionalProperties": "False", "payload_mode": "flat", "allow_children_wrapper": "False", "children_wrapper_field": "", "allow_batch": "False", "table": "jef-accounting-form-specifications", "primary_key": "form_specification_id", "required[0]": "form_id", "required[1]": "spec_version", "required[2]": "spec_sha256", "required[3]": "spec_schema_version", "required[4]": "form_code", "required[5]": "qr_code_value", "required[6]": "form_spec", "required[7]": "form_spec_size_bytes", "required[8]": "source_repository", "required[9]": "source_path", "required[10]": "source_commit_sha", "required[11]": "publisher_run_id", "required[12]": "publisher_version", "required[13]": "published_at", "properties.form_specification_id.field": "form_specification_id", "properties.form_specification_id.type": "S", "properties.form_specification_id.required": "False", "properties.form_specification_id.source_required": "True", "properties.form_specification_id.server_generated": "True", "properties.form_specification_id.autogenerated": "False", "properties.form_specification_id.frontend_autocomputed": "False", "properties.form_specification_id.format": "uuidv4", "properties.form_specification_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.form_id.field": "form_id", "properties.form_id.type": "S", "properties.form_id.required": "True", "properties.form_id.source_required": "True", "properties.form_id.server_generated": "True", "properties.form_id.autogenerated": "False", "properties.form_id.frontend_autocomputed": "False", "properties.form_id.format": "uuidv4", "properties.form_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.spec_version.field": "spec_version", "properties.spec_version.type": "S", "properties.spec_version.required": "True", "properties.spec_version.source_required": "True", "properties.spec_version.server_generated": "True", "properties.spec_version.autogenerated": "False", "properties.spec_version.frontend_autocomputed": "False", "properties.spec_version.regex": "^[0-9]{9}$", "properties.spec_sha256.field": "spec_sha256", "properties.spec_sha256.type": "S", "properties.spec_sha256.required": "True", "properties.spec_sha256.source_required": "True", "properties.spec_sha256.server_generated": "True", "properties.spec_sha256.autogenerated": "False", "properties.spec_sha256.frontend_autocomputed": "False", "properties.spec_sha256.regex": "^[0-9a-f]{64}$", "properties.spec_schema_version.field": "spec_schema_version", "properties.spec_schema_version.type": "S", "properties.spec_schema_version.required": "True", "properties.spec_schema_version.source_required": "True", "properties.spec_schema_version.server_generated": "True", "properties.spec_schema_version.autogenerated": "False", "properties.spec_schema_version.frontend_autocomputed": "False", "properties.spec_schema_version.regex": "^[0-9]{9}$", "properties.form_code.field": "form_code", "properties.form_code.type": "S", "properties.form_code.required": "True", "properties.form_code.source_required": "True", "properties.form_code.server_generated": "True", "properties.form_code.autogenerated": "False", "properties.form_code.frontend_autocomputed": "False", "properties.form_code.regex": "^[a-z][a-z0-9_]{2,127}$", "properties.qr_code_value.field": "qr_code_value", "properties.qr_code_value.type": "S", "properties.qr_code_value.required": "True", "properties.qr_code_value.source_required": "True", "properties.qr_code_value.server_generated": "True", "properties.qr_code_value.autogenerated": "False", "properties.qr_code_value.frontend_autocomputed": "False", "properties.qr_code_value.regex": "^[1-9][0-9]{0,127}$", "properties.form_spec.field": "form_spec", "properties.form_spec.type": "M", "properties.form_spec.required": "True", "properties.form_spec.source_required": "True", "properties.form_spec.server_generated": "True", "properties.form_spec.autogenerated": "False", "properties.form_spec.frontend_autocomputed": "False", "properties.form_spec.regex": "^[\\s\\S]{1,360000}$", "properties.form_spec_size_bytes.field": "form_spec_size_bytes", "properties.form_spec_size_bytes.type": "N", "properties.form_spec_size_bytes.required": "True", "properties.form_spec_size_bytes.source_required": "True", "properties.form_spec_size_bytes.server_generated": "True", "properties.form_spec_size_bytes.autogenerated": "False", "properties.form_spec_size_bytes.frontend_autocomputed": "False", "properties.form_spec_size_bytes.regex": "^([1-9][0-9]{0,4}|[1-2][0-9]{5}|3[0-5][0-9]{4}|360000)$", "properties.source_repository.field": "source_repository", "properties.source_repository.type": "S", "properties.source_repository.required": "True", "properties.source_repository.source_required": "True", "properties.source_repository.server_generated": "True", "properties.source_repository.autogenerated": "False", "properties.source_repository.frontend_autocomputed": "False", "properties.source_repository.regex": "^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$", "properties.source_path.field": "source_path", "properties.source_path.type": "S", "properties.source_path.required": "True", "properties.source_path.source_required": "True", "properties.source_path.server_generated": "True", "properties.source_path.autogenerated": "False", "properties.source_path.frontend_autocomputed": "False", "properties.source_path.regex": "^[A-Za-z0-9._/-]{1,500}[.]ya?ml$", "properties.source_commit_sha.field": "source_commit_sha", "properties.source_commit_sha.type": "S", "properties.source_commit_sha.required": "True", "properties.source_commit_sha.source_required": "True", "properties.source_commit_sha.server_generated": "True", "properties.source_commit_sha.autogenerated": "False", "properties.source_commit_sha.frontend_autocomputed": "False", "properties.source_commit_sha.regex": "^([0-9a-f]{40}|[0-9a-f]{64})$", "properties.publisher_run_id.field": "publisher_run_id", "properties.publisher_run_id.type": "S", "properties.publisher_run_id.required": "True", "properties.publisher_run_id.source_required": "True", "properties.publisher_run_id.server_generated": "True", "properties.publisher_run_id.autogenerated": "False", "properties.publisher_run_id.frontend_autocomputed": "False", "properties.publisher_run_id.regex": "^[A-Za-z0-9._:-]{1,128}$", "properties.publisher_version.field": "publisher_version", "properties.publisher_version.type": "S", "properties.publisher_version.required": "True", "properties.publisher_version.source_required": "True", "properties.publisher_version.server_generated": "True", "properties.publisher_version.autogenerated": "False", "properties.publisher_version.frontend_autocomputed": "False", "properties.publisher_version.regex": "^[A-Za-z0-9][A-Za-z0-9._+-]{0,127}$", "properties.published_at.field": "published_at", "properties.published_at.type": "S", "properties.published_at.required": "True", "properties.published_at.source_required": "True", "properties.published_at.server_generated": "True", "properties.published_at.autogenerated": "False", "properties.published_at.frontend_autocomputed": "False", "properties.published_at.format": "iso8601", "properties.published_at.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$", "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": "[]", "root.type": "object", "root.attributes.form_specification_id.field": "form_specification_id", "root.attributes.form_specification_id.type": "S", "root.attributes.form_specification_id.required": "False", "root.attributes.form_specification_id.source_required": "True", "root.attributes.form_specification_id.server_generated": "True", "root.attributes.form_specification_id.autogenerated": "False", "root.attributes.form_specification_id.frontend_autocomputed": "False", "root.attributes.form_specification_id.format": "uuidv4", "root.attributes.form_specification_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.form_id.field": "form_id", "root.attributes.form_id.type": "S", "root.attributes.form_id.required": "True", "root.attributes.form_id.source_required": "True", "root.attributes.form_id.server_generated": "True", "root.attributes.form_id.autogenerated": "False", "root.attributes.form_id.frontend_autocomputed": "False", "root.attributes.form_id.format": "uuidv4", "root.attributes.form_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.spec_version.field": "spec_version", "root.attributes.spec_version.type": "S", "root.attributes.spec_version.required": "True", "root.attributes.spec_version.source_required": "True", "root.attributes.spec_version.server_generated": "True", "root.attributes.spec_version.autogenerated": "False", "root.attributes.spec_version.frontend_autocomputed": "False", "root.attributes.spec_version.regex": "^[0-9]{9}$", "root.attributes.spec_sha256.field": "spec_sha256", "root.attributes.spec_sha256.type": "S", "root.attributes.spec_sha256.required": "True", "root.attributes.spec_sha256.source_required": "True", "root.attributes.spec_sha256.server_generated": "True", "root.attributes.spec_sha256.autogenerated": "False", "root.attributes.spec_sha256.frontend_autocomputed": "False", "root.attributes.spec_sha256.regex": "^[0-9a-f]{64}$", "root.attributes.spec_schema_version.field": "spec_schema_version", "root.attributes.spec_schema_version.type": "S", "root.attributes.spec_schema_version.required": "True", "root.attributes.spec_schema_version.source_required": "True", "root.attributes.spec_schema_version.server_generated": "True", "root.attributes.spec_schema_version.autogenerated": "False", "root.attributes.spec_schema_version.frontend_autocomputed": "False", "root.attributes.spec_schema_version.regex": "^[0-9]{9}$", "root.attributes.form_code.field": "form_code", "root.attributes.form_code.type": "S", "root.attributes.form_code.required": "True", "root.attributes.form_code.source_required": "True", "root.attributes.form_code.server_generated": "True", "root.attributes.form_code.autogenerated": "False", "root.attributes.form_code.frontend_autocomputed": "False", "root.attributes.form_code.regex": "^[a-z][a-z0-9_]{2,127}$", "root.attributes.qr_code_value.field": "qr_code_value", "root.attributes.qr_code_value.type": "S", "root.attributes.qr_code_value.required": "True", "root.attributes.qr_code_value.source_required": "True", "root.attributes.qr_code_value.server_generated": "True", "root.attributes.qr_code_value.autogenerated": "False", "root.attributes.qr_code_value.frontend_autocomputed": "False", "root.attributes.qr_code_value.regex": "^[1-9][0-9]{0,127}$", "root.attributes.form_spec.field": "form_spec", "root.attributes.form_spec.type": "M", "root.attributes.form_spec.required": "True", "root.attributes.form_spec.source_required": "True", "root.attributes.form_spec.server_generated": "True", "root.attributes.form_spec.autogenerated": "False", "root.attributes.form_spec.frontend_autocomputed": "False", "root.attributes.form_spec.regex": "^[\\s\\S]{1,360000}$", "root.attributes.form_spec_size_bytes.field": "form_spec_size_bytes", "root.attributes.form_spec_size_bytes.type": "N", "root.attributes.form_spec_size_bytes.required": "True", "root.attributes.form_spec_size_bytes.source_required": "True", "root.attributes.form_spec_size_bytes.server_generated": "True", "root.attributes.form_spec_size_bytes.autogenerated": "False", "root.attributes.form_spec_size_bytes.frontend_autocomputed": "False", "root.attributes.form_spec_size_bytes.regex": "^([1-9][0-9]{0,4}|[1-2][0-9]{5}|3[0-5][0-9]{4}|360000)$", "root.attributes.source_repository.field": "source_repository", "root.attributes.source_repository.type": "S", "root.attributes.source_repository.required": "True", "root.attributes.source_repository.source_required": "True", "root.attributes.source_repository.server_generated": "True", "root.attributes.source_repository.autogenerated": "False", "root.attributes.source_repository.frontend_autocomputed": "False", "root.attributes.source_repository.regex": "^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$", "root.attributes.source_path.field": "source_path", "root.attributes.source_path.type": "S", "root.attributes.source_path.required": "True", "root.attributes.source_path.source_required": "True", "root.attributes.source_path.server_generated": "True", "root.attributes.source_path.autogenerated": "False", "root.attributes.source_path.frontend_autocomputed": "False", "root.attributes.source_path.regex": "^[A-Za-z0-9._/-]{1,500}[.]ya?ml$", "root.attributes.source_commit_sha.field": "source_commit_sha", "root.attributes.source_commit_sha.type": "S", "root.attributes.source_commit_sha.required": "True", "root.attributes.source_commit_sha.source_required": "True", "root.attributes.source_commit_sha.server_generated": "True", "root.attributes.source_commit_sha.autogenerated": "False", "root.attributes.source_commit_sha.frontend_autocomputed": "False", "root.attributes.source_commit_sha.regex": "^([0-9a-f]{40}|[0-9a-f]{64})$", "root.attributes.publisher_run_id.field": "publisher_run_id", "root.attributes.publisher_run_id.type": "S", "root.attributes.publisher_run_id.required": "True", "root.attributes.publisher_run_id.source_required": "True", "root.attributes.publisher_run_id.server_generated": "True", "root.attributes.publisher_run_id.autogenerated": "False", "root.attributes.publisher_run_id.frontend_autocomputed": "False", "root.attributes.publisher_run_id.regex": "^[A-Za-z0-9._:-]{1,128}$", "root.attributes.publisher_version.field": "publisher_version", "root.attributes.publisher_version.type": "S", "root.attributes.publisher_version.required": "True", "root.attributes.publisher_version.source_required": "True", "root.attributes.publisher_version.server_generated": "True", "root.attributes.publisher_version.autogenerated": "False", "root.attributes.publisher_version.frontend_autocomputed": "False", "root.attributes.publisher_version.regex": "^[A-Za-z0-9][A-Za-z0-9._+-]{0,127}$", "root.attributes.published_at.field": "published_at", "root.attributes.published_at.type": "S", "root.attributes.published_at.required": "True", "root.attributes.published_at.source_required": "True", "root.attributes.published_at.server_generated": "True", "root.attributes.published_at.autogenerated": "False", "root.attributes.published_at.frontend_autocomputed": "False", "root.attributes.published_at.format": "iso8601", "root.attributes.published_at.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$", "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 --------------- .. code-block:: json { "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 --------------- .. code-block:: json { "form_specification_id": "d0d25b75-7e7b-40be-a290-c43ba4c32b20", "form_id": "35b6cc9b-fd66-4989-a793-36c42a1be1f6", "spec_version": "value-001", "spec_sha256": "value-001", "spec_schema_version": "value-001", "form_code": "value-001", "qr_code_value": "value-001", "form_spec": "value-001", "form_spec_size_bytes": "1", "source_repository": "value-001", "source_path": "value-001", "source_commit_sha": "value-001", "publisher_run_id": "8962999f-e24c-46c0-beae-2c88ed593cba", "publisher_version": "value-001", "published_at": "2026-07-23T17:03:38Z", "created": "2026-07-23T17:03:38Z", "updated": "2026-07-23T17:03:38Z" } Response -------- .. code-block:: json { "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 -------- .. code-block:: bat curl -X POST "https://api.jefoffice.com/accounting/async-post/accounting-form-specifications-post-one" -H "Content-Type: application/json" --data-raw "{\"form_specification_id\": \"d0d25b75-7e7b-40be-a290-c43ba4c32b20\", \"form_id\": \"35b6cc9b-fd66-4989-a793-36c42a1be1f6\", \"spec_version\": \"value-001\", \"spec_sha256\": \"value-001\", \"spec_schema_version\": \"value-001\", \"form_code\": \"value-001\", \"qr_code_value\": \"value-001\", \"form_spec\": \"value-001\", \"form_spec_size_bytes\": 1, \"source_repository\": \"value-001\", \"source_path\": \"value-001\", \"source_commit_sha\": \"value-001\", \"publisher_run_id\": \"8962999f-e24c-46c0-beae-2c88ed593cba\", \"publisher_version\": \"value-001\", \"published_at\": \"2026-07-23T17:03:38Z\", \"created\": \"2026-07-23T17:03:38Z\", \"updated\": \"2026-07-23T17:03:38Z\"}" PowerShell curl --------------- .. code-block:: powershell curl.exe -X POST "https://api.jefoffice.com/accounting/async-post/accounting-form-specifications-post-one" -H "Content-Type: application/json" --data-raw '{"form_specification_id": "d0d25b75-7e7b-40be-a290-c43ba4c32b20", "form_id": "35b6cc9b-fd66-4989-a793-36c42a1be1f6", "spec_version": "value-001", "spec_sha256": "value-001", "spec_schema_version": "value-001", "form_code": "value-001", "qr_code_value": "value-001", "form_spec": "value-001", "form_spec_size_bytes": 1, "source_repository": "value-001", "source_path": "value-001", "source_commit_sha": "value-001", "publisher_run_id": "8962999f-e24c-46c0-beae-2c88ed593cba", "publisher_version": "value-001", "published_at": "2026-07-23T17:03:38Z", "created": "2026-07-23T17:03:38Z", "updated": "2026-07-23T17:03:38Z"}'