Skip to content

fix(api): prevent 500 on invoice delete by importing exceptions#240

Open
AT-Smart-Solutions wants to merge 1 commit intoOpenXE-org:masterfrom
AT-Smart-Solutions:fix/invoice-delete-500-exception-imports
Open

fix(api): prevent 500 on invoice delete by importing exceptions#240
AT-Smart-Solutions wants to merge 1 commit intoOpenXE-org:masterfrom
AT-Smart-Solutions:fix/invoice-delete-500-exception-imports

Conversation

@AT-Smart-Solutions
Copy link
Copy Markdown

Summary

Fixes HTTP 500 on DELETE /v1/belege/rechnungen/{id} by adding missing Exception and InvalidArgumentException imports in DocumentInvoiceResource.

Validation

A/B tested:

  • without imports: 500 (Unexpected error)
  • with imports: regular API response (no server crash)

Scope

Single-file change, no business logic modification.

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