`POST /v1/mapping-rules`
POST/v1/mapping-rules
Rejects, at write time: an unknown instruction type convention (normalised to the ledger's uppercase form), a missing/inactive GL account, the same account on both sides, and an ambiguous pair (same product_type + instruction_type + priority).
create a mapping rule.
Request
Responses
- 200
- 409
- 422
Ambiguous rule for this pair and priority
Unknown/inactive GL account, or same account on both sides