Files
accounted/lib
Jonas Flodén 5b4cefe8ab feat(api): v1 endpoints to stamp invoice inbox items as consumed (#767)
* feat(api): v1 endpoints to stamp invoice inbox items as consumed

Adds inbox_item_id support to POST /api/v1/companies/{companyId}/documents/{id}/link
(best-effort stamp on the originating invoice_inbox_items row) and a new dedicated
POST /api/v1/companies/{companyId}/inbox-items/{id}/stamp endpoint for stamping
independently of the document link — both use documents:write scope and require
Idempotency-Key.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Signed-off-by: Jonas Flodén <jonas@floden.nu>

* fix(api): wrap stamp response in dataEnvelope and register route in load-routes

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Signed-off-by: Jonas Flodén <jonas@floden.nu>

---------

Signed-off-by: Jonas Flodén <jonas@floden.nu>
2026-06-29 23:08:01 +02:00
..
2026-06-16 18:22:09 +02:00
2026-06-10 13:52:24 +02:00
2026-06-29 16:34:51 +02:00
2026-03-21 00:47:54 +01:00
2026-06-16 18:22:09 +02:00
2026-02-24 16:06:36 +01:00
2026-05-26 22:29:41 +02:00
2026-06-12 16:35:30 +02:00
2026-06-12 16:35:30 +02:00
2026-04-22 18:14:01 +02:00
2026-06-29 16:34:51 +02:00
2026-06-18 11:49:33 +02:00
2026-05-28 15:43:48 +02:00
2026-05-26 22:29:41 +02:00
2026-05-06 11:12:02 +02:00
2026-05-28 15:43:48 +02:00
2026-04-29 16:32:26 +02:00