Skip to content

SudoSOS Back-end API / internal/spec/invoice-request-spec / updateInvoiceRequestSpec

Function: updateInvoiceRequestSpec() ​

ts
function updateInvoiceRequestSpec(): Specification<UpdateInvoiceParams, ValidationError>;

Specification for an UpdateInvoiceParams. Registered with the async validator middleware using a buildTarget that merges route params (invoiceId) and token defaults (byId) into the validation target.

Returns ​

Specification<UpdateInvoiceParams, ValidationError>