Docs

Add AP Invoice Batch Entry

POST

Body

Arguments
numberrequired

AP company. Allowed range: 1 to 255.

stringrequired

Invoice batch posting month. Format: YYYY-MM-01.

numberrequired

Invoice batch ID. Key to ap/inv_batches(Co, Mth, BatchId).

numberrequired

Vendor ID. The vendor group defaults from Co.

stringrequired

Invoice number. Maximum 30 characters.

string

Optional invoice description. Maximum 30 characters.

stringrequired

Invoice date. Format: YYYY-MM-DD.

string

Optional invoice notes.

array of objectrequired

Required array with at least one AP line item object. Each item must use one supported Trimble LineType (1 through 8) and its documented fields.

Uncommon arguments
string

Optional discount date. Format: YYYY-MM-DD.

string

Optional due date. Defaults from the vendor's payment terms when omitted. Format: YYYY-MM-DD.

string

Optional invoice total. When omitted, Trimble calculates it from the line items.

object

Optional payment override object. Use the documented PaymentOverride fields.

object

Optional address override object. Use the documented AddressOverride fields.

object

Optional Vista user-defined fields, keyed by the Vista field name.

boolean

Optional. Disables Vista validations for this request.

Field selectionChoose which fields should be included in the response. Learn more
string

Comma-separated response fields to include.

Every app you connect,one REST pattern

Call any app with one REST pattern. MindCloud handles each provider's auth, request shape, and responses for you.

Learn what the Universal API is
One REST patternUse the same request structure across apps like Slack, HubSpot, Salesforce, and thousands more.
Managed connectionsSend a MindCloud connection ID instead of handling provider tokens, refresh logic, and credential storage yourself.
Action-level docsEach action page shows the exact endpoint, required arguments, optional controls, and response behavior for that app version.