Skip to content

billing: document entity type, Head Office, receipt numbers#50

Merged
acoshift merged 1 commit into
mainfrom
invoice-accounting
Jun 27, 2026
Merged

billing: document entity type, Head Office, receipt numbers#50
acoshift merged 1 commit into
mainfrom
invoice-accounting

Conversation

@acoshift

Copy link
Copy Markdown
Member

Documents the accounting feedback (deploys-app/api#117, apiserver#217):

  • billing/overview.md — billing accounts carry an Individual/Company entity type; a company (and our own seller address) prints "Head Office (สำนักงานใหญ่)" on tax documents. Paid invoices get a separate receipt number (DPLY-RC-YYYYMM-NNNN), distinct from the invoice number; documents billing.downloadReceipt.
  • api/conventions.md — adds billing.downloadReceipt; notes the new type / taxEntityType / receiptNumber fields.
  • billing/usage-reports.md + automation/cli.md — receipt vs invoice download, and the -type flag.

- billing/overview.md: billing accounts now carry an Individual/Company entity
  type; a company (and our own seller address) prints "Head Office
  (สำนักงานใหญ่)" on tax documents. Paid invoices get a separate receipt number
  (DPLY-RC-YYYYMM-NNNN), distinct from the invoice number; documents downloadReceipt.
- api/conventions.md: billing.downloadReceipt added; notes the new type /
  taxEntityType / receiptNumber fields.
- billing/usage-reports.md + automation/cli.md: receipt vs invoice download, and
  the -type flag.
@deploys-app deploys-app Bot temporarily deployed to pr-50 June 26, 2026 14:34 Destroyed
@deploys-app

deploys-app Bot commented Jun 26, 2026

Copy link
Copy Markdown

Preview deleted (PR closed).

@acoshift acoshift merged commit 5e44ebe into main Jun 27, 2026
1 check passed
@acoshift acoshift deleted the invoice-accounting branch June 27, 2026 06:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant