GET
/api/ordering/production/worksheet.pdfThe production worksheet as a PDF
The same rollup the screen shows, on the shared document frame — masthead, bilingual field strip, footer. Takes the grouping and the raw/baked filter that are on screen so paper matches what was just read. Omit groupId for the whole view; pass one to print a single card.
datestringrequired
Montreal business day, `yyyy-mm-dd`. Required. Day-scoped endpoints filter on the **delivery** date (D-14).
groupBystringoptional
How the sheet is grouped. Anything else falls back to `section`.
rawBakedstringoptional
Which half of the work. Under a filter each row totals the filtered half, not its own total.
groupIdstringoptional
Print ONE card — a section id, a customer id, or the literal `all-items`. Omit for every card in the view.
langstringoptional
Defaults to the signed-in user's language.
200The worksheet.
400Invalid input — the `error` string says what was wrong.
errorstringrequired
401Not authenticated. Sign in first (see the Auth tag).
errorstringrequired
500Unexpected server error.
errorstringrequired
Error handling
A 400 is returned: Invalid input — the error string says what was wrong. A 401 is returned: Not authenticated. Sign in first (see the Auth tag). A 500 is returned: Unexpected server error.