Preview coding defaults for a location + vendor
Returns the GL and dimension coding defaults for the given ottimate_location_id and erp_vendor_id, without creating an invoice. Use this to pre-fill an invoice-capture UI before calling POST /invoices — pass the returned erp_dimension_id values through to that endpoint's dimensions field to persist them. This preview only covers header-level defaults; individual line items may still be affected by catalog/item-level mapping rules not shown here.
Query parameters
Restaurant/location ID, same value used on invoice create.
ERP accounting vendor ID (the accounting_id on the vendor record). Matched case-insensitively.
Which mapping rule scope to evaluate. Only header is supported in v1; line_item is reserved for a future version.
Headers
OAuth2 authentication flows. Auth server URLs will vary by environment
API key for authentication
API version to use (optional, defaults to latest). Supported values: 1.0.0, 1.1.0.
Response
Successful response with coding defaults