Preview coding defaults for a location + vendor
Preview coding defaults for a location + vendor
Authentication
Headers
API version to use (optional, defaults to latest). Supported values: 1.0.0, 1.1.0.
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.
Response
Header-level dimension defaults, keyed by dimension type (e.g. ‘DEPARTMENT’, ‘CLASS’). Empty when accounting_mode is legacy_gl or no default applies.
Vendor-level coding defaults for this location + vendor, regardless of accounting mode.
Default GL account. Populated for legacy_gl accounts, and also for enhanced_dimensions accounts that auto-map to a global default GL (source: ‘default’) — that path is not gated by accounting_mode.
Response-specific caveats, e.g. a matched value that couldn’t be resolved to a usable ID. Empty when nothing unusual applies to this particular location/vendor pair.

