Skip to main content
POST
/
v1
/
scanner
/
receipts
cURL
curl --request POST \
  --url http://localhost:3000/v1/scanner/receipts \
  --header 'Content-Type: application/json' \
  --data '
{
  "sweep_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "storage_paths": [
    "<string>"
  ],
  "page_count": 2,
  "total_bytes": 123
}
'

Body

application/json
sweep_id
string<uuid>
required

Sweep ID this receipt belongs to

storage_paths
string[]
required

Array of storage paths for uploaded page images

Minimum array length: 1
page_count
integer
required

Number of pages scanned

Required range: x >= 1
total_bytes
integer

Total file size in bytes

Response

Receipt record created