Skip to content

Declarative hooks: design receipt extra-lines extension point #103

Open

Description

@sridharkalaibala

Parent issue: #34

Goal

Design the first declarative extension point where apps can add approved receipt lines without running arbitrary code in the receipt/sale flow.

Suggested files to inspect

Acceptance criteria

  • Design defines a data-only receipt extra-lines contract with length, formatting, and placement limits.
  • App output cannot change sale totals, taxes, payment status, or stock movement.
  • Timeout/failure behavior is documented and does not block normal billing unless explicitly configured.
  • Tests or fixtures are proposed for valid lines, too-long lines, unsafe content, and connector failure.
  • The PR links back to App and connector platform: reviewable integrations without weakening the offline POS core #34.

Validation

  • Run git diff --check.
  • Maintainer review confirms the hook is data-only, not in-process code.

Out of scope

  • Implementing the hook.
  • Allowing arbitrary JavaScript or template execution.

Activity

  1. added
    documentation
    enhancement
    help wanted
    needs design
    area: integrations
    size: medium
    area: app platform
    community edition
    security
    on Sep 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: app platformarea: integrationscommunity editiondocumentationenhancementhelp wantedneeds designsecuritysize: medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions