Create a vendor bill-request link

POST/api/v1/vendor-bill-requests

Mint a public URL a vendor or contractor can use to submit a bill without an account. The raw URL is returned once and cannot be recovered later; only its hash is stored.

Operation ID: create_vendor_bill_request_link_api_v1_vendor_bill_requests_post·View as markdown·OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Request body

vendor_idstring

Pre-bind the link to one vendor. Submissions are attributed to this vendor without any name/email matching. Omit for a general link.

labelstring

Manager-facing label, e.g. 'Q3 contractors'. Shown on the form heading.

expires_in_daysinteger

Days until the link stops accepting submissions. Omit for no expiry.

Responses

201Successful Response

successboolean
messagestring
codestring
dataVendorBillRequestLinkCreateResponse

400Bad Request - Invalid input

401Unauthorized - Authentication required

403Forbidden - Insufficient permissions

404Not Found - Resource does not exist

422Validation Error

detailarray · ValidationErrorValidationError
5 fields
locarray · string | integerrequired
msgstringrequired
typestringrequired
inputobject
ctxobject