Skip to content

docs: align invoice and series response contracts - #310

Merged
javorosas merged 12 commits into
mainfrom
docs/series-list-array-response
Oct 15, 2026
Merged

javorosas merged 12 commits into
mainfrom
docs/series-list-array-response

Conversation

@javorosas

@javorosas javorosas commented Oct 14, 2026 •

Copy link
Copy Markdown
Member

Correct organization series responses to arrays and restore existing response fields for cancellation checks, fiscal stamps, invoice items, organization settings, receipts and taxes. Give the shared XML/PDF cancellation receipt download operation a neutral name.

Invoice responses now distinguish draft, pending, failed and stamped states. Valid and canceled invoices require their UUID and stamp fields; draft responses have no stamp. The invoice creation input and its type selector are unchanged. Cancellation check timestamps remain optional and are omitted until a check starts.

Spanish and English contracts remain aligned. All 127 operations, references and generated type fixtures pass, including response narrowing by status. Both locale production builds pass. These corrections describe the public API behavior and prevent SDK type regressions.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Update cancellation guide links and replace request-only schema references in response models.

4 open findings
What changed in this PR

Corrects bilingual OpenAPI response schemas, restores public fields, and normalizes the cancellation receipt operation.

Changes:

  • Returns organization series as arrays.
  • Restores response properties across invoice, receipt, tax, and organization models.
  • Renames the cancellation receipt operation and updates type fixtures.
File Description
website/​openapi_v2.yaml Spanish contract updates
website/​openapi_v2.en.yaml English contract updates
website/​test/​openapi-types.fixture.txt Type-generation regression fixtures

🧠 Review effort: Lite


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread website/openapi_v2.en.yaml
Comment thread website/openapi_v2.yaml Outdated
Comment thread website/openapi_v2.en.yaml
Comment thread website/openapi_v2.yaml

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread website/openapi_v2.en.yaml
Comment thread website/openapi_v2.yaml
@javorosas javorosas changed the title docs: correct series responses and preserve public model fields docs: align invoice and series response contracts Oct 15, 2026
@javorosas
javorosas merged commit b005dcc into main Oct 15, 2026
1 check passed
@javorosas
javorosas deleted the docs/series-list-array-response branch October 15, 2026 16:51
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.

3 participants