Invoice & Quote Error Codes
Invoice & Quote Error Codes.
| Code | Description |
|---|---|
| project_does_not_exist | update or link non existing projectId |
| project_already_exist | create project with existing projectId |
| invoice_does_not_exist | update or link non existing invoiceId |
| invoice_already_linked_to_project | invoiceId already linked to project and can not be linked twice |
| customer_does_not_exist | customer update or quote/invoice create or update operations made for non synchronized customerId. You should synchronize customer before invoice or quote |
| invoice_payment_operation_exist | invoice can not be changed due to existing operation. Happens for Invoice Update/Cancel |
| customer_of_invoice_is_draft | customer saved as draft. (Customer cellphone and email is empty or invalid. So we can not send any notification about invoice or quote) |
| cant_set_new_customer_for_invoice | Once quote or invoice created, you can not assign invoice to new customer |
| invoice_can_not_be_updated_due_date | Once invoice or quote has expired DueDate, they can not be updated anymore |
| invoice_already_cancelled | Invoice can not be updated after cancelling |
| invoice_can_be_updated_only_in_placed_status | Invoice can be update only when there is no transactions or action from user |
| document_invalid_data | one parameters from invoice or quote request has invalid value or empty |
| invoice_already_exist | invoice with provided InvoiceId already exist |
| quote_reference_does_not_exist | QuoteId and QuoteRefId provided with during invoice creation does not exist. Please sync quote with such ids |
| quote_dismissed | Invoice can not be updated. Quote referenced to this invoice is dismissed by customer or cancelled |
| quote_amount_not_equal_to_invoice | Total amount of quote should be equal to invoice total amount |
| quote_already_referenced_to_invoice | Quote ids provided in request already referenced to another invoice and can not be referenced to another one |
| loan_application_not_approved | Loan application was not approved for quote linked to its invoice |
| invoice_amount_is_bigger_then_approved | Total amount of invoice is bigger then approved total amount of loan application that was approved for referenced quote. Invoice total amount should be equal or less then total amount of it’s quote |
| customer_invalid_data | one of customer or company fields has invalid data |
| customer_company_change | Once customer is already belong to one company. You can add him to another company. |
| customer_already_registered | customer is already registered and you can not do action like add him to company. |
| company_customer_does_not_exist | You can not add customer to company which is not synchronized before. |
| customer_with_phone_or_email_already_exist | Customer with such phone or email already added |
| quote_already_exist | Quote with such id already added |
| quote_does_not_exist | Can not update non existing quote. Try to create it instead of update. |
| customer_reference | Can not set new customer for existing quote |
| quote_update_rejected | Quote can not be updated once invoice referenced to this quote in already created |
| quote_and_loan_total_amount | Can not update quote. Total amount of quote should not be bigger then approved total amount of loan application. |