Confirm an inbox document is a customs invoice

A person's yes to the customs question on an inbox document not yet a bill: the draft bill is made from the document (the inbox's own conversion) and answered as customs.suggestion.confirm does, with make_rule the same way (REST only, never over MCP or Ask). The bill is stamped as made by the integration (or by Cybooks AI for the person, over MCP). The document must be convertible as documentExtraction.convertToBill requires, except that the import VAT line's tax may wait for this answer. Send only what a person decided, never an answer read from the evidence or the document. Refused bill_exists once the document is a bill (answer on the bill), not_a_customs_bill, customs_off, and with 409 document_extraction_not_convertible, document_extraction_incomplete or document_extraction_duplicate_pending. Requires Idempotency-Key, the document-extractions:action OAuth scope and update_document_extractions.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Body Params

Fields accepted to confirm an inbox document is a customs invoice. The schema identifies required and optional values.

customs.suggestion.confirm and customs.inboxSuggestion.confirm: the
person's yes, one call. No free text: the answer is the operation, the
ruling the app's own.

boolean

"Also make it a rule": save the supplier's split rule from the bill's lines. Needs manage_ai_knowledge; without it the answer is kept and the request answers 403 rule_needs_permission. Only when a person asked for it.

Headers
string
required
length ≤ 191

Required unique key whose request hash and terminal response are stored durably for 24 hours.

Responses

Language
Credentials
OAuth2
Missing 1 required scope
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
*/*