line_items_amount_mismatch
`amount` does not equal the total computed from `line_items`.
| HTTP status | 400 |
| Error type | invalid_request_error |
| Retry | No. Fix the request. |
What to do
Omit `amount` and let Borga derive it, or send the total of every line including tax.
Response shape
{
"error": {
"type": "invalid_request_error",
"code": "line_items_amount_mismatch",
"message": "…",
"doc_url": "https://docs.borga.is/errors/line_items_amount_mismatch",
"request_id": "req_…"
}
}See all error codes and how to handle them.