{"id":4182,"date":"2024-07-23T13:22:42","date_gmt":"2024-07-23T10:22:42","guid":{"rendered":"https:\/\/modulus.help\/kb\/docs\/documentation\/invoicing-v1\/error-codes\/"},"modified":"2024-10-01T12:54:05","modified_gmt":"2024-10-01T09:54:05","slug":"error-codes","status":"publish","type":"docs","link":"https:\/\/modulus.help\/kb\/docs\/documentation\/invoicing-v1\/error-codes\/","title":{"rendered":"Error Codes"},"content":{"rendered":"<p>This is a list of modulus response codes and their meaning in case of an unsuccessful request.<\/p>\n<table style=\"width: 47rem;\">\n<thead>\n<tr>\n<th>Code<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<th style=\"text-align: left;\">5531<\/th>\n<td>Missing Account code.<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left;\">5530<\/th>\n<td>Missing cash book.<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left;\">5529<\/th>\n<td>Missing code, unit or quantity in item row with index $index.<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left;\">5528<\/th>\n<td>Document must has one or more item row.<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left;\">5527<\/th>\n<td>Missing payment term.<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left;\">5526<\/th>\n<td>Missing status.<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left;\">5525<\/th>\n<td>Missing invoice book.<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left;\">5524<\/th>\n<td>Missing or invalid due date.<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left;\">5523<\/th>\n<td>Missing or invalid issue date.<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left;\">5522<\/th>\n<td>Missing branch code.<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left;\">5521<\/th>\n<td>Missing customer code.<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left;\">5519<\/th>\n<td>Invalid Account or not for payment.<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left;\">5518<\/th>\n<td>Return date can not be in the future.<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left;\">5517<\/th>\n<td>Account currency is different than customer currency.<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left;\">5516<\/th>\n<td>Invalid Account or not for collection.<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left;\">5515<\/th>\n<td>Collection date can not be in the future.<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left;\">5513<\/th>\n<td>Issue date can not be after due date.<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left;\">5512<\/th>\n<td>Invalid payment term.<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left;\">5511<\/th>\n<td>Could not add item to price list at row with index $index.<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left;\">5510<\/th>\n<td>Invalid item and unit combination at row with index $index.<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left;\">5509<\/th>\n<td>Invalid Unit at row with index $index.<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left;\">5508<\/th>\n<td>Invalid Item code at row with index $index.<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left;\">5507<\/th>\n<td>Some rows are invalid.<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left;\">5506<\/th>\n<td>Issue date can not be after due date.<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left;\">5505<\/th>\n<td>Invalid status.<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left;\">5504<\/th>\n<td>Invalid salesperson may be in correct id, or not linked to the branch.<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left;\">5503<\/th>\n<td>Invalid book.<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left;\">5502<\/th>\n<td>Invalid or disabled Branch.<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left;\">5501<\/th>\n<td>Missing Currency Exchange rate.<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left;\">5500<\/th>\n<td>Invalid Customer.<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left;\">5597<\/th>\n<td>Invalid type value. Allowed values are individual or organization.<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left;\">5607<\/th>\n<td>Invalid contact type.<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left;\">5608<\/th>\n<td>Invalid country code.<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left;\">5609<\/th>\n<td>Invalid currency.<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left;\">5611<\/th>\n<td>Missing price list code ,it must be specified<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left;\">5612<\/th>\n<td>Non matching city and country<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left;\">5675<\/th>\n<td>Missing customer name.<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left;\">5676<\/th>\n<td>Missing customer type.<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left;\">5677<\/th>\n<td>Missing customer code.<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left;\">5602<\/th>\n<td>Missing address country code.<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left;\">5603<\/th>\n<td>Missing address city.<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left;\">5604<\/th>\n<td>Missing contact type.<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left;\">5605<\/th>\n<td>Missing contact label.<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left;\">5606<\/th>\n<td>Missing contact value.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"featured_media":0,"parent":4104,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","doc_tag":[],"comment_count":0,"_links":{"self":[{"href":"https:\/\/modulus.help\/kb\/wp-json\/wp\/v2\/docs\/4182"}],"collection":[{"href":"https:\/\/modulus.help\/kb\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/modulus.help\/kb\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/modulus.help\/kb\/wp-json\/wp\/v2\/comments?post=4182"}],"version-history":[{"count":3,"href":"https:\/\/modulus.help\/kb\/wp-json\/wp\/v2\/docs\/4182\/revisions"}],"predecessor-version":[{"id":4237,"href":"https:\/\/modulus.help\/kb\/wp-json\/wp\/v2\/docs\/4182\/revisions\/4237"}],"up":[{"embeddable":true,"href":"https:\/\/modulus.help\/kb\/wp-json\/wp\/v2\/docs\/4104"}],"next":[{"title":"API: Create Invoice","link":"https:\/\/modulus.help\/kb\/docs\/documentation\/invoicing-v1\/api-create-invoice\/","href":"https:\/\/modulus.help\/kb\/wp-json\/wp\/v2\/docs\/4105"}],"wp:attachment":[{"href":"https:\/\/modulus.help\/kb\/wp-json\/wp\/v2\/media?parent=4182"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/modulus.help\/kb\/wp-json\/wp\/v2\/doc_tag?post=4182"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}