{"id":4189,"date":"2024-07-23T14:45:09","date_gmt":"2024-07-23T11:45:09","guid":{"rendered":"https:\/\/modulus.help\/kb\/?post_type=docs&#038;p=4189"},"modified":"2024-10-01T12:58:55","modified_gmt":"2024-10-01T09:58:55","slug":"error-codes","status":"publish","type":"docs","link":"https:\/\/modulus.help\/kb\/docs\/documentation\/cash-apis-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;\">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;\">5517<\/th>\n<td>Account currency is different than customer currency.<\/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;\">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 Code.<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left;\">5542<\/th>\n<td>Invalid Customer.<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left;\">5541<\/th>\n<td>Invalid book or not accept this transaction type.<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left;\">5540<\/th>\n<td>Invalid transaction type.<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left;\">5539<\/th>\n<td>Invalid account or not accept this transaction type.<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left;\">5538<\/th>\n<td>Date can not be in the future.<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left;\">5537<\/th>\n<td>Missing transaction type.<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left;\">5536<\/th>\n<td>Missing pay party name.<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left;\">5535<\/th>\n<td>Missing amount.<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left;\">5534<\/th>\n<td>Missing or Invalid date.<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left;\">5598<\/th>\n<td>Missing related party name.<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left;\">5599<\/th>\n<td>Missing related party type.<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left;\">5600<\/th>\n<td>Missing related party code.<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left;\">5601<\/th>\n<td>Missing address label.<\/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<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;\">5610<\/th>\n<td>Invalid RelatedParty.<\/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<\/tbody>\n<\/table>\n","protected":false},"featured_media":0,"parent":4165,"menu_order":1,"comment_status":"closed","ping_status":"closed","template":"","doc_tag":[],"comment_count":0,"_links":{"self":[{"href":"https:\/\/modulus.help\/kb\/wp-json\/wp\/v2\/docs\/4189"}],"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=4189"}],"version-history":[{"count":4,"href":"https:\/\/modulus.help\/kb\/wp-json\/wp\/v2\/docs\/4189\/revisions"}],"predecessor-version":[{"id":4239,"href":"https:\/\/modulus.help\/kb\/wp-json\/wp\/v2\/docs\/4189\/revisions\/4239"}],"up":[{"embeddable":true,"href":"https:\/\/modulus.help\/kb\/wp-json\/wp\/v2\/docs\/4165"}],"next":[{"title":"API: Update Transaction","link":"https:\/\/modulus.help\/kb\/docs\/documentation\/cash-apis-v1\/api-update-transaction\/","href":"https:\/\/modulus.help\/kb\/wp-json\/wp\/v2\/docs\/4340"}],"wp:attachment":[{"href":"https:\/\/modulus.help\/kb\/wp-json\/wp\/v2\/media?parent=4189"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/modulus.help\/kb\/wp-json\/wp\/v2\/doc_tag?post=4189"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}