ap-portals

Discover Form

Discover invoice form

Inspect this buyer's form and propose configuration using a sample invoice. Runs asynchronously without approving the profile or submitting the invoice.

post/v2/ap-portals/{portal_id}/discover-form

Request

  • Base URL
    https://api.stuut.ai (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Path parameters

portal_idstring required

Request body

invoice_idstring required

Internal invoice ID used to inspect this buyer's form.

create_review_taskboolean

Create a pre-submission review task after the validation dry run succeeds.

Response

Successful Response

work_idstring required
status'pending' | 'running' | 'failed' | 'done' required

Status of a ap portal work queue entry

purpose'invoice_submission' | 'form_profile_discovery' required

Changes

No recorded changes to this operation across all 1 revision of this API.