Executes the Add action for the Unapproved Invoices data object.

Adds an Unapproved Invoice

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

The code of the subscriber that you are making this request for.

Body Params
integer
required
1 to 255

Company. Key to ap/unapproved_invoices(APCo, UIMth, UISeq). UI Seq is defaulted.

date
required
^([0-9]{4})-(1[0-2]|0[1-9])-01$

Key to ap/unapproved_invoices(APCo, UIMth, UISeq). UI Seq is defaulted. Format: YYYY-MM-01.

integer
required

Key to ap/vendors(VendorGroup, Vendor). Note: the VendorGroup value is defaulted based on the APCo value.

string | null

Invoice number/reference.

string | null

Optional. If omitted, null will be defaulted.

date | null
^([0-9]{4})-(1[0-2]|0[1-9])-(3[0-1]|2[0-9]|1[0-9]|0[1-9])$

Optional. If omitted, null will be defaulted. Format: YYYY-MM-DD.

date | null
^([0-9]{4})-(1[0-2]|0[1-9])-(3[0-1]|2[0-9]|1[0-9]|0[1-9])$

Optional. If omitted, null will be defaulted. Format: YYYY-MM-DD.

date | null
^([0-9]{4})-(1[0-2]|0[1-9])-(3[0-1]|2[0-9]|1[0-9]|0[1-9])$

Optional. If omitted it will be defaulted based on Vista defaulting behavior. Format: YYYY-MM-DD.

string
^[-+]?[0-9]{1,10}(?:.[0-9]{0,2})?$

Optional. If omitted, it will be calculated based on line items.

PaymentOverride
object

Optional. If omitted, all properties will be defaulted as noted on each property.

AddressOverride
string | null

Optional. If omitted, null will be defaulted.

string | null

Optional. If omitted, null will be defaulted.

integer
enum

Options: 0-Not Ready, 1-Ready. If omitted, 0 will be defaulted.

Allowed:
__custom_fields
object

Add a property for each user defined values that should be set on the header form as part of this action.

Reviewers
array of objects
Reviewers
LineItems
array
LineItems
Headers
string
required

Used to authorize access to the Direct API.

Responses

401

You have not provided a proper X-Application-Key in the header of this request.

403

The X-Application-Key provided is valid but the key does not have access to this resource.

404

The object with the given ID was not found OR a subscriber with the given URL was not found.

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json