{ "info": { "_postman_id": "102792cd-252a-4db8-a472-2770e986b02e", "name": "OPERAM ERP APIv3", "description": "API General ERP v3 OPERAM", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" }, "item": [ { "name": "CORE", "item": [ { "name": "Session", "item": [ { "name": "Login", "event": [ { "listen": "test", "script": { "exec": [ "var data = pm.response.json();\r", "pm.environment.set(\"token\", data.token);\r", "pm.token = data.token;" ], "type": "text/javascript" } } ], "protocolProfileBehavior": { "disableUrlEncoding": false, "disableCookies": true, "tlsPreferServerCiphers": false }, "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"company\": {{company_id}},\r\n \"user\": \"{{username}}\",\r\n \"pass\": \"{{password}}\"\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/login", "host": [ "{{API}}" ], "path": [ "api", "v3", "login" ] }, "description": "**INFORMACIÓN DEL ENDPOINT**\n\nESTE METODO POST SIRVE PARA INICIAR SESIÓN PARA PODER UTILIZAR OTROS ENDPOINTS.\n\n***BODY:**\n\n**1.-TIPO:** RAW UTILIZANDO EL FORMATO JSON.\n\n**2.-ATRIBUTOS O CAMPOS DEL BODY:**\n\n**2.1.-\"company\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO O STRING. SE VA ENVIAR EL ID O IDENTIFICADOR DE LA EMPRESA.\n\n**2.2.-\"user\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR EL NOMBRE DEL USUARIO QUE ESTE REGISTRADO.\n\n**2.3.-\"pass\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR LA CONTRASEÑA DEL USUARIO." }, "response": [] } ] }, { "name": "Customers", "item": [ { "name": "Customers", "request": { "method": "GET", "header": [], "url": { "raw": "{{API}}/api/v3/sales/customers?limit=10&skip=0", "host": [ "{{API}}" ], "path": [ "api", "v3", "sales", "customers" ], "query": [ { "key": "limit", "value": "10", "description": "Numero limite de registros a cargar" }, { "key": "skip", "value": "0", "description": "Numero de filas a saltar" }, { "key": "search", "value": "PUBLICO EN GENERAL", "description": "Campo de búsqueda por razón social", "disabled": true }, { "key": "tax_id", "value": "XAXX010101000", "description": "Campo de búsqueda por r.f.c.", "disabled": true } ] }, "description": "**INFORMACIÓN DEL ENDPOINT**\n\nESTE METODO GET SIRVE PARA CONSEGUIR UN LISTADO DETALLADO DE LOS CLIENTES ALMACENADOS EN SISTEMA.\n\n***PARAMS:**\n\n**1.-ATRIBUTOS O CAMPOS DEL PARAMS:**\n\n**1.1.-\"limit\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO. SE VA ENVIAR EL NUMERO LIMITE DE REGISTROS A CARGAR.\n\n**1.2.-\"skip\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO. SE VA ENVIAR EL NUMERO DE FILAS A SALTAR.\n\n**1.3.-\"search\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING. SE VA ENVIAR EL NOMBRE DE LA RAZON SOCIAL DEL CLIENTE QUE DESEA BUSCAR.\n\n**1.4.-\"tax_id\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING. SE VA ENVIAR EL RFC DEL CLIENTE QUE DESEA BUSCAR." }, "response": [ { "name": "Customers", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{API}}/api/v3/sales/customers?limit=10&skip=0", "host": [ "{{API}}" ], "path": [ "api", "v3", "sales", "customers" ], "query": [ { "key": "limit", "value": "10", "description": "Numero limite de registros a cargar" }, { "key": "skip", "value": "0", "description": "Numero de filas a saltar" }, { "key": "search", "value": "PUBLICO EN GENERAL", "description": "Campo de búsqueda por razón social", "disabled": true }, { "key": "tax_id", "value": "XAXX010101000", "description": "Campo de búsqueda por r.f.c.", "disabled": true } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Wed, 31 Aug 2022 17:40:41 GMT" }, { "key": "Server", "value": "Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.4.1" }, { "key": "Vary", "value": "Authorization" }, { "key": "X-Powered-By", "value": "PHP/7.4.1" }, { "key": "Expires", "value": "Thu, 19 Nov 1981 08:52:00 GMT" }, { "key": "Cache-Control", "value": "private" }, { "key": "Pragma", "value": "no-cache" }, { "key": "Keep-Alive", "value": "timeout=5, max=100" }, { "key": "Connection", "value": "Keep-Alive" }, { "key": "Transfer-Encoding", "value": "chunked" }, { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"version\": \"3.22.35\",\n \"total\": 146,\n \"limit\": 10,\n \"skip\": \"0\",\n \"data\": [\n {\n \"customer_id\": \"1\",\n \"CustName\": \"PUBLICO EN GENERAL\",\n \"cust_ref\": \"PUBLICO EN GENERAL MXN - XAXX010101000\",\n \"address\": \" #, , 64000, , , \",\n \"street\": \"\",\n \"street_number\": \"\",\n \"suite_number\": \"\",\n \"district\": \"\",\n \"city\": \"\",\n \"state\": \"\",\n \"country\": \"\",\n \"tax_id\": \"XAXX010101000\",\n \"dimension_id\": \"0\",\n \"dimension2_id\": \"0\",\n \"dimension3_id\": \"0\",\n \"dimension4_id\": \"0\",\n \"dimension5_id\": \"0\",\n \"dimension6_id\": \"0\",\n \"sales_type\": \"1\",\n \"curr_code\": \"MXN\",\n \"credit_status\": \"1\",\n \"payment_terms\": \"3\",\n \"discount\": \"10.0000\",\n \"pymt_discount\": \"0.0000\",\n \"credit_limit\": \"500,000.00\",\n \"notes\": \"\",\n \"inactive\": \"0\",\n \"postal_code\": \"64000\",\n \"regimen\": \"616\",\n \"cfdi_method_payment\": \"PUE\",\n \"cfdi_form_payment\": \"01\",\n \"cust_pymt_method\": \"1\",\n \"cust_cheque\": \"\",\n \"cust_cuenta_cheque\": \"\",\n \"cust_banco_cheque\": \"\",\n \"cust_cuenta_transf\": \"\",\n \"cust_banco_transf\": \"\",\n \"segmento\": {\n \"id\": \"1\",\n \"clave\": \"OTRO\",\n \"description\": \"Default\"\n },\n \"contacts\": [],\n \"branches\": [\n {\n \"branch_code\": \"1\",\n \"branch_ref\": \"PUBLICO EN GENERAL\",\n \"br_name\": \"PUBLICO EN GENERAL\",\n \"contact_name\": \"PRUEBA FACTURACION GENERAL MXN - XAXX010101000\",\n \"salesman_name\": \"Vendedor 1\",\n \"description\": \"Global\",\n \"phone\": \"\",\n \"fax\": \"\",\n \"email\": \"pruebageneral@email.com\",\n \"inactive\": \"0\"\n }\n ]\n },\n {\n \"customer_id\": \"2\",\n \"CustName\": \"Prueba Publico Update\",\n \"cust_ref\": \"Rodrigo Rojas Huerta\",\n \"address\": \" 64000 \",\n \"street\": \"\",\n \"street_number\": \"\",\n \"suite_number\": \"\",\n \"district\": \"\",\n \"city\": \"\",\n \"state\": \"\",\n \"country\": \"\",\n \"tax_id\": \"XAXX010101000\",\n \"dimension_id\": \"0\",\n \"dimension2_id\": \"0\",\n \"dimension3_id\": \"0\",\n \"dimension4_id\": \"0\",\n \"dimension5_id\": \"0\",\n \"dimension6_id\": \"0\",\n \"sales_type\": \"2\",\n \"curr_code\": \"MXN\",\n \"credit_status\": \"1\",\n \"payment_terms\": \"3\",\n \"discount\": \"3.6543\",\n \"pymt_discount\": \"0.0000\",\n \"credit_limit\": \"1,000.00\",\n \"notes\": \"\",\n \"inactive\": \"0\",\n \"postal_code\": \"64000\",\n \"regimen\": \"616\",\n \"cfdi_method_payment\": \"PPD\",\n \"cfdi_form_payment\": \"01\",\n \"cust_pymt_method\": \"1\",\n \"cust_cheque\": \"\",\n \"cust_cuenta_cheque\": \"\",\n \"cust_banco_cheque\": \"\",\n \"cust_cuenta_transf\": \"\",\n \"cust_banco_transf\": \"\",\n \"segmento\": {\n \"id\": \"5\",\n \"clave\": \"OTRO\",\n \"description\": \"Público en General\"\n },\n \"contacts\": [\n {\n \"id\": \"2\",\n \"action\": \"general\",\n \"ref\": \"Rodrigo Rojas\",\n \"name\": \"Rodrigo Rojas\",\n \"name2\": \"\",\n \"address\": \"\",\n \"phone\": \"\",\n \"phone2\": \"\",\n \"fax\": \"\",\n \"email\": \"\",\n \"lang\": \"\",\n \"notes\": \"\"\n }\n ],\n \"branches\": [\n {\n \"branch_code\": \"112\",\n \"branch_ref\": \"NUEVO\",\n \"br_name\": \"DOMICILIO NUEVO\",\n \"contact_name\": \"CP2\",\n \"salesman_name\": \"Vendedor\",\n \"description\": \"Global\",\n \"phone\": \"123456789\",\n \"fax\": \"ALTA INICIAL\",\n \"email\": \"CP2@GMAIL.COM\",\n \"inactive\": \"0\"\n },\n {\n \"branch_code\": \"2\",\n \"branch_ref\": \"Rodrigo Rojas\",\n \"br_name\": \"Rodrigo Rojas\",\n \"contact_name\": \"Rodrigo Rojas\",\n \"salesman_name\": \"Vendedor 1\",\n \"description\": \"Global\",\n \"phone\": \"\",\n \"fax\": \"\",\n \"email\": \"\",\n \"inactive\": \"0\"\n },\n {\n \"branch_code\": \"22\",\n \"branch_ref\": \"Rodrigo Rojas 2\",\n \"br_name\": \"Rodrigo Rojas 2\",\n \"contact_name\": \"\",\n \"salesman_name\": \"Vendedor 1\",\n \"description\": \"Global\",\n \"phone\": \"\",\n \"fax\": \"\",\n \"email\": \"\",\n \"inactive\": \"0\"\n }\n ]\n },\n {\n \"customer_id\": \"3\",\n \"CustName\": \"Prueba Publico Update\",\n \"cust_ref\": \"Antonio\",\n \"address\": \"\",\n \"street\": \"\",\n \"street_number\": \"\",\n \"suite_number\": \"\",\n \"district\": \"\",\n \"city\": \"\",\n \"state\": \"\",\n \"country\": \"\",\n \"tax_id\": \"XAXX010101000\",\n \"dimension_id\": \"0\",\n \"dimension2_id\": \"0\",\n \"dimension3_id\": \"0\",\n \"dimension4_id\": \"0\",\n \"dimension5_id\": \"0\",\n \"dimension6_id\": \"0\",\n \"sales_type\": \"1\",\n \"curr_code\": \"MXN\",\n \"credit_status\": \"1\",\n \"payment_terms\": \"3\",\n \"discount\": \"0.0000\",\n \"pymt_discount\": \"0.0000\",\n \"credit_limit\": \"0.00\",\n \"notes\": \"\",\n \"inactive\": \"0\",\n \"postal_code\": \"64000\",\n \"regimen\": \"616\",\n \"cfdi_method_payment\": \"\",\n \"cfdi_form_payment\": \"\",\n \"cust_pymt_method\": \"1\",\n \"cust_cheque\": \"\",\n \"cust_cuenta_cheque\": \"\",\n \"cust_banco_cheque\": \"0\",\n \"cust_cuenta_transf\": \"\",\n \"cust_banco_transf\": \"0\",\n \"segmento\": {\n \"id\": \"1\",\n \"clave\": \"OTRO\",\n \"description\": \"Default\"\n },\n \"contacts\": [\n {\n \"id\": \"3\",\n \"action\": \"general\",\n \"ref\": \"Antonio\",\n \"name\": \"Antonio\",\n \"name2\": \"\",\n \"address\": \"\",\n \"phone\": \"\",\n \"phone2\": \"\",\n \"fax\": \"\",\n \"email\": \"\",\n \"lang\": \"\",\n \"notes\": \"\"\n }\n ],\n \"branches\": [\n {\n \"branch_code\": \"3\",\n \"branch_ref\": \"Antonio\",\n \"br_name\": \"Antonio\",\n \"contact_name\": \"Antonio\",\n \"salesman_name\": \"Vendedor 1\",\n \"description\": \"Global\",\n \"phone\": \"\",\n \"fax\": \"\",\n \"email\": \"\",\n \"inactive\": \"0\"\n }\n ]\n },\n {\n \"customer_id\": \"4\",\n \"CustName\": \"Prueba Publico Update\",\n \"cust_ref\": \"Rambo\",\n \"address\": \"\",\n \"street\": \"\",\n \"street_number\": \"\",\n \"suite_number\": \"\",\n \"district\": \"\",\n \"city\": \"\",\n \"state\": \"\",\n \"country\": \"\",\n \"tax_id\": \"XAXX010101000\",\n \"dimension_id\": \"0\",\n \"dimension2_id\": \"0\",\n \"dimension3_id\": \"0\",\n \"dimension4_id\": \"0\",\n \"dimension5_id\": \"0\",\n \"dimension6_id\": \"0\",\n \"sales_type\": \"1\",\n \"curr_code\": \"MXN\",\n \"credit_status\": \"1\",\n \"payment_terms\": \"3\",\n \"discount\": \"0.0000\",\n \"pymt_discount\": \"0.0000\",\n \"credit_limit\": \"0.00\",\n \"notes\": \"\",\n \"inactive\": \"0\",\n \"postal_code\": \"64000\",\n \"regimen\": \"616\",\n \"cfdi_method_payment\": \"\",\n \"cfdi_form_payment\": \"\",\n \"cust_pymt_method\": \"1\",\n \"cust_cheque\": \"\",\n \"cust_cuenta_cheque\": \"\",\n \"cust_banco_cheque\": \"0\",\n \"cust_cuenta_transf\": \"\",\n \"cust_banco_transf\": \"0\",\n \"segmento\": {\n \"id\": \"1\",\n \"clave\": \"OTRO\",\n \"description\": \"Default\"\n },\n \"contacts\": [\n {\n \"id\": \"4\",\n \"action\": \"general\",\n \"ref\": \"Rambo\",\n \"name\": \"Rambo\",\n \"name2\": \"\",\n \"address\": \"\",\n \"phone\": \"\",\n \"phone2\": \"\",\n \"fax\": \"\",\n \"email\": \"\",\n \"lang\": \"\",\n \"notes\": \"\"\n }\n ],\n \"branches\": [\n {\n \"branch_code\": \"4\",\n \"branch_ref\": \"Rambo\",\n \"br_name\": \"Rambo\",\n \"contact_name\": \"Rambo\",\n \"salesman_name\": \"Vendedor 1\",\n \"description\": \"Global\",\n \"phone\": \"\",\n \"fax\": \"\",\n \"email\": \"\",\n \"inactive\": \"0\"\n }\n ]\n },\n {\n \"customer_id\": \"7\",\n \"CustName\": \"Prueba Publico Update\",\n \"cust_ref\": \"Antonio 2\",\n \"address\": \"\",\n \"street\": \"\",\n \"street_number\": \"\",\n \"suite_number\": \"\",\n \"district\": \"\",\n \"city\": \"\",\n \"state\": \"\",\n \"country\": \"\",\n \"tax_id\": \"XAXX010101000\",\n \"dimension_id\": \"0\",\n \"dimension2_id\": \"0\",\n \"dimension3_id\": \"0\",\n \"dimension4_id\": \"0\",\n \"dimension5_id\": \"0\",\n \"dimension6_id\": \"0\",\n \"sales_type\": \"1\",\n \"curr_code\": \"MXN\",\n \"credit_status\": \"1\",\n \"payment_terms\": \"3\",\n \"discount\": \"0.0000\",\n \"pymt_discount\": \"0.0000\",\n \"credit_limit\": \"0.00\",\n \"notes\": \"\",\n \"inactive\": \"0\",\n \"postal_code\": \"64000\",\n \"regimen\": \"616\",\n \"cfdi_method_payment\": \"\",\n \"cfdi_form_payment\": \"\",\n \"cust_pymt_method\": \"1\",\n \"cust_cheque\": \"\",\n \"cust_cuenta_cheque\": \"\",\n \"cust_banco_cheque\": \"0\",\n \"cust_cuenta_transf\": \"\",\n \"cust_banco_transf\": \"0\",\n \"segmento\": {\n \"id\": \"1\",\n \"clave\": \"OTRO\",\n \"description\": \"Default\"\n },\n \"contacts\": [\n {\n \"id\": \"5\",\n \"action\": \"general\",\n \"ref\": \"Antonio\",\n \"name\": \"Antonio 2\",\n \"name2\": \"\",\n \"address\": \"\",\n \"phone\": \"\",\n \"phone2\": \"\",\n \"fax\": \"\",\n \"email\": \"\",\n \"lang\": \"\",\n \"notes\": \"\"\n }\n ],\n \"branches\": [\n {\n \"branch_code\": \"5\",\n \"branch_ref\": \"Antonio 2\",\n \"br_name\": \"Antonio\",\n \"contact_name\": \"Antonio 2\",\n \"salesman_name\": \"Vendedor 1\",\n \"description\": \"Global\",\n \"phone\": \"\",\n \"fax\": \"\",\n \"email\": \"\",\n \"inactive\": \"0\"\n }\n ]\n },\n {\n \"customer_id\": \"8\",\n \"CustName\": \"Antonio\",\n \"cust_ref\": \"Antonio 3\",\n \"address\": \"\",\n \"street\": \"\",\n \"street_number\": \"\",\n \"suite_number\": \"\",\n \"district\": \"\",\n \"city\": \"\",\n \"state\": \"\",\n \"country\": \"\",\n \"tax_id\": \"XAXAXX010101000\",\n \"dimension_id\": \"0\",\n \"dimension2_id\": \"0\",\n \"dimension3_id\": \"0\",\n \"dimension4_id\": \"0\",\n \"dimension5_id\": \"0\",\n \"dimension6_id\": \"0\",\n \"sales_type\": \"1\",\n \"curr_code\": \"MXN\",\n \"credit_status\": \"1\",\n \"payment_terms\": \"3\",\n \"discount\": \"0.0000\",\n \"pymt_discount\": \"0.0000\",\n \"credit_limit\": \"0.00\",\n \"notes\": \"\",\n \"inactive\": \"0\",\n \"postal_code\": \"00000\",\n \"regimen\": \"601\",\n \"cfdi_method_payment\": \"\",\n \"cfdi_form_payment\": \"\",\n \"cust_pymt_method\": \"1\",\n \"cust_cheque\": \"\",\n \"cust_cuenta_cheque\": \"\",\n \"cust_banco_cheque\": \"0\",\n \"cust_cuenta_transf\": \"\",\n \"cust_banco_transf\": \"0\",\n \"segmento\": {\n \"id\": \"1\",\n \"clave\": \"OTRO\",\n \"description\": \"Default\"\n },\n \"contacts\": [\n {\n \"id\": \"6\",\n \"action\": \"general\",\n \"ref\": \"Antonio\",\n \"name\": \"Antonio 3\",\n \"name2\": \"\",\n \"address\": \"\",\n \"phone\": \"\",\n \"phone2\": \"\",\n \"fax\": \"\",\n \"email\": \"\",\n \"lang\": \"\",\n \"notes\": \"\"\n }\n ],\n \"branches\": [\n {\n \"branch_code\": \"6\",\n \"branch_ref\": \"Antonio 3\",\n \"br_name\": \"Antonio\",\n \"contact_name\": \"Antonio 3\",\n \"salesman_name\": \"Vendedor 1\",\n \"description\": \"Global\",\n \"phone\": \"\",\n \"fax\": \"\",\n \"email\": \"\",\n \"inactive\": \"0\"\n }\n ]\n },\n {\n \"customer_id\": \"9\",\n \"CustName\": \"Prueba Publico Update\",\n \"cust_ref\": \"rodrigo\",\n \"address\": \"\",\n \"street\": \"\",\n \"street_number\": \"\",\n \"suite_number\": \"\",\n \"district\": \"\",\n \"city\": \"\",\n \"state\": \"\",\n \"country\": \"\",\n \"tax_id\": \"XAXX010101000\",\n \"dimension_id\": \"0\",\n \"dimension2_id\": \"0\",\n \"dimension3_id\": \"0\",\n \"dimension4_id\": \"0\",\n \"dimension5_id\": \"0\",\n \"dimension6_id\": \"0\",\n \"sales_type\": \"1\",\n \"curr_code\": \"MXN\",\n \"credit_status\": \"1\",\n \"payment_terms\": \"3\",\n \"discount\": \"0.0000\",\n \"pymt_discount\": \"0.0000\",\n \"credit_limit\": \"0.00\",\n \"notes\": \"\",\n \"inactive\": \"0\",\n \"postal_code\": \"64000\",\n \"regimen\": \"616\",\n \"cfdi_method_payment\": \"\",\n \"cfdi_form_payment\": \"\",\n \"cust_pymt_method\": \"1\",\n \"cust_cheque\": \"\",\n \"cust_cuenta_cheque\": \"\",\n \"cust_banco_cheque\": \"0\",\n \"cust_cuenta_transf\": \"\",\n \"cust_banco_transf\": \"0\",\n \"segmento\": {\n \"id\": \"1\",\n \"clave\": \"OTRO\",\n \"description\": \"Default\"\n },\n \"contacts\": [\n {\n \"id\": \"7\",\n \"action\": \"general\",\n \"ref\": \"rodrigo\",\n \"name\": \"rodrigo\",\n \"name2\": \"\",\n \"address\": \"\",\n \"phone\": \"\",\n \"phone2\": \"\",\n \"fax\": \"\",\n \"email\": \"\",\n \"lang\": \"\",\n \"notes\": \"\"\n }\n ],\n \"branches\": [\n {\n \"branch_code\": \"7\",\n \"branch_ref\": \"rodrigo\",\n \"br_name\": \"rodrigo\",\n \"contact_name\": \"rodrigo\",\n \"salesman_name\": \"Vendedor 1\",\n \"description\": \"Global\",\n \"phone\": \"\",\n \"fax\": \"\",\n \"email\": \"\",\n \"inactive\": \"0\"\n }\n ]\n },\n {\n \"customer_id\": \"10\",\n \"CustName\": \"Prueba Publico Update\",\n \"cust_ref\": \"rodrigo nuevo\",\n \"address\": \" 64000 \",\n \"street\": \"\",\n \"street_number\": \"\",\n \"suite_number\": \"\",\n \"district\": \"\",\n \"city\": \"\",\n \"state\": \"\",\n \"country\": \"\",\n \"tax_id\": \"XAXX010101000\",\n \"dimension_id\": \"0\",\n \"dimension2_id\": \"0\",\n \"dimension3_id\": \"0\",\n \"dimension4_id\": \"0\",\n \"dimension5_id\": \"0\",\n \"dimension6_id\": \"0\",\n \"sales_type\": \"1\",\n \"curr_code\": \"USD\",\n \"credit_status\": \"1\",\n \"payment_terms\": \"3\",\n \"discount\": \"0.0000\",\n \"pymt_discount\": \"0.0000\",\n \"credit_limit\": \"0.00\",\n \"notes\": \"\",\n \"inactive\": \"0\",\n \"postal_code\": \"64000\",\n \"regimen\": \"616\",\n \"cfdi_method_payment\": \"PPD\",\n \"cfdi_form_payment\": \"01\",\n \"cust_pymt_method\": \"1\",\n \"cust_cheque\": \"\",\n \"cust_cuenta_cheque\": \"\",\n \"cust_banco_cheque\": \"\",\n \"cust_cuenta_transf\": \"\",\n \"cust_banco_transf\": \"\",\n \"segmento\": {\n \"id\": \"11\",\n \"clave\": \"1\",\n \"description\": \"1\"\n },\n \"contacts\": [\n {\n \"id\": \"8\",\n \"action\": \"general\",\n \"ref\": \"rodrigo\",\n \"name\": \"rodrigo nuevo\",\n \"name2\": \"\",\n \"address\": \"\",\n \"phone\": \"\",\n \"phone2\": \"\",\n \"fax\": \"\",\n \"email\": \"\",\n \"lang\": \"\",\n \"notes\": \"\"\n }\n ],\n \"branches\": [\n {\n \"branch_code\": \"8\",\n \"branch_ref\": \"rodrigo nuevo\",\n \"br_name\": \"rodrigo\",\n \"contact_name\": \"rodrigo nuevo\",\n \"salesman_name\": \"Vendedor 1\",\n \"description\": \"Global\",\n \"phone\": \"\",\n \"fax\": \"\",\n \"email\": \"\",\n \"inactive\": \"0\"\n }\n ]\n },\n {\n \"customer_id\": \"11\",\n \"CustName\": \"Prueba Publico Update\",\n \"cust_ref\": \"Rosa\",\n \"address\": \"\",\n \"street\": \"\",\n \"street_number\": \"\",\n \"suite_number\": \"\",\n \"district\": \"\",\n \"city\": \"\",\n \"state\": \"\",\n \"country\": \"\",\n \"tax_id\": \"XAXX010101000\",\n \"dimension_id\": \"0\",\n \"dimension2_id\": \"0\",\n \"dimension3_id\": \"0\",\n \"dimension4_id\": \"0\",\n \"dimension5_id\": \"0\",\n \"dimension6_id\": \"0\",\n \"sales_type\": \"1\",\n \"curr_code\": \"MXN\",\n \"credit_status\": \"1\",\n \"payment_terms\": \"3\",\n \"discount\": \"0.0000\",\n \"pymt_discount\": \"0.0000\",\n \"credit_limit\": \"0.00\",\n \"notes\": \"\",\n \"inactive\": \"0\",\n \"postal_code\": \"64000\",\n \"regimen\": \"616\",\n \"cfdi_method_payment\": \"\",\n \"cfdi_form_payment\": \"\",\n \"cust_pymt_method\": \"1\",\n \"cust_cheque\": \"\",\n \"cust_cuenta_cheque\": \"\",\n \"cust_banco_cheque\": \"0\",\n \"cust_cuenta_transf\": \"\",\n \"cust_banco_transf\": \"0\",\n \"segmento\": {\n \"id\": \"1\",\n \"clave\": \"OTRO\",\n \"description\": \"Default\"\n },\n \"contacts\": [\n {\n \"id\": \"9\",\n \"action\": \"general\",\n \"ref\": \"Rosa\",\n \"name\": \"Rosa\",\n \"name2\": \"\",\n \"address\": \"\",\n \"phone\": \"\",\n \"phone2\": \"\",\n \"fax\": \"\",\n \"email\": \"\",\n \"lang\": \"\",\n \"notes\": \"\"\n }\n ],\n \"branches\": [\n {\n \"branch_code\": \"9\",\n \"branch_ref\": \"Rosa\",\n \"br_name\": \"Rosa\",\n \"contact_name\": \"Rosa\",\n \"salesman_name\": \"Vendedor 1\",\n \"description\": \"Global\",\n \"phone\": \"\",\n \"fax\": \"\",\n \"email\": \"\",\n \"inactive\": \"0\"\n }\n ]\n },\n {\n \"customer_id\": \"12\",\n \"CustName\": \"Prueba Publico Update\",\n \"cust_ref\": \"NUEVO 181021\",\n \"address\": \"\",\n \"street\": \"\",\n \"street_number\": \"\",\n \"suite_number\": \"\",\n \"district\": \"\",\n \"city\": \"\",\n \"state\": \"\",\n \"country\": \"\",\n \"tax_id\": \"XAXX010101000\",\n \"dimension_id\": \"0\",\n \"dimension2_id\": \"0\",\n \"dimension3_id\": \"0\",\n \"dimension4_id\": \"0\",\n \"dimension5_id\": \"0\",\n \"dimension6_id\": \"0\",\n \"sales_type\": \"1\",\n \"curr_code\": \"MXN\",\n \"credit_status\": \"1\",\n \"payment_terms\": \"3\",\n \"discount\": \"0.0000\",\n \"pymt_discount\": \"0.0000\",\n \"credit_limit\": \"0.00\",\n \"notes\": \"\",\n \"inactive\": \"0\",\n \"postal_code\": \"64000\",\n \"regimen\": \"616\",\n \"cfdi_method_payment\": \"\",\n \"cfdi_form_payment\": \"\",\n \"cust_pymt_method\": \"1\",\n \"cust_cheque\": \"\",\n \"cust_cuenta_cheque\": \"\",\n \"cust_banco_cheque\": \"0\",\n \"cust_cuenta_transf\": \"\",\n \"cust_banco_transf\": \"0\",\n \"segmento\": {\n \"id\": \"1\",\n \"clave\": \"OTRO\",\n \"description\": \"Default\"\n },\n \"contacts\": [\n {\n \"id\": \"10\",\n \"action\": \"general\",\n \"ref\": \"Nuevo 181021\",\n \"name\": \"NUEVO 181021\",\n \"name2\": \"\",\n \"address\": \"\",\n \"phone\": \"\",\n \"phone2\": \"\",\n \"fax\": \"\",\n \"email\": \"\",\n \"lang\": \"\",\n \"notes\": \"\"\n }\n ],\n \"branches\": [\n {\n \"branch_code\": \"10\",\n \"branch_ref\": \"NUEVO 181021\",\n \"br_name\": \"Nuevo 181021\",\n \"contact_name\": \"NUEVO 181021\",\n \"salesman_name\": \"Vendedor 1\",\n \"description\": \"Global\",\n \"phone\": \"\",\n \"fax\": \"\",\n \"email\": \"\",\n \"inactive\": \"0\"\n }\n ]\n }\n ]\n}" } ] }, { "name": "Customer", "request": { "method": "GET", "header": [], "url": { "raw": "{{API}}/api/v3/sales/customers/{{customers_customer_id}}", "host": [ "{{API}}" ], "path": [ "api", "v3", "sales", "customers", "{{customers_customer_id}}" ] }, "description": "**INFORMACIÓN DEL ENDPOINT**\n\nESTE METODO GET SIRVE PARA CONSEGUIR LA INFORMACION DETALLADA DE UN CLIENTE EN ESPECIFICO.\n\n***PARAMS:**\n\n**1.-ATRIBUTOS O CAMPOS DEL PARAMS:**\n\n**1.1.-\"{{customers_customer_id}}\"=** ES UN PARAMETRO OBLIGATORIO Y ES DE TIPO NUMERICO. SE VA ENVIAR EL ID O EL IDENTIFICADOR DEL CLIENTE QUE DESEA BUSCAR." }, "response": [ { "name": "Customer", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{API}}/api/v3/sales/customers/1", "host": [ "{{API}}" ], "path": [ "api", "v3", "sales", "customers", "1" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Wed, 31 Aug 2022 17:46:40 GMT" }, { "key": "Server", "value": "Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.4.1" }, { "key": "Vary", "value": "Authorization" }, { "key": "X-Powered-By", "value": "PHP/7.4.1" }, { "key": "Expires", "value": "Thu, 19 Nov 1981 08:52:00 GMT" }, { "key": "Cache-Control", "value": "private" }, { "key": "Pragma", "value": "no-cache" }, { "key": "Content-Length", "value": "1195" }, { "key": "Keep-Alive", "value": "timeout=5, max=100" }, { "key": "Connection", "value": "Keep-Alive" }, { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"version\": \"3.22.35\",\n \"total\": 1,\n \"limit\": \"20\",\n \"skip\": 0,\n \"data\": [\n {\n \"customer_id\": \"1\",\n \"CustName\": \"PUBLICO EN GENERAL\",\n \"cust_ref\": \"PUBLICO EN GENERAL MXN - XAXX010101000\",\n \"address\": \" #, , 64000, , , \",\n \"street\": \"\",\n \"street_number\": \"\",\n \"suite_number\": \"\",\n \"district\": \"\",\n \"city\": \"\",\n \"state\": \"\",\n \"country\": \"\",\n \"tax_id\": \"XAXX010101000\",\n \"dimension_id\": \"0\",\n \"dimension2_id\": \"0\",\n \"dimension3_id\": \"0\",\n \"dimension4_id\": \"0\",\n \"dimension5_id\": \"0\",\n \"dimension6_id\": \"0\",\n \"sales_type\": \"1\",\n \"curr_code\": \"MXN\",\n \"credit_status\": \"1\",\n \"payment_terms\": \"3\",\n \"discount\": \"10.0000\",\n \"pymt_discount\": \"0.0000\",\n \"credit_limit\": \"500,000.00\",\n \"notes\": \"\",\n \"inactive\": \"0\",\n \"postal_code\": \"64000\",\n \"regimen\": \"616\",\n \"cfdi_method_payment\": \"PUE\",\n \"cfdi_form_payment\": \"01\",\n \"cust_pymt_method\": \"1\",\n \"cust_cheque\": \"\",\n \"cust_cuenta_cheque\": \"\",\n \"cust_banco_cheque\": \"\",\n \"cust_cuenta_transf\": \"\",\n \"cust_banco_transf\": \"\",\n \"segmento\": {\n \"id\": \"1\",\n \"clave\": \"OTRO\",\n \"description\": \"Default\"\n },\n \"contacts\": [],\n \"branches\": [\n {\n \"branch_code\": \"1\",\n \"branch_ref\": \"PUBLICO EN GENERAL\",\n \"br_name\": \"PUBLICO EN GENERAL\",\n \"contact_name\": \"PRUEBA FACTURACION GENERAL MXN - XAXX010101000\",\n \"salesman_name\": \"Vendedor 1\",\n \"description\": \"Global\",\n \"phone\": \"\",\n \"fax\": \"\",\n \"email\": \"pruebageneral@email.com\",\n \"inactive\": \"0\"\n }\n ]\n }\n ]\n}" } ] }, { "name": "Branches", "request": { "method": "GET", "header": [], "url": { "raw": "{{API}}/api/v3/sales/branches?limit=25&skip=0&show_inactive=true", "host": [ "{{API}}" ], "path": [ "api", "v3", "sales", "branches" ], "query": [ { "key": "limit", "value": "25", "description": "Numero limite de registros a cargar " }, { "key": "skip", "value": "0", "description": "Numero de filas a saltar" }, { "key": "show_inactive", "value": "true", "description": "Mostrar registros inactivos" }, { "key": "search", "value": "Prueba", "description": "Campo de búsqueda por nombre de domicilio", "disabled": true } ] }, "description": "**INFORMACIÓN DEL ENDPOINT**\n\nESTE METODO GET SIRVE PARA CONSEGUIR UN LISTADO DETALLADO DE LOS DOMICILIOS DE LOS CLIENTES ALMACENADOS EN SISTEMA.\n\n***PARAMS:**\n\n**1.-ATRIBUTOS O CAMPOS DEL PARAMS:**\n\n**1.1.-\"limit\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO. SE VA ENVIAR EL NUMERO LIMITE DE REGISTROS A CARGAR.\n\n**1.2.-\"skip\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO. SE VA ENVIAR EL NUMERO DE FILAS A SALTAR.\n\n**1.3.-\"show_inactive\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING. SE VA ENVIAR \"true\" o \"1\" PARA MOSTRAR DOMICILIOS INACTIVOS O \"false\" o \"0\" PARA NO MOSTRAR DOMICILIOS INACTIVOS.\n\n**1.4.-\"search\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING. SE VA ENVIAR EL NOMBRE DEL DOMICILIO DEL CLIENTE QUE DESEA BUSCAR." }, "response": [ { "name": "Branches", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{API}}/api/v3/sales/branches?limit=25&skip=0&show_inactive=true", "host": [ "{{API}}" ], "path": [ "api", "v3", "sales", "branches" ], "query": [ { "key": "limit", "value": "25", "description": "Numero limite de registros a cargar " }, { "key": "skip", "value": "0", "description": "Numero de filas a saltar" }, { "key": "show_inactive", "value": "true", "description": "Mostrar registros inactivos" }, { "key": "search", "value": "Prueba", "description": "Campo de búsqueda por nombre de domicilio", "disabled": true } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Wed, 31 Aug 2022 19:06:10 GMT" }, { "key": "Server", "value": "Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.4.1" }, { "key": "Vary", "value": "Authorization" }, { "key": "X-Powered-By", "value": "PHP/7.4.1" }, { "key": "Expires", "value": "Thu, 19 Nov 1981 08:52:00 GMT" }, { "key": "Cache-Control", "value": "private" }, { "key": "Pragma", "value": "no-cache" }, { "key": "Keep-Alive", "value": "timeout=5, max=100" }, { "key": "Connection", "value": "Keep-Alive" }, { "key": "Transfer-Encoding", "value": "chunked" }, { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"version\": \"3.22.35\",\n \"total\": 148,\n \"limit\": 25,\n \"skip\": \"0\",\n \"data\": [\n {\n \"branch_code\": \"1\",\n \"debtor_no\": \"1\",\n \"br_name\": \"PUBLICO EN GENERAL\",\n \"branch_ref\": \"PUBLICO EN GENERAL\",\n \"br_address\": \" \",\n \"addr_street\": \"\",\n \"addr_exterior\": \"\",\n \"addr_interior\": \"\",\n \"addr_colony\": \"\",\n \"addr_city\": \"\",\n \"addr_state\": \"\",\n \"addr_zip\": \"\",\n \"addr_reference\": \" \",\n \"area\": \"1\",\n \"salesman\": \"1\",\n \"contact_name\": \"\",\n \"default_location\": \"DEF\",\n \"tax_group_id\": \"2\",\n \"sales_account\": \"\",\n \"sales_discount_account\": \"402.01.001\",\n \"receivables_account\": \"105.01.001\",\n \"payment_discount_account\": \"402.01.001\",\n \"default_ship_via\": \"1\",\n \"disable_trans\": \"0\",\n \"br_post_address\": \" \",\n \"group_no\": \"0\",\n \"notes\": \"\",\n \"inactive\": \"0\",\n \"dist_km\": \"0\",\n \"estatus\": \"\",\n \"salesman_name\": \"\",\n \"area_name\": \"\",\n \"group_name\": \"\",\n \"location_name\": \"\",\n \"shipper_name\": \"\",\n \"tax_name\": \"\"\n },\n {\n \"branch_code\": \"2\",\n \"debtor_no\": \"2\",\n \"br_name\": \"Rodrigo Rojas\",\n \"branch_ref\": \"Rodrigo Rojas\",\n \"br_address\": \" CP 87100\",\n \"addr_street\": \"\",\n \"addr_exterior\": \"\",\n \"addr_interior\": \"\",\n \"addr_colony\": \"\",\n \"addr_city\": \"\",\n \"addr_state\": \"\",\n \"addr_zip\": \"87100\",\n \"addr_reference\": \"\",\n \"area\": \"1\",\n \"salesman\": \"1\",\n \"contact_name\": \"\",\n \"default_location\": \"AN1\",\n \"tax_group_id\": \"2\",\n \"sales_account\": \"\",\n \"sales_discount_account\": \"402.01.001\",\n \"receivables_account\": \"105.01.001\",\n \"payment_discount_account\": \"402.01.001\",\n \"default_ship_via\": \"1\",\n \"disable_trans\": \"0\",\n \"br_post_address\": \" CP 87100\",\n \"group_no\": \"1\",\n \"notes\": \"\",\n \"inactive\": \"0\",\n \"dist_km\": \"0\",\n \"estatus\": \"\",\n \"salesman_name\": \"\",\n \"area_name\": \"\",\n \"group_name\": \"\",\n \"location_name\": \"\",\n \"shipper_name\": \"\",\n \"tax_name\": \"\"\n },\n {\n \"branch_code\": \"3\",\n \"debtor_no\": \"3\",\n \"br_name\": \"Antonio\",\n \"branch_ref\": \"Antonio\",\n \"br_address\": \"\",\n \"addr_street\": \"\",\n \"addr_exterior\": \"\",\n \"addr_interior\": \"\",\n \"addr_colony\": \"\",\n \"addr_city\": \"\",\n \"addr_state\": \"\",\n \"addr_zip\": \"\",\n \"addr_reference\": \"\",\n \"area\": \"1\",\n \"salesman\": \"1\",\n \"contact_name\": \"\",\n \"default_location\": \"DEF\",\n \"tax_group_id\": \"2\",\n \"sales_account\": \"\",\n \"sales_discount_account\": \"402.01.001\",\n \"receivables_account\": \"105.01.001\",\n \"payment_discount_account\": \"402.01.001\",\n \"default_ship_via\": \"1\",\n \"disable_trans\": \"0\",\n \"br_post_address\": \"\",\n \"group_no\": \"0\",\n \"notes\": \"\",\n \"inactive\": \"0\",\n \"dist_km\": \"0\",\n \"estatus\": \"\",\n \"salesman_name\": \"\",\n \"area_name\": \"\",\n \"group_name\": \"\",\n \"location_name\": \"\",\n \"shipper_name\": \"\",\n \"tax_name\": \"\"\n },\n {\n \"branch_code\": \"4\",\n \"debtor_no\": \"4\",\n \"br_name\": \"Rambo\",\n \"branch_ref\": \"Rambo\",\n \"br_address\": \"\",\n \"addr_street\": \"\",\n \"addr_exterior\": \"\",\n \"addr_interior\": \"\",\n \"addr_colony\": \"\",\n \"addr_city\": \"\",\n \"addr_state\": \"\",\n \"addr_zip\": \"\",\n \"addr_reference\": \"\",\n \"area\": \"1\",\n \"salesman\": \"1\",\n \"contact_name\": \"\",\n \"default_location\": \"DEF\",\n \"tax_group_id\": \"2\",\n \"sales_account\": \"\",\n \"sales_discount_account\": \"402.01.001\",\n \"receivables_account\": \"105.01.001\",\n \"payment_discount_account\": \"402.01.001\",\n \"default_ship_via\": \"1\",\n \"disable_trans\": \"0\",\n \"br_post_address\": \"\",\n \"group_no\": \"0\",\n \"notes\": \"\",\n \"inactive\": \"0\",\n \"dist_km\": \"0\",\n \"estatus\": \"\",\n \"salesman_name\": \"\",\n \"area_name\": \"\",\n \"group_name\": \"\",\n \"location_name\": \"\",\n \"shipper_name\": \"\",\n \"tax_name\": \"\"\n },\n {\n \"branch_code\": \"5\",\n \"debtor_no\": \"7\",\n \"br_name\": \"Antonio\",\n \"branch_ref\": \"Antonio 2\",\n \"br_address\": \"\",\n \"addr_street\": \"\",\n \"addr_exterior\": \"\",\n \"addr_interior\": \"\",\n \"addr_colony\": \"\",\n \"addr_city\": \"\",\n \"addr_state\": \"\",\n \"addr_zip\": \"\",\n \"addr_reference\": \"\",\n \"area\": \"1\",\n \"salesman\": \"1\",\n \"contact_name\": \"\",\n \"default_location\": \"DEF\",\n \"tax_group_id\": \"2\",\n \"sales_account\": \"\",\n \"sales_discount_account\": \"402.01.001\",\n \"receivables_account\": \"105.01.001\",\n \"payment_discount_account\": \"402.01.001\",\n \"default_ship_via\": \"1\",\n \"disable_trans\": \"0\",\n \"br_post_address\": \"\",\n \"group_no\": \"0\",\n \"notes\": \"\",\n \"inactive\": \"0\",\n \"dist_km\": \"0\",\n \"estatus\": \"\",\n \"salesman_name\": \"\",\n \"area_name\": \"\",\n \"group_name\": \"\",\n \"location_name\": \"\",\n \"shipper_name\": \"\",\n \"tax_name\": \"\"\n },\n {\n \"branch_code\": \"6\",\n \"debtor_no\": \"8\",\n \"br_name\": \"Antonio\",\n \"branch_ref\": \"Antonio 3\",\n \"br_address\": \"\",\n \"addr_street\": \"\",\n \"addr_exterior\": \"\",\n \"addr_interior\": \"\",\n \"addr_colony\": \"\",\n \"addr_city\": \"\",\n \"addr_state\": \"\",\n \"addr_zip\": \"\",\n \"addr_reference\": \"\",\n \"area\": \"1\",\n \"salesman\": \"1\",\n \"contact_name\": \"\",\n \"default_location\": \"DEF\",\n \"tax_group_id\": \"2\",\n \"sales_account\": \"\",\n \"sales_discount_account\": \"402.01.001\",\n \"receivables_account\": \"105.01.001\",\n \"payment_discount_account\": \"402.01.001\",\n \"default_ship_via\": \"1\",\n \"disable_trans\": \"0\",\n \"br_post_address\": \"\",\n \"group_no\": \"0\",\n \"notes\": \"\",\n \"inactive\": \"0\",\n \"dist_km\": \"0\",\n \"estatus\": \"\",\n \"salesman_name\": \"\",\n \"area_name\": \"\",\n \"group_name\": \"\",\n \"location_name\": \"\",\n \"shipper_name\": \"\",\n \"tax_name\": \"\"\n },\n {\n \"branch_code\": \"7\",\n \"debtor_no\": \"9\",\n \"br_name\": \"rodrigo\",\n \"branch_ref\": \"rodrigo\",\n \"br_address\": \"\",\n \"addr_street\": \"\",\n \"addr_exterior\": \"\",\n \"addr_interior\": \"\",\n \"addr_colony\": \"\",\n \"addr_city\": \"\",\n \"addr_state\": \"\",\n \"addr_zip\": \"\",\n \"addr_reference\": \"\",\n \"area\": \"1\",\n \"salesman\": \"1\",\n \"contact_name\": \"\",\n \"default_location\": \"DEF\",\n \"tax_group_id\": \"2\",\n \"sales_account\": \"\",\n \"sales_discount_account\": \"402.01.001\",\n \"receivables_account\": \"105.01.001\",\n \"payment_discount_account\": \"402.01.001\",\n \"default_ship_via\": \"1\",\n \"disable_trans\": \"0\",\n \"br_post_address\": \"\",\n \"group_no\": \"0\",\n \"notes\": \"\",\n \"inactive\": \"0\",\n \"dist_km\": \"0\",\n \"estatus\": \"\",\n \"salesman_name\": \"\",\n \"area_name\": \"\",\n \"group_name\": \"\",\n \"location_name\": \"\",\n \"shipper_name\": \"\",\n \"tax_name\": \"\"\n },\n {\n \"branch_code\": \"8\",\n \"debtor_no\": \"10\",\n \"br_name\": \"rodrigo\",\n \"branch_ref\": \"rodrigo nuevo\",\n \"br_address\": \"\",\n \"addr_street\": \"\",\n \"addr_exterior\": \"\",\n \"addr_interior\": \"\",\n \"addr_colony\": \"\",\n \"addr_city\": \"\",\n \"addr_state\": \"\",\n \"addr_zip\": \"\",\n \"addr_reference\": \"\",\n \"area\": \"1\",\n \"salesman\": \"1\",\n \"contact_name\": \"\",\n \"default_location\": \"DEF\",\n \"tax_group_id\": \"2\",\n \"sales_account\": \"\",\n \"sales_discount_account\": \"402.01.001\",\n \"receivables_account\": \"105.01.001\",\n \"payment_discount_account\": \"402.01.001\",\n \"default_ship_via\": \"1\",\n \"disable_trans\": \"0\",\n \"br_post_address\": \"\",\n \"group_no\": \"0\",\n \"notes\": \"\",\n \"inactive\": \"0\",\n \"dist_km\": \"0\",\n \"estatus\": \"\",\n \"salesman_name\": \"\",\n \"area_name\": \"\",\n \"group_name\": \"\",\n \"location_name\": \"\",\n \"shipper_name\": \"\",\n \"tax_name\": \"\"\n },\n {\n \"branch_code\": \"9\",\n \"debtor_no\": \"11\",\n \"br_name\": \"Rosa\",\n \"branch_ref\": \"Rosa\",\n \"br_address\": \"\",\n \"addr_street\": \"\",\n \"addr_exterior\": \"\",\n \"addr_interior\": \"\",\n \"addr_colony\": \"\",\n \"addr_city\": \"\",\n \"addr_state\": \"\",\n \"addr_zip\": \"\",\n \"addr_reference\": \"\",\n \"area\": \"1\",\n \"salesman\": \"1\",\n \"contact_name\": \"\",\n \"default_location\": \"DEF\",\n \"tax_group_id\": \"2\",\n \"sales_account\": \"\",\n \"sales_discount_account\": \"402.01.001\",\n \"receivables_account\": \"105.01.001\",\n \"payment_discount_account\": \"402.01.001\",\n \"default_ship_via\": \"1\",\n \"disable_trans\": \"0\",\n \"br_post_address\": \"\",\n \"group_no\": \"0\",\n \"notes\": \"\",\n \"inactive\": \"0\",\n \"dist_km\": \"0\",\n \"estatus\": \"\",\n \"salesman_name\": \"\",\n \"area_name\": \"\",\n \"group_name\": \"\",\n \"location_name\": \"\",\n \"shipper_name\": \"\",\n \"tax_name\": \"\"\n },\n {\n \"branch_code\": \"10\",\n \"debtor_no\": \"12\",\n \"br_name\": \"Nuevo 181021\",\n \"branch_ref\": \"NUEVO 181021\",\n \"br_address\": \"\",\n \"addr_street\": \"\",\n \"addr_exterior\": \"\",\n \"addr_interior\": \"\",\n \"addr_colony\": \"\",\n \"addr_city\": \"\",\n \"addr_state\": \"\",\n \"addr_zip\": \"\",\n \"addr_reference\": \"\",\n \"area\": \"1\",\n \"salesman\": \"1\",\n \"contact_name\": \"\",\n \"default_location\": \"DEF\",\n \"tax_group_id\": \"2\",\n \"sales_account\": \"\",\n \"sales_discount_account\": \"402.01.001\",\n \"receivables_account\": \"105.01.001\",\n \"payment_discount_account\": \"402.01.001\",\n \"default_ship_via\": \"1\",\n \"disable_trans\": \"0\",\n \"br_post_address\": \"\",\n \"group_no\": \"0\",\n \"notes\": \"\",\n \"inactive\": \"0\",\n \"dist_km\": \"0\",\n \"estatus\": \"\",\n \"salesman_name\": \"\",\n \"area_name\": \"\",\n \"group_name\": \"\",\n \"location_name\": \"\",\n \"shipper_name\": \"\",\n \"tax_name\": \"\"\n },\n {\n \"branch_code\": \"11\",\n \"debtor_no\": \"13\",\n \"br_name\": \"Ruth\",\n \"branch_ref\": \"Ruth\",\n \"br_address\": \"\",\n \"addr_street\": \"\",\n \"addr_exterior\": \"\",\n \"addr_interior\": \"\",\n \"addr_colony\": \"\",\n \"addr_city\": \"\",\n \"addr_state\": \"\",\n \"addr_zip\": \"\",\n \"addr_reference\": \"\",\n \"area\": \"1\",\n \"salesman\": \"1\",\n \"contact_name\": \"\",\n \"default_location\": \"DEF\",\n \"tax_group_id\": \"2\",\n \"sales_account\": \"\",\n \"sales_discount_account\": \"402.01.001\",\n \"receivables_account\": \"105.01.001\",\n \"payment_discount_account\": \"402.01.001\",\n \"default_ship_via\": \"1\",\n \"disable_trans\": \"0\",\n \"br_post_address\": \"\",\n \"group_no\": \"0\",\n \"notes\": \"\",\n \"inactive\": \"0\",\n \"dist_km\": \"0\",\n \"estatus\": \"\",\n \"salesman_name\": \"\",\n \"area_name\": \"\",\n \"group_name\": \"\",\n \"location_name\": \"\",\n \"shipper_name\": \"\",\n \"tax_name\": \"\"\n },\n {\n \"branch_code\": \"12\",\n \"debtor_no\": \"14\",\n \"br_name\": \"Nuevo 191021\",\n \"branch_ref\": \"Nuevo191021\",\n \"br_address\": \"\",\n \"addr_street\": \"\",\n \"addr_exterior\": \"\",\n \"addr_interior\": \"\",\n \"addr_colony\": \"\",\n \"addr_city\": \"\",\n \"addr_state\": \"\",\n \"addr_zip\": \"\",\n \"addr_reference\": \"\",\n \"area\": \"1\",\n \"salesman\": \"1\",\n \"contact_name\": \"\",\n \"default_location\": \"DEF\",\n \"tax_group_id\": \"2\",\n \"sales_account\": \"\",\n \"sales_discount_account\": \"402.01.001\",\n \"receivables_account\": \"105.01.001\",\n \"payment_discount_account\": \"402.01.001\",\n \"default_ship_via\": \"1\",\n \"disable_trans\": \"0\",\n \"br_post_address\": \"\",\n \"group_no\": \"0\",\n \"notes\": \"\",\n \"inactive\": \"0\",\n \"dist_km\": \"0\",\n \"estatus\": \"\",\n \"salesman_name\": \"\",\n \"area_name\": \"\",\n \"group_name\": \"\",\n \"location_name\": \"\",\n \"shipper_name\": \"\",\n \"tax_name\": \"\"\n },\n {\n \"branch_code\": \"13\",\n \"debtor_no\": \"15\",\n \"br_name\": \"Rosario\",\n \"branch_ref\": \"Rosario\",\n \"br_address\": \"\",\n \"addr_street\": \"\",\n \"addr_exterior\": \"\",\n \"addr_interior\": \"\",\n \"addr_colony\": \"\",\n \"addr_city\": \"\",\n \"addr_state\": \"\",\n \"addr_zip\": \"\",\n \"addr_reference\": \"\",\n \"area\": \"1\",\n \"salesman\": \"1\",\n \"contact_name\": \"\",\n \"default_location\": \"DEF\",\n \"tax_group_id\": \"2\",\n \"sales_account\": \"\",\n \"sales_discount_account\": \"402.01.001\",\n \"receivables_account\": \"105.01.001\",\n \"payment_discount_account\": \"402.01.001\",\n \"default_ship_via\": \"1\",\n \"disable_trans\": \"0\",\n \"br_post_address\": \"\",\n \"group_no\": \"0\",\n \"notes\": \"\",\n \"inactive\": \"0\",\n \"dist_km\": \"0\",\n \"estatus\": \"\",\n \"salesman_name\": \"\",\n \"area_name\": \"\",\n \"group_name\": \"\",\n \"location_name\": \"\",\n \"shipper_name\": \"\",\n \"tax_name\": \"\"\n },\n {\n \"branch_code\": \"14\",\n \"debtor_no\": \"16\",\n \"br_name\": \"Pablo\",\n \"branch_ref\": \"Pablo\",\n \"br_address\": \"\",\n \"addr_street\": \"\",\n \"addr_exterior\": \"\",\n \"addr_interior\": \"\",\n \"addr_colony\": \"\",\n \"addr_city\": \"\",\n \"addr_state\": \"\",\n \"addr_zip\": \"\",\n \"addr_reference\": \"\",\n \"area\": \"1\",\n \"salesman\": \"1\",\n \"contact_name\": \"\",\n \"default_location\": \"DEF\",\n \"tax_group_id\": \"2\",\n \"sales_account\": \"\",\n \"sales_discount_account\": \"402.01.001\",\n \"receivables_account\": \"105.01.001\",\n \"payment_discount_account\": \"402.01.001\",\n \"default_ship_via\": \"1\",\n \"disable_trans\": \"0\",\n \"br_post_address\": \"\",\n \"group_no\": \"0\",\n \"notes\": \"1\",\n \"inactive\": \"0\",\n \"dist_km\": \"0\",\n \"estatus\": \"\",\n \"salesman_name\": \"\",\n \"area_name\": \"\",\n \"group_name\": \"\",\n \"location_name\": \"\",\n \"shipper_name\": \"\",\n \"tax_name\": \"\"\n },\n {\n \"branch_code\": \"15\",\n \"debtor_no\": \"17\",\n \"br_name\": \"Ulises\",\n \"branch_ref\": \"Ulises\",\n \"br_address\": \"\",\n \"addr_street\": \"\",\n \"addr_exterior\": \"\",\n \"addr_interior\": \"\",\n \"addr_colony\": \"\",\n \"addr_city\": \"\",\n \"addr_state\": \"\",\n \"addr_zip\": \"\",\n \"addr_reference\": \"\",\n \"area\": \"1\",\n \"salesman\": \"1\",\n \"contact_name\": \"\",\n \"default_location\": \"DEF\",\n \"tax_group_id\": \"2\",\n \"sales_account\": \"\",\n \"sales_discount_account\": \"402.01.001\",\n \"receivables_account\": \"105.01.001\",\n \"payment_discount_account\": \"402.01.001\",\n \"default_ship_via\": \"1\",\n \"disable_trans\": \"0\",\n \"br_post_address\": \"\",\n \"group_no\": \"0\",\n \"notes\": \"\",\n \"inactive\": \"0\",\n \"dist_km\": \"0\",\n \"estatus\": \"\",\n \"salesman_name\": \"\",\n \"area_name\": \"\",\n \"group_name\": \"\",\n \"location_name\": \"\",\n \"shipper_name\": \"\",\n \"tax_name\": \"\"\n },\n {\n \"branch_code\": \"16\",\n \"debtor_no\": \"18\",\n \"br_name\": \"Ricardo\",\n \"branch_ref\": \"Ricardo\",\n \"br_address\": \"\",\n \"addr_street\": \"\",\n \"addr_exterior\": \"\",\n \"addr_interior\": \"\",\n \"addr_colony\": \"\",\n \"addr_city\": \"\",\n \"addr_state\": \"\",\n \"addr_zip\": \"\",\n \"addr_reference\": \"\",\n \"area\": \"1\",\n \"salesman\": \"1\",\n \"contact_name\": \"\",\n \"default_location\": \"DEF\",\n \"tax_group_id\": \"2\",\n \"sales_account\": \"\",\n \"sales_discount_account\": \"402.01.001\",\n \"receivables_account\": \"105.01.001\",\n \"payment_discount_account\": \"402.01.001\",\n \"default_ship_via\": \"1\",\n \"disable_trans\": \"0\",\n \"br_post_address\": \"\",\n \"group_no\": \"0\",\n \"notes\": \"\",\n \"inactive\": \"0\",\n \"dist_km\": \"0\",\n \"estatus\": \"\",\n \"salesman_name\": \"\",\n \"area_name\": \"\",\n \"group_name\": \"\",\n \"location_name\": \"\",\n \"shipper_name\": \"\",\n \"tax_name\": \"\"\n },\n {\n \"branch_code\": \"17\",\n \"debtor_no\": \"19\",\n \"br_name\": \"Bonifacio\",\n \"branch_ref\": \"Bonifacio\",\n \"br_address\": \"\",\n \"addr_street\": \"\",\n \"addr_exterior\": \"\",\n \"addr_interior\": \"\",\n \"addr_colony\": \"\",\n \"addr_city\": \"\",\n \"addr_state\": \"\",\n \"addr_zip\": \"\",\n \"addr_reference\": \"\",\n \"area\": \"1\",\n \"salesman\": \"1\",\n \"contact_name\": \"\",\n \"default_location\": \"DEF\",\n \"tax_group_id\": \"2\",\n \"sales_account\": \"\",\n \"sales_discount_account\": \"402.01.001\",\n \"receivables_account\": \"105.01.001\",\n \"payment_discount_account\": \"402.01.001\",\n \"default_ship_via\": \"1\",\n \"disable_trans\": \"0\",\n \"br_post_address\": \"\",\n \"group_no\": \"0\",\n \"notes\": \"\",\n \"inactive\": \"0\",\n \"dist_km\": \"0\",\n \"estatus\": \"\",\n \"salesman_name\": \"\",\n \"area_name\": \"\",\n \"group_name\": \"\",\n \"location_name\": \"\",\n \"shipper_name\": \"\",\n \"tax_name\": \"\"\n },\n {\n \"branch_code\": \"18\",\n \"debtor_no\": \"20\",\n \"br_name\": \"Nuevo 291021\",\n \"branch_ref\": \"Nuevo Hoy\",\n \"br_address\": \"\",\n \"addr_street\": \"\",\n \"addr_exterior\": \"\",\n \"addr_interior\": \"\",\n \"addr_colony\": \"\",\n \"addr_city\": \"\",\n \"addr_state\": \"\",\n \"addr_zip\": \"\",\n \"addr_reference\": \"\",\n \"area\": \"1\",\n \"salesman\": \"1\",\n \"contact_name\": \"\",\n \"default_location\": \"DEF\",\n \"tax_group_id\": \"2\",\n \"sales_account\": \"\",\n \"sales_discount_account\": \"402.01.001\",\n \"receivables_account\": \"105.01.001\",\n \"payment_discount_account\": \"402.01.001\",\n \"default_ship_via\": \"1\",\n \"disable_trans\": \"0\",\n \"br_post_address\": \"\",\n \"group_no\": \"0\",\n \"notes\": \"\",\n \"inactive\": \"0\",\n \"dist_km\": \"0\",\n \"estatus\": \"\",\n \"salesman_name\": \"\",\n \"area_name\": \"\",\n \"group_name\": \"\",\n \"location_name\": \"\",\n \"shipper_name\": \"\",\n \"tax_name\": \"\"\n },\n {\n \"branch_code\": \"19\",\n \"debtor_no\": \"21\",\n \"br_name\": \"Juan Lopez\",\n \"branch_ref\": \"Juanito\",\n \"br_address\": \"\",\n \"addr_street\": \"\",\n \"addr_exterior\": \"\",\n \"addr_interior\": \"\",\n \"addr_colony\": \"\",\n \"addr_city\": \"\",\n \"addr_state\": \"\",\n \"addr_zip\": \"\",\n \"addr_reference\": \"\",\n \"area\": \"1\",\n \"salesman\": \"1\",\n \"contact_name\": \"\",\n \"default_location\": \"DEF\",\n \"tax_group_id\": \"2\",\n \"sales_account\": \"\",\n \"sales_discount_account\": \"402.01.001\",\n \"receivables_account\": \"105.01.001\",\n \"payment_discount_account\": \"402.01.001\",\n \"default_ship_via\": \"1\",\n \"disable_trans\": \"0\",\n \"br_post_address\": \"\",\n \"group_no\": \"0\",\n \"notes\": \"1\",\n \"inactive\": \"0\",\n \"dist_km\": \"0\",\n \"estatus\": \"\",\n \"salesman_name\": \"\",\n \"area_name\": \"\",\n \"group_name\": \"\",\n \"location_name\": \"\",\n \"shipper_name\": \"\",\n \"tax_name\": \"\"\n },\n {\n \"branch_code\": \"20\",\n \"debtor_no\": \"22\",\n \"br_name\": \"Sarai\",\n \"branch_ref\": \"Sarai\",\n \"br_address\": \"\",\n \"addr_street\": \"\",\n \"addr_exterior\": \"\",\n \"addr_interior\": \"\",\n \"addr_colony\": \"\",\n \"addr_city\": \"\",\n \"addr_state\": \"\",\n \"addr_zip\": \"\",\n \"addr_reference\": \"\",\n \"area\": \"1\",\n \"salesman\": \"1\",\n \"contact_name\": \"\",\n \"default_location\": \"DEF\",\n \"tax_group_id\": \"2\",\n \"sales_account\": \"\",\n \"sales_discount_account\": \"402.01.001\",\n \"receivables_account\": \"105.01.001\",\n \"payment_discount_account\": \"402.01.001\",\n \"default_ship_via\": \"1\",\n \"disable_trans\": \"0\",\n \"br_post_address\": \"\",\n \"group_no\": \"0\",\n \"notes\": \"Hola soy nueva\",\n \"inactive\": \"0\",\n \"dist_km\": \"0\",\n \"estatus\": \"\",\n \"salesman_name\": \"\",\n \"area_name\": \"\",\n \"group_name\": \"\",\n \"location_name\": \"\",\n \"shipper_name\": \"\",\n \"tax_name\": \"\"\n },\n {\n \"branch_code\": \"21\",\n \"debtor_no\": \"23\",\n \"br_name\": \"Yuya\",\n \"branch_ref\": \"Yuya\",\n \"br_address\": \"\",\n \"addr_street\": \"\",\n \"addr_exterior\": \"\",\n \"addr_interior\": \"\",\n \"addr_colony\": \"\",\n \"addr_city\": \"\",\n \"addr_state\": \"\",\n \"addr_zip\": \"\",\n \"addr_reference\": \"\",\n \"area\": \"1\",\n \"salesman\": \"1\",\n \"contact_name\": \"\",\n \"default_location\": \"DEF\",\n \"tax_group_id\": \"2\",\n \"sales_account\": \"\",\n \"sales_discount_account\": \"402.01.001\",\n \"receivables_account\": \"105.01.001\",\n \"payment_discount_account\": \"402.01.001\",\n \"default_ship_via\": \"1\",\n \"disable_trans\": \"0\",\n \"br_post_address\": \"\",\n \"group_no\": \"0\",\n \"notes\": \"\",\n \"inactive\": \"0\",\n \"dist_km\": \"0\",\n \"estatus\": \"\",\n \"salesman_name\": \"\",\n \"area_name\": \"\",\n \"group_name\": \"\",\n \"location_name\": \"\",\n \"shipper_name\": \"\",\n \"tax_name\": \"\"\n },\n {\n \"branch_code\": \"22\",\n \"debtor_no\": \"2\",\n \"br_name\": \"Rodrigo Rojas 2\",\n \"branch_ref\": \"Rodrigo Rojas 2\",\n \"br_address\": \" CP 7\",\n \"addr_street\": \"\",\n \"addr_exterior\": \"\",\n \"addr_interior\": \"\",\n \"addr_colony\": \"\",\n \"addr_city\": \"\",\n \"addr_state\": \"\",\n \"addr_zip\": \"7\",\n \"addr_reference\": \"\",\n \"area\": \"1\",\n \"salesman\": \"1\",\n \"contact_name\": \"\",\n \"default_location\": \"DEF\",\n \"tax_group_id\": \"2\",\n \"sales_account\": \"\",\n \"sales_discount_account\": \"402.01.001\",\n \"receivables_account\": \"105.01.001\",\n \"payment_discount_account\": \"402.01.001\",\n \"default_ship_via\": \"1\",\n \"disable_trans\": \"0\",\n \"br_post_address\": \" CP 7\",\n \"group_no\": \"1\",\n \"notes\": \"\",\n \"inactive\": \"0\",\n \"dist_km\": \"0\",\n \"estatus\": \"\",\n \"salesman_name\": \"\",\n \"area_name\": \"\",\n \"group_name\": \"\",\n \"location_name\": \"\",\n \"shipper_name\": \"\",\n \"tax_name\": \"\"\n },\n {\n \"branch_code\": \"23\",\n \"debtor_no\": \"24\",\n \"br_name\": \"Nuevo\",\n \"branch_ref\": \"Nuevo\",\n \"br_address\": \"\",\n \"addr_street\": \"\",\n \"addr_exterior\": \"\",\n \"addr_interior\": \"\",\n \"addr_colony\": \"\",\n \"addr_city\": \"\",\n \"addr_state\": \"\",\n \"addr_zip\": \"\",\n \"addr_reference\": \"\",\n \"area\": \"1\",\n \"salesman\": \"2\",\n \"contact_name\": \"\",\n \"default_location\": \"DEF\",\n \"tax_group_id\": \"2\",\n \"sales_account\": \"\",\n \"sales_discount_account\": \"402.01.001\",\n \"receivables_account\": \"105.01.001\",\n \"payment_discount_account\": \"402.01.001\",\n \"default_ship_via\": \"1\",\n \"disable_trans\": \"0\",\n \"br_post_address\": \"\",\n \"group_no\": \"0\",\n \"notes\": \"\",\n \"inactive\": \"0\",\n \"dist_km\": \"0\",\n \"estatus\": \"\",\n \"salesman_name\": \"\",\n \"area_name\": \"\",\n \"group_name\": \"\",\n \"location_name\": \"\",\n \"shipper_name\": \"\",\n \"tax_name\": \"\"\n },\n {\n \"branch_code\": \"24\",\n \"debtor_no\": \"25\",\n \"br_name\": \"ALEJANDRA AGUILAR MUÑOZ\",\n \"branch_ref\": \"ALEJANDRA AGUILAR MUÑOZ\",\n \"br_address\": \"\",\n \"addr_street\": \"\",\n \"addr_exterior\": \"\",\n \"addr_interior\": \"\",\n \"addr_colony\": \"\",\n \"addr_city\": \"\",\n \"addr_state\": \"\",\n \"addr_zip\": \"\",\n \"addr_reference\": \"\",\n \"area\": \"1\",\n \"salesman\": \"1\",\n \"contact_name\": \"\",\n \"default_location\": \"DEF\",\n \"tax_group_id\": \"2\",\n \"sales_account\": \"\",\n \"sales_discount_account\": \"402.01.001\",\n \"receivables_account\": \"105.01.001\",\n \"payment_discount_account\": \"402.01.001\",\n \"default_ship_via\": \"1\",\n \"disable_trans\": \"0\",\n \"br_post_address\": \"\",\n \"group_no\": \"0\",\n \"notes\": \"\",\n \"inactive\": \"0\",\n \"dist_km\": \"0\",\n \"estatus\": \"\",\n \"salesman_name\": \"\",\n \"area_name\": \"\",\n \"group_name\": \"\",\n \"location_name\": \"\",\n \"shipper_name\": \"\",\n \"tax_name\": \"\"\n },\n {\n \"branch_code\": \"25\",\n \"debtor_no\": \"26\",\n \"br_name\": \"RAPIDOS 3T SA DE CV\",\n \"branch_ref\": \"RAPIDOS 3T SA DE CV\",\n \"br_address\": \"\",\n \"addr_street\": \"\",\n \"addr_exterior\": \"\",\n \"addr_interior\": \"\",\n \"addr_colony\": \"\",\n \"addr_city\": \"\",\n \"addr_state\": \"\",\n \"addr_zip\": \"\",\n \"addr_reference\": \"\",\n \"area\": \"1\",\n \"salesman\": \"1\",\n \"contact_name\": \"\",\n \"default_location\": \"DEF\",\n \"tax_group_id\": \"2\",\n \"sales_account\": \"\",\n \"sales_discount_account\": \"402.01.001\",\n \"receivables_account\": \"105.01.001\",\n \"payment_discount_account\": \"402.01.001\",\n \"default_ship_via\": \"1\",\n \"disable_trans\": \"0\",\n \"br_post_address\": \"\",\n \"group_no\": \"0\",\n \"notes\": \"\",\n \"inactive\": \"0\",\n \"dist_km\": \"0\",\n \"estatus\": \"\",\n \"salesman_name\": \"\",\n \"area_name\": \"\",\n \"group_name\": \"\",\n \"location_name\": \"\",\n \"shipper_name\": \"\",\n \"tax_name\": \"\"\n }\n ]\n}" } ] }, { "name": "Branch", "request": { "method": "GET", "header": [], "url": { "raw": "{{API}}/api/v3/sales/branches/{{branches_branch_code}}", "host": [ "{{API}}" ], "path": [ "api", "v3", "sales", "branches", "{{branches_branch_code}}" ] }, "description": "**INFORMACIÓN DEL ENDPOINT**\n\nESTE METODO GET SIRVE PARA CONSEGUIR LA INFORMACION DETALLADA DE UN DOMICILIO DEL CLIENTE EN ESPECIFICO.\n\n***PARAMS:**\n\n**1.-ATRIBUTOS O CAMPOS DEL PARAMS:**\n\n**1.1.-\"{{branches_branch_code}}\"=** ES UN PARAMETRO OBLIGATORIO Y ES DE TIPO NUMERICO. SE VA ENVIAR EL ID O EL IDENTIFICADOR DEL DOMICILIO DEL CLIENTE QUE DESEA BUSCAR." }, "response": [ { "name": "Branch", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{API}}/api/v3/sales/branches/1", "host": [ "{{API}}" ], "path": [ "api", "v3", "sales", "branches", "1" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Wed, 31 Aug 2022 19:08:53 GMT" }, { "key": "Server", "value": "Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.4.1" }, { "key": "Vary", "value": "Authorization" }, { "key": "X-Powered-By", "value": "PHP/7.4.1" }, { "key": "Expires", "value": "Thu, 19 Nov 1981 08:52:00 GMT" }, { "key": "Cache-Control", "value": "private" }, { "key": "Pragma", "value": "no-cache" }, { "key": "Content-Length", "value": "787" }, { "key": "Keep-Alive", "value": "timeout=5, max=100" }, { "key": "Connection", "value": "Keep-Alive" }, { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"version\": \"3.22.35\",\n \"total\": 1,\n \"limit\": \"20\",\n \"skip\": 0,\n \"data\": [\n {\n \"branch_code\": \"1\",\n \"debtor_no\": \"1\",\n \"br_name\": \"PUBLICO EN GENERAL\",\n \"branch_ref\": \"PUBLICO EN GENERAL\",\n \"br_address\": \" \",\n \"addr_street\": \"\",\n \"addr_exterior\": \"\",\n \"addr_interior\": \"\",\n \"addr_colony\": \"\",\n \"addr_city\": \"\",\n \"addr_state\": \"\",\n \"addr_zip\": \"\",\n \"addr_reference\": \" \",\n \"area\": \"1\",\n \"salesman\": \"1\",\n \"contact_name\": \"\",\n \"default_location\": \"DEF\",\n \"tax_group_id\": \"2\",\n \"sales_account\": \"\",\n \"sales_discount_account\": \"402.01.001\",\n \"receivables_account\": \"105.01.001\",\n \"payment_discount_account\": \"402.01.001\",\n \"default_ship_via\": \"1\",\n \"disable_trans\": \"0\",\n \"br_post_address\": \" \",\n \"group_no\": \"0\",\n \"notes\": \"\",\n \"inactive\": \"0\",\n \"dist_km\": \"0\",\n \"estatus\": \"\",\n \"salesman_name\": \"\",\n \"area_name\": \"\",\n \"group_name\": \"\",\n \"location_name\": \"\",\n \"shipper_name\": \"\",\n \"tax_name\": \"\"\n }\n ]\n}" } ] }, { "name": "Branches", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"required\": \"CAMPOS REQUERIDOS\",\r\n \"customer_id\":68,\r\n \"br_name\": \"PRUEBA 301122-2\",\r\n \"br_ref\": \"P301122-2\",\r\n \"salesman\":1,\r\n \"area\":1,\r\n \"tax_group_id\":2,\r\n \"location\": \"DEF\",\r\n \"ship_via\":1,\r\n \"optionals\":\"CAMPOS OPCIONALES\",\r\n \"br_address\":\"\",\r\n \"dist_km\":0,\r\n \"addr_street\":\"Calle 1\",\r\n \"addr_exterior\":\"1\",\r\n \"addr_interior\":\"1\",\r\n \"addr_colony\":\"Nueva\",\r\n \"addr_city\":\"Monterrey\",\r\n \"addr_state\":\"\",\r\n \"addr_zip\":\"\",\r\n \"addr_reference\":\"Nuevo\",\r\n \"advance_invoice_account\": null,\r\n \"sales_account\": \"\",\r\n \"phone\": \"\",\r\n \"phone2\": \"\",\r\n \"fax\": \"\",\r\n \"email\": \"\",\r\n \"inactive\": false,\r\n \"contact_name\":null,\r\n \"disable_trans\":false,\r\n \"group_no\":\"0\",\r\n \"notes\":\"\",\r\n \"timbrado_localidad\":null,\r\n \"timbrado_residencia_fiscal\":null,\r\n \"timbrado_tipo_estacion\":null,\r\n \"timbrado_distancia_recorrida\":null,\r\n \"timbrado_num_estacion\":null,\r\n \"timbrado_nombre_estacion\":null,\r\n \"timbrado_id_destino\":null,\r\n \"timbrado_navegacion_trafico\":null,\r\n \"timbrado_pais\":null,\r\n \"timbrado_num_reg_id_trib\":null,\r\n \"timbrado_colonia\":null,\r\n \"timbrado_municipio\":null,\r\n \"timbrado_estado\":null\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/sales/branches", "host": [ "{{API}}" ], "path": [ "api", "v3", "sales", "branches" ] }, "description": "**INFORMACIÓN DEL ENDPOINT**\n\nESTE METODO POST SIRVE PARA CREAR UN DOMICILIO DEL CLIENTE.\n\n**\\*BODY:**\n\n**1.-TIPO:** RAW UTILIZANDO EL FORMATO JSON.\n\n**2.-ATRIBUTOS O CAMPOS DEL BODY:**\n\n**2.1.-\"customer_id\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO O STRING. SE VA ENVIAR EL ID O IDENTIFICADOR DEL CLIENTE.\n\n**2.2.-\"branch_name\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR EL NOMBRE DEL DOMICILIO DEL CLIENTE.\n\n**2.3.-\"br_ref\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR LA REFERENCIA DEL DOMICILIO DEL CLIENTE.\n\n**2.4.-\"salesman\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO O STRING. SE VA ENVIAR EL ID O IDENTIFICADOR DEL VENDEDOR.\n\n**2.5.-\"area\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO O STRING. SE VA ENVIAR EL ID O IDENTIFICADOR DEL AREA DE VENTAS.\n\n**2.6.-\"tax_group_id\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO O STRING. SE VA ENVIAR EL ID O IDENTIFICADOR DEL GRUPO DE IMPUESTOS.\n\n**2.7.-\"location\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR LA CLAVE DEL ALMACEN.\n\n**2.8.-\"ship_via\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO O STRING. SE VA ENVIAR EL ID O IDENTIFICADOR DE LA COMPAÑIA DE TRANSPORTE.\n\n**2.9.-\"br_address\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NULL O STRING. SE VA ENVIAR LA DIRECCION DEL DOMICILIO DEL CLIENTE.\n\n**2.10.-\"dist_km\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO O STRING. SE VA ENVIAR LA DISTANCIA EN KILOMETROS DEL DOMICILIO DEL CLIENTE.\n\n**2.11.-\"addr_street\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR LA CALLE DEL DOMICILIO DEL CLIENTE.\n\n**2.12.-\"addr_exterior\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL NUMERO EXTERIOR DEL DOMICILIO DEL CLIENTE.\n\n**2.13.-\"addr_interior\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL NUMERO INTERIOR DEL DOMICILIO DEL CLIENTE.\n\n**2.14.-\"addr_colony\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR LA COLONIA DEL DOMICILIO DEL CLIENTE.\n\n**2.15.-\"addr_city\"=** ES UN CAMPO OPCIONALEY Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL NOMBRE DE LA CIUDAD DEL DOMICILIO DEL CLIENTE.\n\n**2.16.-\"addr_state\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL ESTADO DEL DOMICILIO DEL CLIENTE.\n\n**2.17.-\"addr_zip\"=** ES UN CAMPO OOPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL CODIGO POSTAL DEL CLIENTE.\n\n**2.18.-\"addr_reference\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR LA REFERENCIA DEL DOMICILIO DEL CLIENTE.\n\n**2.19.-\"advance_invoice_account\"=** ES UN CAMPO OPCIONALY ES DE TIPO STRING O NULL. SE VA ENVIAR EL NUMERO DE CUENTA PARA UNA FACTURA ACTICIPADA.\n\n**2.20.-\"sales_account\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL NUMERO DE CUENTA PARA CUENTA DE VENTAS .\n\n**2.21.-\"phone\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL TELEFONO DEL CONTACTO DEL DOMICILIO DEL CLIENTE.\n\n**2.22.-\"phone2\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR UN SEGUNDO TELEFONO PARA EL CONTACTO DEL DOMICILIO DEL CLIENTE.\n\n**2.23.-\"fax\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR ES EL FAX DEL CONTACTO DEL DOMICILIO DEL CLIENTE.\n\n**2.24.-\"email\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL CORREO DEL CONTACTO DEL DOMICILIO DEL CLIENTE.\n\n**2.25.-\"inactive\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O BOOLEANO O NULL. SE VA ENVIAR 0 O \"0\" O false PARA QUE EL DOMICILIO DEL CLIENTE ESTE ACTIVO O 1 O \"1\" O true PARA QUE EL DOMICILIO DEL CLIENTE NO ESTE ACTIVO.\n\n**2.26.-\"contact_name\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL NOMBRE DEL CONTACTO DEL DOMICILIO DEL CLIENTE.\n\n**2.27.-\"disable_trans\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O BOOLEANO O NULL. SE VA ENVIAR 0 O \"0\" O false PARA QUE EL DOMICILIO DEL CLIENTE NO PUEDA HACER LA TRANSACCION O 1 O \"1\" O true PARA QUE EL DOMICILIO DEL CLIENTE PUEDA HACER LA TRANSACCION.\n\n**2.28.-\"group_no\"=** CAMPO OPCIONAL Y ES DE TIPO NUMERICO O STRING O NULL. SE VA ENVIAR LA CLAVE DEL GRUPO DE VENTAS.\n\n**2.29.-\"notes\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR NOTAS DEL DOMICILIO DEL CLIENTE.\n\n**2.30.-\"timbrado_localidad\"=** CAMPO OPCIONAL Y DE TIPO STRING O NULL. SE VA ENVIAR LA LOCALIDAD DEL DOMICILIO DEL CLIENTE PARA CARTA PORTE.\n\n**2.31.-\"timbrado_residencia_fiscal\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR LA RESIDENCIA FISCAL DEL DOMICILIO DEL CLIENTE PARA CARTA PORTE.\n\n**2.32.-\"timbrado_tipo_estacion\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL IDENTIFICADOR O CLAVE DEL TIPO DE ESTACION DEL DOMICILIO DEL CLIENTE PARA CARTA PORTE.\n\n**2.33.-\"timbrado_distancia_recorrida\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR LA DISTANCIA RECORRIDA DEL DOMICILIO DEL CLIENTE PARA CARTA PORTE.\n\n**2.34.-\"timbrado_num_estacion\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL IDENTIFICADOR O CLAVE DEL TIPO DE ESTACION DOMICILIO DEL CLIENTE PARA CARTA PORTE.\n\n**2.35.-\"timbrado_nombre_estacion\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL NOMBRE DE LA ESTACIO DEL DOMICILIO DEL CLIENTE PARA CARTA PORTE.\n\n**2.36.-\"timbrado_id_destino\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL IDENTIFICADOR O CLAVE DEL DESTINO PARA EL DOMICILIO DEL CLIENTE PARA CARTA PORTE.\n\n**2.37.-\"timbrado_navegacion_trafico\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL IDENTIFICADOR O CLAVE DE LA NAVEGACION TRAFICO DEL DOMICILIO DEL CLIENTE PARA CARTA PORTE.\n\n**2.38.-\"timbrado_pais\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL IDENTIFICADOR O CLAVE DEL PAIS DEL DOMICILIO DEL CLIENTE PARA CARTA PORTE \"KEN - Kenia\".\n\n**2.39.-\"timbrado_num_reg_id_trib\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL IDENTIFICADOR O CLAVE DEL NUMERO DEL REGISTRO DEL DOMICILIO DEL CLIENTE PARA CARTA PORTE.\n\n**2.40.-\"timbrado_colonia\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL NOMBRE DE LA COLONIA DEL DOMICILIO DEL CLIENTE PARA CARTA PORTE.\n\n**2.41.-\"timbrado_municipio\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL NOMBRE DEL MUNICIPIO DEL DOMICILIO DEL CLIENTE PARA CARTA PORTE.\n\n**2.42.-\"timbrado_estado\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL NOMBRE DEL ESTADO DEL DOMICILIO DEL CLIENTE PARA CARTA PORTE." }, "response": [ { "name": "Branches Completo", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"required\": \"CAMPOS REQUERIDOS\",\r\n \"customer_id\":1,\r\n \"br_name\": \"Prueba\",\r\n \"br_ref\": \"REF\",\r\n \"salesman\":1,\r\n \"area\":1,\r\n \"tax_group_id\":2,\r\n \"location\": \"DEF\",\r\n \"ship_via\":1,\r\n \"optionals\":\"CAMPOS OPCIONALES\",\r\n \"br_address\":\"\",\r\n \"dist_km\":0,\r\n \"addr_street\":\"\",\r\n \"addr_exterior\":\"\",\r\n \"addr_interior\":\"\",\r\n \"addr_colony\":\"\",\r\n \"addr_city\":\"\",\r\n \"addr_state\":\"\",\r\n \"addr_zip\":\"\",\r\n \"addr_reference\":\"\",\r\n \"advance_invoice_account\": null,\r\n \"sales_account\": \"\",\r\n \"phone\": \"\",\r\n \"phone2\": \"\",\r\n \"fax\": \"\",\r\n \"email\": \"\",\r\n \"inactive\": false,\r\n \"contact_name\":null,\r\n \"disable_trans\":false,\r\n \"group_no\":\"0\",\r\n \"notes\":\"\",\r\n \"timbrado_localidad\":null,\r\n \"timbrado_residencia_fiscal\":null,\r\n \"timbrado_tipo_estacion\":null,\r\n \"timbrado_distancia_recorrida\":null,\r\n \"timbrado_num_estacion\":null,\r\n \"timbrado_nombre_estacion\":null,\r\n \"timbrado_id_destino\":null,\r\n \"timbrado_navegacion_trafico\":null,\r\n \"timbrado_pais\":null,\r\n \"timbrado_num_reg_id_trib\":null,\r\n \"timbrado_colonia\":null,\r\n \"timbrado_municipio\":null,\r\n \"timbrado_estado\":null\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/sales/branches", "host": [ "{{API}}" ], "path": [ "api", "v3", "sales", "branches" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Wed, 31 Aug 2022 21:49:22 GMT" }, { "key": "Server", "value": "Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.4.1" }, { "key": "Vary", "value": "Authorization" }, { "key": "X-Powered-By", "value": "PHP/7.4.1" }, { "key": "Expires", "value": "Thu, 19 Nov 1981 08:52:00 GMT" }, { "key": "Cache-Control", "value": "private" }, { "key": "Pragma", "value": "no-cache" }, { "key": "Content-Length", "value": "117" }, { "key": "Keep-Alive", "value": "timeout=5, max=100" }, { "key": "Connection", "value": "Keep-Alive" }, { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"version\": \"3.22.35\",\n \"result\": true,\n \"messages\": [\n \"Un nuevo domicilio de cliente ha sido creado.\"\n ],\n \"cust_branch_id\": 151\n}" }, { "name": "Branches", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"customer_id\":1, //Cliente\r\n \"br_name\": \"Prueba\", //Nombre de domicilio\r\n \"br_ref\": \"REF\", //Referencia de domicilio\r\n \"salesman\":1, //Vendedor\r\n \"area\":1, //Área\r\n \"tax_group_id\":1, //Grupo de impuestos\r\n \"location\": \"LOC\", //Almacén\r\n \"ship_via\":1,\r\n \"br_address\":\"\", //Direccion de domicilio\r\n \"dist_km\":0, //Distancia\r\n \"addr_street\":\"\", //Calle\r\n \"addr_exterior\":\"\", //Número exterior\r\n \"addr_interior\":\"\", //Número interior\r\n \"addr_colony\":\"\", //Colonia\r\n \"addr_city\":\"\", //Ciudad\r\n \"addr_state\":\"\", //Estado\r\n \"addr_zip\":\"\", //Código Postal\r\n \"addr_reference\":\"\", //Referencia de domcilio\r\n \"relationship\": false, \r\n \"advance_invoice_account\": null,\r\n \"sales_account\": \"\",\r\n \"phone\": \"\", //Teléfono\r\n \"phone2\": \"\", //Teléfono 2\r\n \"fax\": \"\", //Fax\r\n \"email\": \"\", //Mail\r\n \"inactive\": false //Domcilio inactivo\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/sales/branches", "host": [ "{{API}}" ], "path": [ "api", "v3", "sales", "branches" ] } }, "_postman_previewlanguage": "text", "header": [], "cookie": [], "body": "" } ] }, { "name": "Payment", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"customer_id\": 1,\r\n \"metodo_de_pago\": 1,\r\n \"branch_id\": 1,\r\n \"bank_account\": 2,\r\n \"amount\": 10.00,\r\n \"date_banked\":null,\r\n \"memo\":null,\r\n \"charge\":null,\r\n \"bank_amount\":null,\r\n \"cheque\":null,\r\n \"benef_cheque\":null,\r\n \"banco_sat_emis_cheque\":null,\r\n \"cuenta_origen\":null,\r\n \"banco_sat_origen_transf\":null\r\n\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/sales/payment", "host": [ "{{API}}" ], "path": [ "api", "v3", "sales", "payment" ] }, "description": "**INFORMACIÓN DEL ENDPOINT**\n\nESTE METODO POST SIRVE PARA CREAR UN DOMICILIO DEL CLIENTE.\n\n***BODY:**\n\n**1.-TIPO:** RAW UTILIZANDO EL FORMATO JSON.\n\n**2.-ATRIBUTOS O CAMPOS DEL BODY:**\n\n**2.1.-\"customer_id\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO O STRING. SE VA ENVIAR EL ID O IDENTIFICADOR DEL CLIENTE.\n\n**2.2.-\"metodo_de_pago\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO O STRING. SE VA ENVIAR EL ID O IDENTIFICADOR DEL METODO DE PAGO.\n\n**2.3.-\"branch_id\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO O STRING. SE VA ENVIAR ID O EL IDENTIFICADOR DEL DOMICILIO DEL CLIENTE.\n\n**2.4.-\"bank_account\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO O STRING. SE VA ENVIAR EL ID O IDENTIFICADOR DE LA CUENTA DE BANCO.\n\n**2.5.-\"amount\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO. SE VA ENVIAR LA CANTIDAD A PAGAR.\n\n**2.6.-\"date_banked\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR LA FECHA DEL PAGO UTILIZANDO EL FORMATO DE FECHA \"YYYY-MM-DD\" .\n\n**2.7.-\"memo\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR UN COMENTARIO DEL PAGO.\n\n**2.8.-\"charge\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL. SE VA ENVIAR EL MONTO DEL CARGO HACIA UNA CUENTA DE UNA TARJETA.\n\n**2.9.-\"bank_amount\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL. SE VA ENVIAR EL MONTO DESTINADO HACIA UNA CUENTA DE BANCO.\n\n**2.10.-\"cheque\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL.\n\n**2.11.-\"benef_cheque\"=** ES UN CAMPO OPCIONALY ES DE TIPO STRING O NULL. SE VA ENVIAR EL BENEFICIARIO DEL CHEQUE.\n\n**2.12.-\"banco_sat_emis_cheque\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR LA CUENTA SAT DEL EMISOR DEL CHEQUE.\n\n**2.13.-\"cuenta_origen\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR LA CUENTA DE ORIGEN DE LA EMISION DEL PAGO.\n\n**2.14.-\"banco_sat_origen_transf\"=** ES UN CAMPO OPCIONAL O NULL Y ES DE TIPO STRING. SE VA ENVIAR LA CUENTA SAT DEL ORIGEN ." }, "response": [ { "name": "Payment Completo", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"customer_id\": 1,\r\n \"metodo_de_pago\": 1,\r\n \"branch_id\": 1,\r\n \"bank_account\": 2,\r\n \"amount\": 10.00,\r\n \"date_banked\":null,\r\n \"memo\":null,\r\n \"charge\":null,\r\n \"bank_amount\":null,\r\n \"cheque\":null,\r\n \"benef_cheque\":null,\r\n \"banco_sat_emis_cheque\":null,\r\n \"cuenta_origen\":null,\r\n \"banco_sat_origen_transf\":null\r\n\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/sales/payment", "host": [ "{{API}}" ], "path": [ "api", "v3", "sales", "payment" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Thu, 01 Sep 2022 00:55:35 GMT" }, { "key": "Server", "value": "Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.4.1" }, { "key": "Vary", "value": "Authorization" }, { "key": "X-Powered-By", "value": "PHP/7.4.1" }, { "key": "Expires", "value": "Thu, 19 Nov 1981 08:52:00 GMT" }, { "key": "Cache-Control", "value": "private" }, { "key": "Pragma", "value": "no-cache" }, { "key": "Content-Length", "value": "64" }, { "key": "Keep-Alive", "value": "timeout=5, max=100" }, { "key": "Connection", "value": "Keep-Alive" }, { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"version\": \"3.22.35\",\n \"result\": true,\n \"errors\": [],\n \"payment_no\": 647\n}" }, { "name": "Payment", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"customer_id\": 41, //Cliente\r\n \"metodo_de_pago\": 1, //Método de pago\r\n \"branch_id\": 1, //Domicilio\r\n \"bank_account\": 10, //Cuenta de Banco\r\n \"amount\": 10.00 //Monto de Pago\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/sales/payment", "host": [ "{{API}}" ], "path": [ "api", "v3", "sales", "payment" ] } }, "_postman_previewlanguage": "Text", "header": [], "cookie": [], "body": "" } ] }, { "name": "Customers", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"cust_name\": \"PRUEBA301122-1\", \r\n \"cust_ref\": \"PRUEBA301122-1\", \r\n \"credit_limit\": 10000,\r\n \"pymt_discount\": 0.00,\r\n \"discount\": 0,\r\n \"tax_id\":\"XAXX010101000\",\r\n \"salesman\":1,\r\n \"area\":1,\r\n \"location\": \"DEF\",\r\n \"ship_via\": null,\r\n \"cfdi_method_payment\": \"PUE\",\r\n \"cfdi_form_payment\": \"01\",\r\n \"credit_status\":null,\r\n \"payment_terms\": null,\r\n \"address\": \"\",\r\n \"curr_code\":\"MXN\",\r\n \"sales_type\":null,\r\n \"notes\":null,\r\n \"street\":\"Nueva Calle\",\r\n \"street_number\":111,\r\n \"suite_number\":1,\r\n \"district\":\"NL\",\r\n \"city\":\"Monterrey\",\r\n \"state\":\"NL\",\r\n \"country\":\"MX\",\r\n \"cust_pymt_method\":null,\r\n \"segmento_id\":null,\r\n \"cust_cheque\":null,\r\n \"cust_cuenta_cheque\":null,\r\n \"cust_banco_cheque\":null,\r\n \"cust_cuenta_transf\":null,\r\n \"cust_banco_transf\":null,\r\n \"phone\":null,\r\n \"phone2\":null,\r\n \"fax\":null,\r\n \"email\":null,\r\n \"cfdi_regimen_fiscal\": \"601\",\r\n \"postal_code\": \"64000\"\r\n\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/sales/customers", "host": [ "{{API}}" ], "path": [ "api", "v3", "sales", "customers" ] }, "description": "**INFORMACIÓN DEL ENDPOINT**\n\nESTE METODO POST SIRVE PARA CREAR UN CLIENTE.\n\n***BODY:**\n\n**1.-TIPO:** RAW UTILIZANDO EL FORMATO JSON.\n\n**2.-ATRIBUTOS O CAMPOS DEL BODY:**\n\n**2.1.-\"cust_name\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR EL NOMBRE DEL CLIENTE.\n\n**2.2.-\"cust_ref\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR LA REFERENCIA DEL CLIENTE OJO NO SE PUEDE REPETIR LA REFERENCIA DE UN CLIENTE YA AGREGADO.\n\n**2.3.-\"credit_limit\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO. SE VA ENVIAR EL MONTO DEL LIMITE DE CREDITO.\n\n**2.4.-\"pymt_discount\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO. SE VA ENVIAR EL DESCUENTO APLICADO AL PAGO Y DEBE SER UN VALOR DEL 0 AL 100.\n\n**2.5.-\"discount\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO. SE VA ENVIAR EL MONTO DEL DESCUENTO HACIA LOS PRODUCTOS Y DEBE SER UN VALOR DEL 0 AL 100.\n\n**2.6.-\"tax_id\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR EL RFC DEL CLIENTE .\n\n**2.7.-\"salesman\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL . SE VA ENVIAR EL ID O IDENTIFICADOR DEL VENDEDOR.\n\n**2.8.-\"area\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL. SE VA ENVIAR EL ID O IDENTIFICADOR DEL AREA.\n\n**2.9.-\"tax_group_id\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL. SE VA ENVIAR EL ID O IDENTIFCADOR DEL GRUPO DE IMPUESTOS.\n\n**2.10.-\"location\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL ID O IDENTIFCADOR DEL ALMACEN.\n\n**2.11.-\"ship_via\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL. SE VA ENVIAR EL ID O IDENTIFICADOR DE LA COMPAÑIA DE TRANSPORTE.\n\n**2.12.-\"cfdi_method_payment\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR LA CLAVE DEL SAT DEL METODO DE PAGO.\n\n**2.13.-\"cfdi_form_payment\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR LA CLAVE DEL SAT DE LA FORMA DE PAGO.\n\n**2.14.-\"credit_status\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR LA ID O IDENTIFICADOR DEL ESTADO DE CREDITO.\n\n**2.15.-\"payment_terms\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR LA ID O IDENTIFICADOR DE LOS TERMINOS DE PAGO.\n\n**2.16.-\"address\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR LA DIRECCION DEL CLIENTE.\n\n**2.17.-\"curr_code\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR LA CLAVE DE LA MONEDA.\n\n**2.18.-\"sales_type\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR ID O IDENTIFICADOR DEL PRECIO DE LISTA.\n\n**2.19.-\"notes\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR LAS NOTAS DEL CLIENTE.\n\n**2.20.-\"street\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR LA CALLE DEL CLIENTE.\n\n**2.21.-\"street_number\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL NUMERO EXTERIOR DEL CLIENTE.\n\n**2.22.-\"suite_number\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL NUMERO INTERIOR DEL CLIENTE.\n\n**2.23.-\"district\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR LA COLONIA DEL CLIENTE.\n\n**2.24.-\"city\"=** ES UN CAMPO OPCIONALEY Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL NOMBRE DE LA CIUDAD DEL CLIENTE.\n\n**2.25.-\"state\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL ESTADO DEL CLIENTE.\n\n**2.26.-\"country\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL IDENTIFICADOR DEL PAIS.\n\n**2.26.-\"cust_pymt_method\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL ID O IDENTIFICADOR DEL METODO DE PAGO.\n\n**2.27.-\"segmento_id\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL ID O IDENTIFICADOR DEL SEGMENTO DEL CLIENTE.\n\n**2.28.-\"cust_cheque\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL.\n\n**2.29.-\"cust_cuenta_cheque\"=** ES UN CAMPO OPCIONALY ES DE TIPO STRING O NULL. SE VA ENVIAR EL NUMERO DE CUENTA DEL CHEQUE.\n\n**2.30.-\"cust_cuenta_transf\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR LA CUENTA DE TRANSFERENCIA.\n\n**2.31.-\"cust_banco_transf\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR LA CUENTA DE BANCO DE TRANSFERENCIA.\n\n**2.32.-\"phone\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL TELEFONO DEL CONTACTO DEL CLIENTE.\n\n**2.33.-\"phone2\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR UN SEGUNDO TELEFONO PARA EL CONTACTO DEL CLIENTE.\n\n**2.34.-\"fax\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR ES EL FAX DEL CONTACTO DEL CLIENTE.\n\n**2.35.-\"email\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL CORREO DEL CONTACTO DEL CLIENTE.\n\n**2.36.-\"cfdi_regimen_fiscal\"=** CAMPO OBLIGATORIO Y ES DE TIPO STRING . SE VA ENVIAR LA CLAVE DEL SAT DEL REGIMEN FISCAL.\n\n**2.37.-\"postal_code\"=** CAMPO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR EL CODIGO POSTAL DEL CLIENTE." }, "response": [ { "name": "Customers", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"cust_name\": \"Pedro32\", //Nombre del Cliente\r\n \"cust_ref\": \"Pedro32\", //Referencia del Cliente\r\n \"credit_limit\": 10000, //Limite de Crédito\r\n \"pymt_discount\": 0.00, //Descuento de pago\r\n \"discount\": 0, //Descuento\r\n \"tax_id\":\"00XXX000000XXXXX00\", //RFC\r\n \"salesman\":1, //Vendedor\r\n \"area\":1, //Área\r\n \"tax_group_id\": 1, //Grupo de impuesto\r\n \"location\": 1, //Almacen\r\n \"ship_via\": null, //\r\n \"cfdi_method_payment\": 2, //Método de Pago\r\n \"cfdi_form_payment\": 1, //Forma de Pago\r\n \"cfdi_regimen_fiscal\": 601, // Régimen Fiscal\r\n \"postal_code\": 0, //Código Postal\r\n \"address\": \"\",\r\n \"curr_code\":\"MXN\", //Moneda\r\n \"payment_terms\": 0,//Términos de pagos\r\n \"street\":\"\", //Calle\r\n \"street_number\":111, //Numero de calle\r\n \"district\":0, //Distrito\r\n \"city\":\"\", //Ciudad\r\n \"state\":\"\", //Estado\r\n \"country\":\"MX\" //País\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/sales/customers", "host": [ "{{API}}" ], "path": [ "api", "v3", "sales", "customers" ], "query": [ { "key": "reference", "value": "261d872f929138", "disabled": true } ] } }, "_postman_previewlanguage": "Text", "header": [], "cookie": [], "body": "" } ] }, { "name": "Customers", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\r\n \r\n \"cust_ref\": \"Antonio\"\r\n \r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/sales/customers/{{customer_customer_id}}", "host": [ "{{API}}" ], "path": [ "api", "v3", "sales", "customers", "{{customer_customer_id}}" ], "query": [ { "key": "reference", "value": "261d872f929138", "disabled": true } ] }, "description": "**INFORMACIÓN DEL ENDPOINT**\n\nESTE METODO PUT SIRVE PARA ACTUALIZAR UN CLIENTE.\n\n***BODY:**\n\n**1.-TIPO:** RAW UTILIZANDO EL FORMATO JSON.\n\n**2.-ATRIBUTOS O CAMPOS DEL BODY:**\n\n**2.0.-\"{{customers_customer_id}}\"=** ES UN PARAMETRO OBLIGATORIO Y ES DE TIPO NUMERICO. SE VA ENVIAR EL ID O EL IDENTIFICADOR DEL CLIENTE.\n\n**2.1.-\"cust_name\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR EL NOMBRE DEL CLIENTE.\n\n**2.2.-\"cust_ref\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR LA REFERENCIA DEL CLIENTE OJO NO SE PUEDE REPETIR LA REFERENCIA DE UN CLIENTE YA AGREGADO.\n\n**2.3.-\"credit_limit\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO. SE VA ENVIAR EL MONTO DEL LIMITE DE CREDITO.\n\n**2.4.-\"pymt_discount\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO. SE VA ENVIAR EL DESCUENTO APLICADO AL PAGO Y DEBE SER UN VALOR DEL 0 AL 100.\n\n**2.5.-\"discount\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO. SE VA ENVIAR EL MONTO DEL DESCUENTO HACIA LOS PRODUCTOS Y DEBE SER UN VALOR DEL 0 AL 100.\n\n**2.6.-\"tax_id\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR EL RFC DEL CLIENTE .\n\n**2.7.-\"salesman\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL . SE VA ENVIAR EL ID O IDENTIFICADOR DEL VENDEDOR.\n\n**2.8.-\"area\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL. SE VA ENVIAR EL ID O IDENTIFICADOR DEL AREA.\n\n**2.9.-\"tax_group_id\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL. SE VA ENVIAR EL ID O IDENTIFCADOR DEL GRUPO DE IMPUESTOS.\n\n**2.10.-\"location\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL ID O IDENTIFCADOR DEL ALMACEN.\n\n**2.11.-\"ship_via\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL. SE VA ENVIAR EL ID O IDENTIFICADOR DE LA COMPAÑIA DE TRANSPORTE.\n\n**2.12.-\"cfdi_method_payment\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR LA CLAVE DEL SAT DEL METODO DE PAGO.\n\n**2.13.-\"cfdi_form_payment\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR LA CLAVE DEL SAT DE LA FORMA DE PAGO.\n\n**2.14.-\"credit_status\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR LA ID O IDENTIFICADOR DEL ESTADO DE CREDITO.\n\n**2.15.-\"payment_terms\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR LA ID O IDENTIFICADOR DE LOS TERMINOS DE PAGO.\n\n**2.16.-\"address\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR LA DIRECCION DEL CLIENTE.\n\n**2.17.-\"curr_code\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR LA CLAVE DE LA MONEDA.\n\n**2.18.-\"sales_type\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR ID O IDENTIFICADOR DEL PRECIO DE LISTA.\n\n**2.19.-\"notes\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR LAS NOTAS DEL CLIENTE.\n\n**2.20.-\"street\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR LA CALLE DEL CLIENTE.\n\n**2.21.-\"street_number\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL NUMERO EXTERIOR DEL CLIENTE.\n\n**2.22.-\"suite_number\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL NUMERO INTERIOR DEL CLIENTE.\n\n**2.23.-\"district\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR LA COLONIA DEL CLIENTE.\n\n**2.24.-\"city\"=** ES UN CAMPO OPCIONALEY Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL NOMBRE DE LA CIUDAD DEL CLIENTE.\n\n**2.25.-\"state\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL ESTADO DEL CLIENTE.\n\n**2.26.-\"country\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL IDENTIFICADOR DEL PAIS.\n\n**2.26.-\"cust_pymt_method\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL ID O IDENTIFICADOR DEL METODO DE PAGO.\n\n**2.27.-\"segmento_id\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL ID O IDENTIFICADOR DEL SEGMENTO DEL CLIENTE.\n\n**2.28.-\"cust_cheque\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL.\n\n**2.29.-\"cust_cuenta_cheque\"=** ES UN CAMPO OPCIONALY ES DE TIPO STRING O NULL. SE VA ENVIAR EL NUMERO DE CUENTA DEL CHEQUE.\n\n**2.30.-\"cust_cuenta_transf\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR LA CUENTA DE TRANSFERENCIA.\n\n**2.31.-\"cust_banco_transf\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR LA CUENTA DE BANCO DE TRANSFERENCIA.\n\n**2.32.-\"phone\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL TELEFONO DEL CONTACTO DEL CLIENTE.\n\n**2.33.-\"phone2\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR UN SEGUNDO TELEFONO PARA EL CONTACTO DEL CLIENTE.\n\n**2.34.-\"fax\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR ES EL FAX DEL CONTACTO DEL CLIENTE.\n\n**2.35.-\"email\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL CORREO DEL CONTACTO DEL CLIENTE.\n\n**2.36.-\"cfdi_regimen_fiscal\"=** CAMPO OBLIGATORIO Y ES DE TIPO STRING . SE VA ENVIAR LA CLAVE DEL SAT DEL REGIMEN FISCAL.\n\n**2.37.-\"postal_code\"=** CAMPO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR EL CODIGO POSTAL DEL CLIENTE." }, "response": [ { "name": "Customers", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"cust_name\": \"Pedro32\", //Nombre del Cliente\r\n \"cust_ref\": \"Pedro32\", //Referencia del Cliente\r\n \"credit_limit\": 10000, //Limite de Crédito\r\n \"pymt_discount\": 0.00, //Descuento de pago\r\n \"discount\": 0, //Descuento\r\n \"tax_id\":\"00XXX000000XXXXX00\", //RFC\r\n \"salesman\":1, //Vendedor\r\n \"area\":1, //Área\r\n \"tax_group_id\": 1, //Grupo de impuesto\r\n \"location\": 1, //Almacen\r\n \"ship_via\": null, //\r\n \"cfdi_method_payment\": 2, //Método de Pago\r\n \"cfdi_form_payment\": 1, //Forma de Pago\r\n \"address\": \"\",\r\n \"curr_code\":\"MXN\", //Moneda\r\n \"payment_terms\": 0,//Términos de pagos\r\n \"street\":\"\", //Calle\r\n \"street_number\":111, //Numero de calle\r\n \"district\":0, //Distrito\r\n \"postal_code\": 0, //Código Postal\r\n \"city\":\"\", //Ciudad\r\n \"state\":\"\", //Estado\r\n \"country\":\"MX\" //País\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/sales/customers/1", "protocol": "https", "host": [ "{{API}}" ], "path": [ "api", "v3", "sales", "customers", "1" ] } }, "_postman_previewlanguage": "Text", "header": [], "cookie": [], "body": "" } ] }, { "name": "Branches", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"required\": \"CAMPOS REQUERIDOS\",\r\n \"customer_id\":1,\r\n \"br_name\": \"Prueba ACT\",\r\n \"br_ref\": \"REF 2\",\r\n \"optionals\":\"CAMPOS OPCIONALES\",\r\n \"br_address\":\"\",\r\n \"dist_km\":0,\r\n \"addr_street\":\"\",\r\n \"addr_exterior\":\"\",\r\n \"addr_interior\":\"\",\r\n \"addr_colony\":\"\",\r\n \"addr_city\":\"\",\r\n \"addr_state\":\"\",\r\n \"addr_zip\":\"\",\r\n \"addr_reference\":\"\",\r\n \"advance_invoice_account\": null,\r\n \"sales_account\": \"\",\r\n \"phone\": \"\",\r\n \"phone2\": \"\",\r\n \"fax\": \"\",\r\n \"email\": \"\",\r\n \"inactive\": false,\r\n \"contact_name\":null,\r\n \"disable_trans\":false,\r\n \"group_no\":\"0\",\r\n \"notes\":\"\",\r\n \"timbrado_localidad\":null,\r\n \"timbrado_residencia_fiscal\":null,\r\n \"timbrado_tipo_estacion\":null,\r\n \"timbrado_distancia_recorrida\":null,\r\n \"timbrado_num_estacion\":null,\r\n \"timbrado_nombre_estacion\":null,\r\n \"timbrado_id_destino\":null,\r\n \"timbrado_navegacion_trafico\":null,\r\n \"timbrado_pais\":null,\r\n \"timbrado_num_reg_id_trib\":null,\r\n \"timbrado_colonia\":null,\r\n \"timbrado_municipio\":null,\r\n \"timbrado_estado\":null\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/sales/branches/{{branch_branch_code}}", "host": [ "{{API}}" ], "path": [ "api", "v3", "sales", "branches", "{{branch_branch_code}}" ] }, "description": "**INFORMACIÓN DEL ENDPOINT**\n\nESTE METODO PUT SIRVE PARA ACTUALIZAR UN DOMICILIO DEL CLIENTE.\n\n***BODY:**\n\n**1.-TIPO:** RAW UTILIZANDO EL FORMATO JSON.\n\n**2.-ATRIBUTOS O CAMPOS DEL BODY:**\n\n**2.0.-{{branches_branch_code}}\"=** ES UN PARAMETRO OBLIGATORIO Y ES DE TIPO NUMERICO. SE VA ENVIAR EL ID O EL IDENTIFICADOR DEL DOMICILIO DEL CLIENTE.\n\n**2.1.-\"customer_id\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO O STRING. SE VA ENVIAR EL ID O IDENTIFICADOR DEL CLIENTE.\n\n**2.2.-\"branch_name\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR EL NOMBRE DEL DOMICILIO DEL CLIENTE.\n\n**2.3.-\"br_ref\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR LA REFERENCIA DEL DOMICILIO DEL CLIENTE.\n\n**2.4.-\"br_address\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NULL O STRING. SE VA ENVIAR LA DIRECCION DEL DOMICILIO DEL CLIENTE.\n\n**2.5.-\"dist_km\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO O STRING. SE VA ENVIAR LA DISTANCIA EN KILOMETROS DEL DOMICILIO DEL CLIENTE.\n\n**2.6.-\"addr_street\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR LA CALLE DEL DOMICILIO DEL CLIENTE.\n\n**2.7.-\"addr_exterior\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL NUMERO EXTERIOR DEL DOMICILIO DEL CLIENTE.\n\n**2.8.-\"addr_interior\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL NUMERO INTERIOR DEL DOMICILIO DEL CLIENTE.\n\n**2.9.-\"addr_colony\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR LA COLONIA DEL DOMICILIO DEL CLIENTE.\n\n**2.10.-\"addr_city\"=** ES UN CAMPO OPCIONALEY Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL NOMBRE DE LA CIUDAD DEL DOMICILIO DEL CLIENTE.\n\n**2.11.-\"addr_state\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL ESTADO DEL DOMICILIO DEL CLIENTE.\n\n**2.12.-\"addr_zip\"=** ES UN CAMPO OOPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL CODIGO POSTAL DEL CLIENTE.\n\n**2.13.-\"addr_reference\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR LA REFERENCIA DEL DOMICILIO DEL CLIENTE.\n\n**2.14.-\"advance_invoice_account\"=** ES UN CAMPO OPCIONALY ES DE TIPO STRING O NULL. SE VA ENVIAR EL NUMERO DE CUENTA PARA UNA FACTURA ACTICIPADA.\n\n**2.15.-\"sales_account\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL NUMERO DE CUENTA PARA CUENTA DE VENTAS .\n\n**2.16.-\"phone\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL TELEFONO DEL CONTACTO DEL DOMICILIO DEL CLIENTE.\n\n**2.17.-\"phone2\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR UN SEGUNDO TELEFONO PARA EL CONTACTO DEL DOMICILIO DEL CLIENTE.\n\n**2.18.-\"fax\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR ES EL FAX DEL CONTACTO DEL DOMICILIO DEL CLIENTE.\n\n**2.19.-\"email\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL CORREO DEL CONTACTO DEL DOMICILIO DEL CLIENTE.\n\n**2.20.-\"inactive\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O BOOLEANO O NULL. SE VA ENVIAR 0 O \"0\" O false PARA QUE EL DOMICILIO DEL CLIENTE ESTE ACTIVO O 1 O \"1\" O true PARA QUE EL DOMICILIO DEL CLIENTE NO ESTE ACTIVO.\n\n**2.21.-\"contact_name\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL NOMBRE DEL CONTACTO DEL DOMICILIO DEL CLIENTE.\n\n**2.22.-\"disable_trans\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O BOOLEANO O NULL. SE VA ENVIAR 0 O \"0\" O false PARA QUE EL DOMICILIO DEL CLIENTE NO PUEDA HACER LA TRANSACCION O 1 O \"1\" O true PARA QUE EL DOMICILIO DEL CLIENTE PUEDA HACER LA TRANSACCION.\n\n**2.23.-\"group_no\"=** CAMPO OPCIONAL Y ES DE TIPO NUMERICO O STRING O NULL. SE VA ENVIAR LA CLAVE DEL GRUPO DE VENTAS.\n\n**2.24.-\"notes\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR NOTAS DEL DOMICILIO DEL CLIENTE.\n\n**2.25.-\"timbrado_localidad\"=** CAMPO OPCIONAL Y DE TIPO STRING O NULL. SE VA ENVIAR LA LOCALIDAD DEL DOMICILIO DEL CLIENTE PARA CARTA PORTE.\n\n**2.26.-\"timbrado_residencia_fiscal\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR LA RESIDENCIA FISCAL DEL DOMICILIO DEL CLIENTE PARA CARTA PORTE.\n\n**2.27.-\"timbrado_tipo_estacion\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL IDENTIFICADOR O CLAVE DEL TIPO DE ESTACION DEL DOMICILIO DEL CLIENTE PARA CARTA PORTE.\n\n**2.28.-\"timbrado_distancia_recorrida\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR LA DISTANCIA RECORRIDA DEL DOMICILIO DEL CLIENTE PARA CARTA PORTE.\n\n**2.29.-\"timbrado_num_estacion\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL IDENTIFICADOR O CLAVE DEL TIPO DE ESTACION DOMICILIO DEL CLIENTE PARA CARTA PORTE.\n\n**2.30.-\"timbrado_nombre_estacion\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL NOMBRE DE LA ESTACIO DEL DOMICILIO DEL CLIENTE PARA CARTA PORTE.\n\n**2.31.-\"timbrado_id_destino\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL IDENTIFICADOR O CLAVE DEL DESTINO PARA EL DOMICILIO DEL CLIENTE PARA CARTA PORTE.\n\n**2.32.-\"timbrado_navegacion_trafico\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL IDENTIFICADOR O CLAVE DE LA NAVEGACION TRAFICO DEL DOMICILIO DEL CLIENTE PARA CARTA PORTE.\n\n**2.33.-\"timbrado_pais\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL IDENTIFICADOR O CLAVE DEL PAIS DEL DOMICILIO DEL CLIENTE PARA CARTA PORTE \"KEN - Kenia\".\n\n**2.34.-\"timbrado_num_reg_id_trib\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL IDENTIFICADOR O CLAVE DEL NUMERO DEL REGISTRO DEL DOMICILIO DEL CLIENTE PARA CARTA PORTE.\n\n**2.35.-\"timbrado_colonia\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL NOMBRE DE LA COLONIA DEL DOMICILIO DEL CLIENTE PARA CARTA PORTE.\n\n**2.36.-\"timbrado_municipio\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL NOMBRE DEL MUNICIPIO DEL DOMICILIO DEL CLIENTE PARA CARTA PORTE.\n\n**2.37.-\"timbrado_estado\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL NOMBRE DEL ESTADO DEL DOMICILIO DEL CLIENTE PARA CARTA PORTE." }, "response": [ { "name": "Branches", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"required\": \"CAMPOS REQUERIDOS\",\r\n \"customer_id\":1,\r\n \"br_name\": \"Prueba ACT\",\r\n \"br_ref\": \"REF 2\",\r\n \"optionals\":\"CAMPOS OPCIONALES\",\r\n \"br_address\":\"\",\r\n \"dist_km\":0,\r\n \"addr_street\":\"\",\r\n \"addr_exterior\":\"\",\r\n \"addr_interior\":\"\",\r\n \"addr_colony\":\"\",\r\n \"addr_city\":\"\",\r\n \"addr_state\":\"\",\r\n \"addr_zip\":\"\",\r\n \"addr_reference\":\"\",\r\n \"advance_invoice_account\": null,\r\n \"sales_account\": \"\",\r\n \"phone\": \"\",\r\n \"phone2\": \"\",\r\n \"fax\": \"\",\r\n \"email\": \"\",\r\n \"inactive\": false,\r\n \"contact_name\":null,\r\n \"disable_trans\":false,\r\n \"group_no\":\"0\",\r\n \"notes\":\"\",\r\n \"timbrado_localidad\":null,\r\n \"timbrado_residencia_fiscal\":null,\r\n \"timbrado_tipo_estacion\":null,\r\n \"timbrado_distancia_recorrida\":null,\r\n \"timbrado_num_estacion\":null,\r\n \"timbrado_nombre_estacion\":null,\r\n \"timbrado_id_destino\":null,\r\n \"timbrado_navegacion_trafico\":null,\r\n \"timbrado_pais\":null,\r\n \"timbrado_num_reg_id_trib\":null,\r\n \"timbrado_colonia\":null,\r\n \"timbrado_municipio\":null,\r\n \"timbrado_estado\":null\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/sales/branches/151", "host": [ "{{API}}" ], "path": [ "api", "v3", "sales", "branches", "151" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Thu, 01 Sep 2022 14:34:41 GMT" }, { "key": "Server", "value": "Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.4.1" }, { "key": "Vary", "value": "Authorization" }, { "key": "X-Powered-By", "value": "PHP/7.4.1" }, { "key": "Expires", "value": "Thu, 19 Nov 1981 08:52:00 GMT" }, { "key": "Cache-Control", "value": "private" }, { "key": "Pragma", "value": "no-cache" }, { "key": "Content-Length", "value": "131" }, { "key": "Keep-Alive", "value": "timeout=5, max=100" }, { "key": "Connection", "value": "Keep-Alive" }, { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"version\": \"3.22.35\",\n \"result\": true,\n \"messages\": [\n \"El domicilio del cliente seleccionado ha sido actualizado\"\n ],\n \"cust_branch_id\": \"151\"\n}" } ] } ] }, { "name": "Company", "item": [ { "name": "Taxes", "item": [ { "name": "Tax Groups", "request": { "method": "GET", "header": [], "url": { "raw": "{{API}}/api/v3/taxes/taxgroups?show_inactive=true&skip=0&limit=25", "host": [ "{{API}}" ], "path": [ "api", "v3", "taxes", "taxgroups" ], "query": [ { "key": "show_inactive", "value": "true", "description": "[optional] Flag, shows inactive records (do not send to only show active)" }, { "key": "skip", "value": "0", "description": "[optional] Skip this amount of records" }, { "key": "limit", "value": "25", "description": "[optional] Amount of records to fetch" } ] }, "description": "This method allows to retrieve a list of Tax Groups" }, "response": [ { "name": "Tax Groups Example", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{API}}/api/v2/taxes/taxgroups?show_inactive=true&skip=0&limit=25", "host": [ "{{API}}" ], "path": [ "api", "v2", "taxes", "taxgroups" ], "query": [ { "key": "show_inactive", "value": "true", "description": "[optional] Flag, shows inactive records (do not send to only show active)" }, { "key": "skip", "value": "0", "description": "[optional] Skip this amount of records" }, { "key": "limit", "value": "25", "description": "[optional] Amount of records to fetch" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Mon, 27 Jan 2020 16:14:48 GMT" }, { "key": "Server", "value": "Apache" }, { "key": "Expires", "value": "Thu, 19 Nov 1981 08:52:00 GMT" }, { "key": "Pragma", "value": "no-cache" }, { "key": "Cache-control", "value": "private" }, { "key": "Access-Control-Allow-Origin", "value": "*" }, { "key": "Access-Control-Allow-Methods", "value": "POST, GET, DELETE, PUT, PATCH, OPTIONS" }, { "key": "Access-Control-Allow-Headers", "value": "Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With" }, { "key": "Keep-Alive", "value": "timeout=5, max=100" }, { "key": "Connection", "value": "Keep-Alive" }, { "key": "Transfer-Encoding", "value": "chunked" }, { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"messages\": [],\n \"result\": true,\n \"version\": [\n 2,\n 1,\n 2109\n ],\n \"total\": 12,\n \"limit\": 25,\n \"skip\": 0,\n \"data\": [\n {\n \"id\": \"1\",\n \"name\": \"I.V.A. 16%\",\n \"tax_shipping\": \"0\",\n \"inactive\": \"0\",\n \"details\": [\n {\n \"tax_type_id\": \"1\",\n \"tax_type_name\": \"I.V.A. 16% (16%)\",\n \"sales_gl_code\": \"209-01-001\",\n \"purchasing_gl_code\": \"119-01-001\",\n \"rate\": \"16\",\n \"included\": true\n },\n {\n \"tax_type_id\": \"2\",\n \"tax_type_name\": \"I.S.R. 10% (-10%)\",\n \"sales_gl_code\": \"213-03-001\",\n \"purchasing_gl_code\": \"213-03-001\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"3\",\n \"tax_type_name\": \"I.V.A. RET 4% (-4%)\",\n \"sales_gl_code\": \"216-10-001\",\n \"purchasing_gl_code\": \"216-10-001\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"4\",\n \"tax_type_name\": \"I.V.A. 0% (0%)\",\n \"sales_gl_code\": \"118-01-002\",\n \"purchasing_gl_code\": \"118-01-002\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"5\",\n \"tax_type_name\": \"I.V.A. RET 10.66% (-10.666667%)\",\n \"sales_gl_code\": \"216-10-002\",\n \"purchasing_gl_code\": \"216-10-002\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"6\",\n \"tax_type_name\": \"ISH (3%)\",\n \"sales_gl_code\": \"101-01-001\",\n \"purchasing_gl_code\": \"101-01-001\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"7\",\n \"tax_type_name\": \"IEPS (6%)\",\n \"sales_gl_code\": \"1103-0001-0002\",\n \"purchasing_gl_code\": \"1103-0001-0002\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"8\",\n \"tax_type_name\": \"ieps 9 (9%)\",\n \"sales_gl_code\": \"101-01-003\",\n \"purchasing_gl_code\": \"101-01-003\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"9\",\n \"tax_type_name\": \"8% frontera (8%)\",\n \"sales_gl_code\": \"201-01-003\",\n \"purchasing_gl_code\": \"115-03-001\",\n \"rate\": \"\",\n \"included\": false\n }\n ]\n },\n {\n \"id\": \"2\",\n \"name\": \"Excento de Impuestos\",\n \"tax_shipping\": \"0\",\n \"inactive\": \"0\",\n \"details\": [\n {\n \"tax_type_id\": \"1\",\n \"tax_type_name\": \"I.V.A. 16% (16%)\",\n \"sales_gl_code\": \"209-01-001\",\n \"purchasing_gl_code\": \"119-01-001\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"2\",\n \"tax_type_name\": \"I.S.R. 10% (-10%)\",\n \"sales_gl_code\": \"213-03-001\",\n \"purchasing_gl_code\": \"213-03-001\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"3\",\n \"tax_type_name\": \"I.V.A. RET 4% (-4%)\",\n \"sales_gl_code\": \"216-10-001\",\n \"purchasing_gl_code\": \"216-10-001\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"4\",\n \"tax_type_name\": \"I.V.A. 0% (0%)\",\n \"sales_gl_code\": \"118-01-002\",\n \"purchasing_gl_code\": \"118-01-002\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"5\",\n \"tax_type_name\": \"I.V.A. RET 10.66% (-10.666667%)\",\n \"sales_gl_code\": \"216-10-002\",\n \"purchasing_gl_code\": \"216-10-002\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"6\",\n \"tax_type_name\": \"ISH (3%)\",\n \"sales_gl_code\": \"101-01-001\",\n \"purchasing_gl_code\": \"101-01-001\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"7\",\n \"tax_type_name\": \"IEPS (6%)\",\n \"sales_gl_code\": \"1103-0001-0002\",\n \"purchasing_gl_code\": \"1103-0001-0002\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"8\",\n \"tax_type_name\": \"ieps 9 (9%)\",\n \"sales_gl_code\": \"101-01-003\",\n \"purchasing_gl_code\": \"101-01-003\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"9\",\n \"tax_type_name\": \"8% frontera (8%)\",\n \"sales_gl_code\": \"201-01-003\",\n \"purchasing_gl_code\": \"115-03-001\",\n \"rate\": \"\",\n \"included\": false\n }\n ]\n },\n {\n \"id\": \"3\",\n \"name\": \"RET I.S.R. 10%\",\n \"tax_shipping\": \"0\",\n \"inactive\": \"0\",\n \"details\": [\n {\n \"tax_type_id\": \"1\",\n \"tax_type_name\": \"I.V.A. 16% (16%)\",\n \"sales_gl_code\": \"209-01-001\",\n \"purchasing_gl_code\": \"119-01-001\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"2\",\n \"tax_type_name\": \"I.S.R. 10% (-10%)\",\n \"sales_gl_code\": \"213-03-001\",\n \"purchasing_gl_code\": \"213-03-001\",\n \"rate\": \"-10\",\n \"included\": true\n },\n {\n \"tax_type_id\": \"3\",\n \"tax_type_name\": \"I.V.A. RET 4% (-4%)\",\n \"sales_gl_code\": \"216-10-001\",\n \"purchasing_gl_code\": \"216-10-001\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"4\",\n \"tax_type_name\": \"I.V.A. 0% (0%)\",\n \"sales_gl_code\": \"118-01-002\",\n \"purchasing_gl_code\": \"118-01-002\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"5\",\n \"tax_type_name\": \"I.V.A. RET 10.66% (-10.666667%)\",\n \"sales_gl_code\": \"216-10-002\",\n \"purchasing_gl_code\": \"216-10-002\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"6\",\n \"tax_type_name\": \"ISH (3%)\",\n \"sales_gl_code\": \"101-01-001\",\n \"purchasing_gl_code\": \"101-01-001\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"7\",\n \"tax_type_name\": \"IEPS (6%)\",\n \"sales_gl_code\": \"1103-0001-0002\",\n \"purchasing_gl_code\": \"1103-0001-0002\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"8\",\n \"tax_type_name\": \"ieps 9 (9%)\",\n \"sales_gl_code\": \"101-01-003\",\n \"purchasing_gl_code\": \"101-01-003\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"9\",\n \"tax_type_name\": \"8% frontera (8%)\",\n \"sales_gl_code\": \"201-01-003\",\n \"purchasing_gl_code\": \"115-03-001\",\n \"rate\": \"\",\n \"included\": false\n }\n ]\n },\n {\n \"id\": \"4\",\n \"name\": \"Todos los Impuestos\",\n \"tax_shipping\": \"0\",\n \"inactive\": \"0\",\n \"details\": [\n {\n \"tax_type_id\": \"1\",\n \"tax_type_name\": \"I.V.A. 16% (16%)\",\n \"sales_gl_code\": \"209-01-001\",\n \"purchasing_gl_code\": \"119-01-001\",\n \"rate\": \"16\",\n \"included\": true\n },\n {\n \"tax_type_id\": \"2\",\n \"tax_type_name\": \"I.S.R. 10% (-10%)\",\n \"sales_gl_code\": \"213-03-001\",\n \"purchasing_gl_code\": \"213-03-001\",\n \"rate\": \"-10\",\n \"included\": true\n },\n {\n \"tax_type_id\": \"3\",\n \"tax_type_name\": \"I.V.A. RET 4% (-4%)\",\n \"sales_gl_code\": \"216-10-001\",\n \"purchasing_gl_code\": \"216-10-001\",\n \"rate\": \"-4\",\n \"included\": true\n },\n {\n \"tax_type_id\": \"4\",\n \"tax_type_name\": \"I.V.A. 0% (0%)\",\n \"sales_gl_code\": \"118-01-002\",\n \"purchasing_gl_code\": \"118-01-002\",\n \"rate\": \"0\",\n \"included\": true\n },\n {\n \"tax_type_id\": \"5\",\n \"tax_type_name\": \"I.V.A. RET 10.66% (-10.666667%)\",\n \"sales_gl_code\": \"216-10-002\",\n \"purchasing_gl_code\": \"216-10-002\",\n \"rate\": \"-10.666667\",\n \"included\": true\n },\n {\n \"tax_type_id\": \"6\",\n \"tax_type_name\": \"ISH (3%)\",\n \"sales_gl_code\": \"101-01-001\",\n \"purchasing_gl_code\": \"101-01-001\",\n \"rate\": \"3\",\n \"included\": true\n },\n {\n \"tax_type_id\": \"7\",\n \"tax_type_name\": \"IEPS (6%)\",\n \"sales_gl_code\": \"1103-0001-0002\",\n \"purchasing_gl_code\": \"1103-0001-0002\",\n \"rate\": \"6\",\n \"included\": true\n },\n {\n \"tax_type_id\": \"8\",\n \"tax_type_name\": \"ieps 9 (9%)\",\n \"sales_gl_code\": \"101-01-003\",\n \"purchasing_gl_code\": \"101-01-003\",\n \"rate\": \"9\",\n \"included\": true\n },\n {\n \"tax_type_id\": \"9\",\n \"tax_type_name\": \"8% frontera (8%)\",\n \"sales_gl_code\": \"201-01-003\",\n \"purchasing_gl_code\": \"115-03-001\",\n \"rate\": \"\",\n \"included\": false\n }\n ]\n },\n {\n \"id\": \"5\",\n \"name\": \"RET I.V.A. 4%\",\n \"tax_shipping\": \"0\",\n \"inactive\": \"0\",\n \"details\": [\n {\n \"tax_type_id\": \"1\",\n \"tax_type_name\": \"I.V.A. 16% (16%)\",\n \"sales_gl_code\": \"209-01-001\",\n \"purchasing_gl_code\": \"119-01-001\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"2\",\n \"tax_type_name\": \"I.S.R. 10% (-10%)\",\n \"sales_gl_code\": \"213-03-001\",\n \"purchasing_gl_code\": \"213-03-001\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"3\",\n \"tax_type_name\": \"I.V.A. RET 4% (-4%)\",\n \"sales_gl_code\": \"216-10-001\",\n \"purchasing_gl_code\": \"216-10-001\",\n \"rate\": \"-4\",\n \"included\": true\n },\n {\n \"tax_type_id\": \"4\",\n \"tax_type_name\": \"I.V.A. 0% (0%)\",\n \"sales_gl_code\": \"118-01-002\",\n \"purchasing_gl_code\": \"118-01-002\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"5\",\n \"tax_type_name\": \"I.V.A. RET 10.66% (-10.666667%)\",\n \"sales_gl_code\": \"216-10-002\",\n \"purchasing_gl_code\": \"216-10-002\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"6\",\n \"tax_type_name\": \"ISH (3%)\",\n \"sales_gl_code\": \"101-01-001\",\n \"purchasing_gl_code\": \"101-01-001\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"7\",\n \"tax_type_name\": \"IEPS (6%)\",\n \"sales_gl_code\": \"1103-0001-0002\",\n \"purchasing_gl_code\": \"1103-0001-0002\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"8\",\n \"tax_type_name\": \"ieps 9 (9%)\",\n \"sales_gl_code\": \"101-01-003\",\n \"purchasing_gl_code\": \"101-01-003\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"9\",\n \"tax_type_name\": \"8% frontera (8%)\",\n \"sales_gl_code\": \"201-01-003\",\n \"purchasing_gl_code\": \"115-03-001\",\n \"rate\": \"\",\n \"included\": false\n }\n ]\n },\n {\n \"id\": \"6\",\n \"name\": \"RET I.V.A. 10.66%\",\n \"tax_shipping\": \"0\",\n \"inactive\": \"0\",\n \"details\": [\n {\n \"tax_type_id\": \"1\",\n \"tax_type_name\": \"I.V.A. 16% (16%)\",\n \"sales_gl_code\": \"209-01-001\",\n \"purchasing_gl_code\": \"119-01-001\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"2\",\n \"tax_type_name\": \"I.S.R. 10% (-10%)\",\n \"sales_gl_code\": \"213-03-001\",\n \"purchasing_gl_code\": \"213-03-001\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"3\",\n \"tax_type_name\": \"I.V.A. RET 4% (-4%)\",\n \"sales_gl_code\": \"216-10-001\",\n \"purchasing_gl_code\": \"216-10-001\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"4\",\n \"tax_type_name\": \"I.V.A. 0% (0%)\",\n \"sales_gl_code\": \"118-01-002\",\n \"purchasing_gl_code\": \"118-01-002\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"5\",\n \"tax_type_name\": \"I.V.A. RET 10.66% (-10.666667%)\",\n \"sales_gl_code\": \"216-10-002\",\n \"purchasing_gl_code\": \"216-10-002\",\n \"rate\": \"-10.666667\",\n \"included\": true\n },\n {\n \"tax_type_id\": \"6\",\n \"tax_type_name\": \"ISH (3%)\",\n \"sales_gl_code\": \"101-01-001\",\n \"purchasing_gl_code\": \"101-01-001\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"7\",\n \"tax_type_name\": \"IEPS (6%)\",\n \"sales_gl_code\": \"1103-0001-0002\",\n \"purchasing_gl_code\": \"1103-0001-0002\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"8\",\n \"tax_type_name\": \"ieps 9 (9%)\",\n \"sales_gl_code\": \"101-01-003\",\n \"purchasing_gl_code\": \"101-01-003\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"9\",\n \"tax_type_name\": \"8% frontera (8%)\",\n \"sales_gl_code\": \"201-01-003\",\n \"purchasing_gl_code\": \"115-03-001\",\n \"rate\": \"\",\n \"included\": false\n }\n ]\n },\n {\n \"id\": \"7\",\n \"name\": \"IVA 16% e ISH 3%\",\n \"tax_shipping\": \"0\",\n \"inactive\": \"0\",\n \"details\": [\n {\n \"tax_type_id\": \"1\",\n \"tax_type_name\": \"I.V.A. 16% (16%)\",\n \"sales_gl_code\": \"209-01-001\",\n \"purchasing_gl_code\": \"119-01-001\",\n \"rate\": \"16\",\n \"included\": true\n },\n {\n \"tax_type_id\": \"2\",\n \"tax_type_name\": \"I.S.R. 10% (-10%)\",\n \"sales_gl_code\": \"213-03-001\",\n \"purchasing_gl_code\": \"213-03-001\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"3\",\n \"tax_type_name\": \"I.V.A. RET 4% (-4%)\",\n \"sales_gl_code\": \"216-10-001\",\n \"purchasing_gl_code\": \"216-10-001\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"4\",\n \"tax_type_name\": \"I.V.A. 0% (0%)\",\n \"sales_gl_code\": \"118-01-002\",\n \"purchasing_gl_code\": \"118-01-002\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"5\",\n \"tax_type_name\": \"I.V.A. RET 10.66% (-10.666667%)\",\n \"sales_gl_code\": \"216-10-002\",\n \"purchasing_gl_code\": \"216-10-002\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"6\",\n \"tax_type_name\": \"ISH (3%)\",\n \"sales_gl_code\": \"101-01-001\",\n \"purchasing_gl_code\": \"101-01-001\",\n \"rate\": \"3\",\n \"included\": true\n },\n {\n \"tax_type_id\": \"7\",\n \"tax_type_name\": \"IEPS (6%)\",\n \"sales_gl_code\": \"1103-0001-0002\",\n \"purchasing_gl_code\": \"1103-0001-0002\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"8\",\n \"tax_type_name\": \"ieps 9 (9%)\",\n \"sales_gl_code\": \"101-01-003\",\n \"purchasing_gl_code\": \"101-01-003\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"9\",\n \"tax_type_name\": \"8% frontera (8%)\",\n \"sales_gl_code\": \"201-01-003\",\n \"purchasing_gl_code\": \"115-03-001\",\n \"rate\": \"\",\n \"included\": false\n }\n ]\n },\n {\n \"id\": \"8\",\n \"name\": \"IEPS 9\",\n \"tax_shipping\": \"0\",\n \"inactive\": \"0\",\n \"details\": [\n {\n \"tax_type_id\": \"1\",\n \"tax_type_name\": \"I.V.A. 16% (16%)\",\n \"sales_gl_code\": \"209-01-001\",\n \"purchasing_gl_code\": \"119-01-001\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"2\",\n \"tax_type_name\": \"I.S.R. 10% (-10%)\",\n \"sales_gl_code\": \"213-03-001\",\n \"purchasing_gl_code\": \"213-03-001\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"3\",\n \"tax_type_name\": \"I.V.A. RET 4% (-4%)\",\n \"sales_gl_code\": \"216-10-001\",\n \"purchasing_gl_code\": \"216-10-001\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"4\",\n \"tax_type_name\": \"I.V.A. 0% (0%)\",\n \"sales_gl_code\": \"118-01-002\",\n \"purchasing_gl_code\": \"118-01-002\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"5\",\n \"tax_type_name\": \"I.V.A. RET 10.66% (-10.666667%)\",\n \"sales_gl_code\": \"216-10-002\",\n \"purchasing_gl_code\": \"216-10-002\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"6\",\n \"tax_type_name\": \"ISH (3%)\",\n \"sales_gl_code\": \"101-01-001\",\n \"purchasing_gl_code\": \"101-01-001\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"7\",\n \"tax_type_name\": \"IEPS (6%)\",\n \"sales_gl_code\": \"1103-0001-0002\",\n \"purchasing_gl_code\": \"1103-0001-0002\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"8\",\n \"tax_type_name\": \"ieps 9 (9%)\",\n \"sales_gl_code\": \"101-01-003\",\n \"purchasing_gl_code\": \"101-01-003\",\n \"rate\": \"9\",\n \"included\": true\n },\n {\n \"tax_type_id\": \"9\",\n \"tax_type_name\": \"8% frontera (8%)\",\n \"sales_gl_code\": \"201-01-003\",\n \"purchasing_gl_code\": \"115-03-001\",\n \"rate\": \"\",\n \"included\": false\n }\n ]\n },\n {\n \"id\": \"9\",\n \"name\": \"IEPS 6\",\n \"tax_shipping\": \"0\",\n \"inactive\": \"0\",\n \"details\": [\n {\n \"tax_type_id\": \"1\",\n \"tax_type_name\": \"I.V.A. 16% (16%)\",\n \"sales_gl_code\": \"209-01-001\",\n \"purchasing_gl_code\": \"119-01-001\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"2\",\n \"tax_type_name\": \"I.S.R. 10% (-10%)\",\n \"sales_gl_code\": \"213-03-001\",\n \"purchasing_gl_code\": \"213-03-001\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"3\",\n \"tax_type_name\": \"I.V.A. RET 4% (-4%)\",\n \"sales_gl_code\": \"216-10-001\",\n \"purchasing_gl_code\": \"216-10-001\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"4\",\n \"tax_type_name\": \"I.V.A. 0% (0%)\",\n \"sales_gl_code\": \"118-01-002\",\n \"purchasing_gl_code\": \"118-01-002\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"5\",\n \"tax_type_name\": \"I.V.A. RET 10.66% (-10.666667%)\",\n \"sales_gl_code\": \"216-10-002\",\n \"purchasing_gl_code\": \"216-10-002\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"6\",\n \"tax_type_name\": \"ISH (3%)\",\n \"sales_gl_code\": \"101-01-001\",\n \"purchasing_gl_code\": \"101-01-001\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"7\",\n \"tax_type_name\": \"IEPS (6%)\",\n \"sales_gl_code\": \"1103-0001-0002\",\n \"purchasing_gl_code\": \"1103-0001-0002\",\n \"rate\": \"6\",\n \"included\": true\n },\n {\n \"tax_type_id\": \"8\",\n \"tax_type_name\": \"ieps 9 (9%)\",\n \"sales_gl_code\": \"101-01-003\",\n \"purchasing_gl_code\": \"101-01-003\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"9\",\n \"tax_type_name\": \"8% frontera (8%)\",\n \"sales_gl_code\": \"201-01-003\",\n \"purchasing_gl_code\": \"115-03-001\",\n \"rate\": \"\",\n \"included\": false\n }\n ]\n },\n {\n \"id\": \"10\",\n \"name\": \"8%\",\n \"tax_shipping\": \"0\",\n \"inactive\": \"0\",\n \"details\": [\n {\n \"tax_type_id\": \"1\",\n \"tax_type_name\": \"I.V.A. 16% (16%)\",\n \"sales_gl_code\": \"209-01-001\",\n \"purchasing_gl_code\": \"119-01-001\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"2\",\n \"tax_type_name\": \"I.S.R. 10% (-10%)\",\n \"sales_gl_code\": \"213-03-001\",\n \"purchasing_gl_code\": \"213-03-001\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"3\",\n \"tax_type_name\": \"I.V.A. RET 4% (-4%)\",\n \"sales_gl_code\": \"216-10-001\",\n \"purchasing_gl_code\": \"216-10-001\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"4\",\n \"tax_type_name\": \"I.V.A. 0% (0%)\",\n \"sales_gl_code\": \"118-01-002\",\n \"purchasing_gl_code\": \"118-01-002\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"5\",\n \"tax_type_name\": \"I.V.A. RET 10.66% (-10.666667%)\",\n \"sales_gl_code\": \"216-10-002\",\n \"purchasing_gl_code\": \"216-10-002\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"6\",\n \"tax_type_name\": \"ISH (3%)\",\n \"sales_gl_code\": \"101-01-001\",\n \"purchasing_gl_code\": \"101-01-001\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"7\",\n \"tax_type_name\": \"IEPS (6%)\",\n \"sales_gl_code\": \"1103-0001-0002\",\n \"purchasing_gl_code\": \"1103-0001-0002\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"8\",\n \"tax_type_name\": \"ieps 9 (9%)\",\n \"sales_gl_code\": \"101-01-003\",\n \"purchasing_gl_code\": \"101-01-003\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"9\",\n \"tax_type_name\": \"8% frontera (8%)\",\n \"sales_gl_code\": \"201-01-003\",\n \"purchasing_gl_code\": \"115-03-001\",\n \"rate\": \"8\",\n \"included\": true\n }\n ]\n },\n {\n \"id\": \"11\",\n \"name\": \"IVA 0%\",\n \"tax_shipping\": \"0\",\n \"inactive\": \"0\",\n \"details\": [\n {\n \"tax_type_id\": \"1\",\n \"tax_type_name\": \"I.V.A. 16% (16%)\",\n \"sales_gl_code\": \"209-01-001\",\n \"purchasing_gl_code\": \"119-01-001\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"2\",\n \"tax_type_name\": \"I.S.R. 10% (-10%)\",\n \"sales_gl_code\": \"213-03-001\",\n \"purchasing_gl_code\": \"213-03-001\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"3\",\n \"tax_type_name\": \"I.V.A. RET 4% (-4%)\",\n \"sales_gl_code\": \"216-10-001\",\n \"purchasing_gl_code\": \"216-10-001\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"4\",\n \"tax_type_name\": \"I.V.A. 0% (0%)\",\n \"sales_gl_code\": \"118-01-002\",\n \"purchasing_gl_code\": \"118-01-002\",\n \"rate\": \"0\",\n \"included\": true\n },\n {\n \"tax_type_id\": \"5\",\n \"tax_type_name\": \"I.V.A. RET 10.66% (-10.666667%)\",\n \"sales_gl_code\": \"216-10-002\",\n \"purchasing_gl_code\": \"216-10-002\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"6\",\n \"tax_type_name\": \"ISH (3%)\",\n \"sales_gl_code\": \"101-01-001\",\n \"purchasing_gl_code\": \"101-01-001\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"7\",\n \"tax_type_name\": \"IEPS (6%)\",\n \"sales_gl_code\": \"1103-0001-0002\",\n \"purchasing_gl_code\": \"1103-0001-0002\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"8\",\n \"tax_type_name\": \"ieps 9 (9%)\",\n \"sales_gl_code\": \"101-01-003\",\n \"purchasing_gl_code\": \"101-01-003\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"9\",\n \"tax_type_name\": \"8% frontera (8%)\",\n \"sales_gl_code\": \"201-01-003\",\n \"purchasing_gl_code\": \"115-03-001\",\n \"rate\": \"\",\n \"included\": false\n }\n ]\n },\n {\n \"id\": \"12\",\n \"name\": \"TEST\",\n \"tax_shipping\": \"0\",\n \"inactive\": \"0\",\n \"details\": [\n {\n \"tax_type_id\": \"1\",\n \"tax_type_name\": \"I.V.A. 16% (16%)\",\n \"sales_gl_code\": \"209-01-001\",\n \"purchasing_gl_code\": \"119-01-001\",\n \"rate\": \"16\",\n \"included\": true\n },\n {\n \"tax_type_id\": \"2\",\n \"tax_type_name\": \"I.S.R. 10% (-10%)\",\n \"sales_gl_code\": \"213-03-001\",\n \"purchasing_gl_code\": \"213-03-001\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"3\",\n \"tax_type_name\": \"I.V.A. RET 4% (-4%)\",\n \"sales_gl_code\": \"216-10-001\",\n \"purchasing_gl_code\": \"216-10-001\",\n \"rate\": \"-4\",\n \"included\": true\n },\n {\n \"tax_type_id\": \"4\",\n \"tax_type_name\": \"I.V.A. 0% (0%)\",\n \"sales_gl_code\": \"118-01-002\",\n \"purchasing_gl_code\": \"118-01-002\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"5\",\n \"tax_type_name\": \"I.V.A. RET 10.66% (-10.666667%)\",\n \"sales_gl_code\": \"216-10-002\",\n \"purchasing_gl_code\": \"216-10-002\",\n \"rate\": \"-10.666667\",\n \"included\": true\n },\n {\n \"tax_type_id\": \"6\",\n \"tax_type_name\": \"ISH (3%)\",\n \"sales_gl_code\": \"101-01-001\",\n \"purchasing_gl_code\": \"101-01-001\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"7\",\n \"tax_type_name\": \"IEPS (6%)\",\n \"sales_gl_code\": \"1103-0001-0002\",\n \"purchasing_gl_code\": \"1103-0001-0002\",\n \"rate\": \"6\",\n \"included\": true\n },\n {\n \"tax_type_id\": \"8\",\n \"tax_type_name\": \"ieps 9 (9%)\",\n \"sales_gl_code\": \"101-01-003\",\n \"purchasing_gl_code\": \"101-01-003\",\n \"rate\": \"\",\n \"included\": false\n },\n {\n \"tax_type_id\": \"9\",\n \"tax_type_name\": \"8% frontera (8%)\",\n \"sales_gl_code\": \"201-01-003\",\n \"purchasing_gl_code\": \"115-03-001\",\n \"rate\": \"8\",\n \"included\": true\n }\n ]\n }\n ]\n}" } ] }, { "name": "Tax Types", "request": { "method": "GET", "header": [], "url": { "raw": "{{API}}/api/v3/taxes/taxtypes?show_inactive=true&skip=0&limit=25", "host": [ "{{API}}" ], "path": [ "api", "v3", "taxes", "taxtypes" ], "query": [ { "key": "show_inactive", "value": "true", "description": "[optional] Flag, shows inactive records (do not send to only show active)" }, { "key": "skip", "value": "0", "description": "[optional] Skip this amount of records" }, { "key": "limit", "value": "25", "description": "[optional] Amount of records to fetch" } ] }, "description": "This methods brings the current list of tax types" }, "response": [ { "name": "Tax List (Tax Types) Example", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{API}}/api/v3/taxes/taxtypes?show_inactive=true&skip=0&limit=25", "host": [ "{{API}}" ], "path": [ "api", "v3", "taxes", "taxtypes" ], "query": [ { "key": "show_inactive", "value": "true", "description": "[optional] Flag, shows inactive records (do not send to only show active)" }, { "key": "skip", "value": "0", "description": "[optional] Skip this amount of records" }, { "key": "limit", "value": "25", "description": "[optional] Amount of records to fetch" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Mon, 27 Jan 2020 16:16:51 GMT" }, { "key": "Server", "value": "Apache" }, { "key": "Expires", "value": "Thu, 19 Nov 1981 08:52:00 GMT" }, { "key": "Pragma", "value": "no-cache" }, { "key": "Cache-control", "value": "private" }, { "key": "Access-Control-Allow-Origin", "value": "*" }, { "key": "Access-Control-Allow-Methods", "value": "POST, GET, DELETE, PUT, PATCH, OPTIONS" }, { "key": "Access-Control-Allow-Headers", "value": "Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With" }, { "key": "Keep-Alive", "value": "timeout=5, max=100" }, { "key": "Connection", "value": "Keep-Alive" }, { "key": "Transfer-Encoding", "value": "chunked" }, { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"messages\": [],\n \"result\": true,\n \"version\": [\n 2,\n 1,\n 2112\n ],\n \"total\": 9,\n \"limit\": 25,\n \"skip\": 0,\n \"data\": [\n {\n \"id\": \"1\",\n \"rate\": \"16\",\n \"sales_gl_code\": \"209-01-001\",\n \"paid_sales_gl_code\": \"208-01-001\",\n \"purchasing_gl_code\": \"119-01-001\",\n \"paid_purcharses_gl_code\": \"118-01-001\",\n \"name\": \"I.V.A. 16%\",\n \"inactive\": \"0\",\n \"SalesAccountName\": \"IVA Trasladado No Cobrado\",\n \"PaidSalesAccountName\": \"IVA trasladado cobrado\",\n \"PurchasingAccountName\": \"IVA acreditable pendiente de pago\",\n \"PaidPurcharsesAccountName\": \"IVA acreditable pagado\"\n },\n {\n \"id\": \"2\",\n \"rate\": \"-10\",\n \"sales_gl_code\": \"213-03-001\",\n \"paid_sales_gl_code\": \"213-03-001\",\n \"purchasing_gl_code\": \"213-03-001\",\n \"paid_purcharses_gl_code\": \"213-03-001\",\n \"name\": \"I.S.R. 10%\",\n \"inactive\": \"0\",\n \"SalesAccountName\": \"ISR por pagar\",\n \"PaidSalesAccountName\": \"ISR por pagar\",\n \"PurchasingAccountName\": \"ISR por pagar\",\n \"PaidPurcharsesAccountName\": \"ISR por pagar\"\n },\n {\n \"id\": \"3\",\n \"rate\": \"-4\",\n \"sales_gl_code\": \"216-10-001\",\n \"paid_sales_gl_code\": \"216-10-001\",\n \"purchasing_gl_code\": \"216-10-001\",\n \"paid_purcharses_gl_code\": \"216-10-001\",\n \"name\": \"I.V.A. RET 4%\",\n \"inactive\": \"0\",\n \"SalesAccountName\": \"Impuestos retenidos de IVA\",\n \"PaidSalesAccountName\": \"Impuestos retenidos de IVA\",\n \"PurchasingAccountName\": \"Impuestos retenidos de IVA\",\n \"PaidPurcharsesAccountName\": \"Impuestos retenidos de IVA\"\n },\n {\n \"id\": \"4\",\n \"rate\": \"0\",\n \"sales_gl_code\": \"118-01-002\",\n \"paid_sales_gl_code\": \"118-01-002\",\n \"purchasing_gl_code\": \"118-01-002\",\n \"paid_purcharses_gl_code\": \"118-01-002\",\n \"name\": \"I.V.A. 0%\",\n \"inactive\": \"0\",\n \"SalesAccountName\": \"IVA 0% acreditable pagado\",\n \"PaidSalesAccountName\": \"IVA 0% acreditable pagado\",\n \"PurchasingAccountName\": \"IVA 0% acreditable pagado\",\n \"PaidPurcharsesAccountName\": \"IVA 0% acreditable pagado\"\n },\n {\n \"id\": \"5\",\n \"rate\": \"-10.666667\",\n \"sales_gl_code\": \"216-10-002\",\n \"paid_sales_gl_code\": \"216-10-001\",\n \"purchasing_gl_code\": \"216-10-002\",\n \"paid_purcharses_gl_code\": \"216-10-001\",\n \"name\": \"I.V.A. RET 10.66%\",\n \"inactive\": \"0\",\n \"SalesAccountName\": \"Impuestos retenidos de IVA 10.66%\",\n \"PaidSalesAccountName\": \"Impuestos retenidos de IVA\",\n \"PurchasingAccountName\": \"Impuestos retenidos de IVA 10.66%\",\n \"PaidPurcharsesAccountName\": \"Impuestos retenidos de IVA\"\n },\n {\n \"id\": \"6\",\n \"rate\": \"3\",\n \"sales_gl_code\": \"101-01-001\",\n \"paid_sales_gl_code\": \"101-01-001\",\n \"purchasing_gl_code\": \"101-01-001\",\n \"paid_purcharses_gl_code\": \"101-01-001\",\n \"name\": \"ISH\",\n \"inactive\": \"0\",\n \"SalesAccountName\": \"Caja Chica\",\n \"PaidSalesAccountName\": \"Caja Chica\",\n \"PurchasingAccountName\": \"Caja Chica\",\n \"PaidPurcharsesAccountName\": \"Caja Chica\"\n },\n {\n \"id\": \"7\",\n \"rate\": \"6\",\n \"sales_gl_code\": \"1103-0001-0002\",\n \"paid_sales_gl_code\": \"1103-0001-0002\",\n \"purchasing_gl_code\": \"1103-0001-0002\",\n \"paid_purcharses_gl_code\": \"1103-0001-0002\",\n \"name\": \"IEPS\",\n \"inactive\": \"0\",\n \"SalesAccountName\": \"BBVA BANCOMER CTA. 0443503488\",\n \"PaidSalesAccountName\": \"BBVA BANCOMER CTA. 0443503488\",\n \"PurchasingAccountName\": \"BBVA BANCOMER CTA. 0443503488\",\n \"PaidPurcharsesAccountName\": \"BBVA BANCOMER CTA. 0443503488\"\n },\n {\n \"id\": \"8\",\n \"rate\": \"9\",\n \"sales_gl_code\": \"101-01-003\",\n \"paid_sales_gl_code\": \"101-01-003\",\n \"purchasing_gl_code\": \"101-01-003\",\n \"paid_purcharses_gl_code\": \"101-01-003\",\n \"name\": \"ieps 9\",\n \"inactive\": \"0\",\n \"SalesAccountName\": \"CAJA CHICA ADMON/ex\",\n \"PaidSalesAccountName\": \"CAJA CHICA ADMON/ex\",\n \"PurchasingAccountName\": \"CAJA CHICA ADMON/ex\",\n \"PaidPurcharsesAccountName\": \"CAJA CHICA ADMON/ex\"\n },\n {\n \"id\": \"9\",\n \"rate\": \"8\",\n \"sales_gl_code\": \"201-01-003\",\n \"paid_sales_gl_code\": \"206-01-001\",\n \"purchasing_gl_code\": \"115-03-001\",\n \"paid_purcharses_gl_code\": \"115-03-001\",\n \"name\": \"8% frontera\",\n \"inactive\": \"0\",\n \"SalesAccountName\": \"PROVEEDOR AMAZON\",\n \"PaidSalesAccountName\": \"Anticipo de clientes\",\n \"PurchasingAccountName\": \"Produccion en proceso\",\n \"PaidPurcharsesAccountName\": \"Produccion en proceso\"\n }\n ]\n}" } ] } ] }, { "name": "Payment Terms", "request": { "method": "GET", "header": [], "url": { "raw": "{{API}}/api/v3/configs/payment_terms?show_inactive=true&skip=0&limit=25", "host": [ "{{API}}" ], "path": [ "api", "v3", "configs", "payment_terms" ], "query": [ { "key": "show_inactive", "value": "true", "description": "Mostrar registros inactivos" }, { "key": "skip", "value": "0", "description": "Numero de filas a saltar" }, { "key": "limit", "value": "25", "description": "Numero limite de registros a cargar " } ] } }, "response": [] }, { "name": "Shippers", "request": { "method": "GET", "header": [], "url": { "raw": "{{API}}/api/v3/configs/shippers?show_inactive=true&skip=0&limit=25", "host": [ "{{API}}" ], "path": [ "api", "v3", "configs", "shippers" ], "query": [ { "key": "show_inactive", "value": "true", "description": "[optional] Flag, shows inactive records (do not send to only show active)" }, { "key": "skip", "value": "0", "description": "[optional] Skip this amount of records" }, { "key": "limit", "value": "25", "description": "[optional] Amount of records to fetch" } ] }, "description": "This methods retrieves a list of shipping companies" }, "response": [ { "name": "Shippers Example", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{API}}/api/v3/configs/shippers?show_inactive=true&skip=0&limit=25", "host": [ "{{API}}" ], "path": [ "api", "v3", "configs", "shippers" ], "query": [ { "key": "show_inactive", "value": "true", "description": "[optional] Flag, shows inactive records (do not send to only show active)" }, { "key": "skip", "value": "0", "description": "[optional] Skip this amount of records" }, { "key": "limit", "value": "25", "description": "[optional] Amount of records to fetch" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Mon, 27 Jan 2020 16:06:17 GMT" }, { "key": "Server", "value": "Apache" }, { "key": "Expires", "value": "Thu, 19 Nov 1981 08:52:00 GMT" }, { "key": "Pragma", "value": "no-cache" }, { "key": "Cache-control", "value": "private" }, { "key": "Access-Control-Allow-Origin", "value": "*" }, { "key": "Access-Control-Allow-Methods", "value": "POST, GET, DELETE, PUT, PATCH, OPTIONS" }, { "key": "Access-Control-Allow-Headers", "value": "Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With" }, { "key": "Keep-Alive", "value": "timeout=5, max=100" }, { "key": "Connection", "value": "Keep-Alive" }, { "key": "Transfer-Encoding", "value": "chunked" }, { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"messages\": [],\n \"result\": true,\n \"version\": [\n 2,\n 1,\n 2097\n ],\n \"total\": 2,\n \"limit\": 25,\n \"skip\": 0,\n \"data\": [\n {\n \"shipper_id\": \"1\",\n \"shipper_name\": \"ESTAFETA\",\n \"phone\": \"000000000\",\n \"phone2\": \"\",\n \"contact\": \"Alguien\",\n \"address\": \"Direccion\",\n \"inactive\": \"0\",\n \"shipper_type\": \"Externo\",\n \"bar_code\": \"1011909271533\"\n },\n {\n \"shipper_id\": \"2\",\n \"shipper_name\": \"Interno\",\n \"phone\": \"Interno\",\n \"phone2\": \"\",\n \"contact\": \"Interno\",\n \"address\": \"Interno\",\n \"inactive\": \"0\",\n \"shipper_type\": \"Interno\",\n \"bar_code\": \"1021909271533\"\n }\n ]\n}" } ] }, { "name": "Payment Methods", "request": { "method": "GET", "header": [], "url": { "raw": "{{API}}/api/v3/configs/paymentmethods?show_inactive=true&skip=0&limit=25", "host": [ "{{API}}" ], "path": [ "api", "v3", "configs", "paymentmethods" ], "query": [ { "key": "show_inactive", "value": "true", "description": "Mostrar registros inactivos" }, { "key": "skip", "value": "0", "description": "Numero de filas a saltar" }, { "key": "limit", "value": "25", "description": "Numero limite de registros a cargar " } ] }, "description": "This method allows to retrieve the list of available payment methods" }, "response": [ { "name": "Payment Methods Example", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{API}}/api/v3/configs/paymentmethods?show_inactive=true&skip=0&limit=25", "host": [ "{{API}}" ], "path": [ "api", "v3", "configs", "paymentmethods" ], "query": [ { "key": "show_inactive", "value": "true", "description": "[optional] Flag, shows inactive records (do not send to only show active)" }, { "key": "skip", "value": "0", "description": "[optional] Skip this amount of records" }, { "key": "limit", "value": "25", "description": "[optional] Amount of records to fetch" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Mon, 27 Jan 2020 16:23:12 GMT" }, { "key": "Server", "value": "Apache" }, { "key": "Expires", "value": "Thu, 19 Nov 1981 08:52:00 GMT" }, { "key": "Pragma", "value": "no-cache" }, { "key": "Cache-control", "value": "private" }, { "key": "Access-Control-Allow-Origin", "value": "*" }, { "key": "Access-Control-Allow-Methods", "value": "POST, GET, DELETE, PUT, PATCH, OPTIONS" }, { "key": "Access-Control-Allow-Headers", "value": "Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With" }, { "key": "Keep-Alive", "value": "timeout=5, max=100" }, { "key": "Connection", "value": "Keep-Alive" }, { "key": "Transfer-Encoding", "value": "chunked" }, { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"messages\": [],\n \"result\": true,\n \"version\": [\n 2,\n 1,\n 2121\n ],\n \"total\": 19,\n \"limit\": 25,\n \"skip\": 0,\n \"data\": [\n {\n \"id\": \"1\",\n \"clave\": \"01\",\n \"descripcion\": \"Efectivo\",\n \"tipo\": \"3\",\n \"inactive\": \"0\",\n \"v33_forma_pago_clave\": \"01\"\n },\n {\n \"id\": \"2\",\n \"clave\": \"02\",\n \"descripcion\": \"Cheque\",\n \"tipo\": \"1\",\n \"inactive\": \"0\",\n \"v33_forma_pago_clave\": \"02\"\n },\n {\n \"id\": \"3\",\n \"clave\": \"03\",\n \"descripcion\": \"Transferencia\",\n \"tipo\": \"2\",\n \"inactive\": \"0\",\n \"v33_forma_pago_clave\": \"03\"\n },\n {\n \"id\": \"4\",\n \"clave\": \"04\",\n \"descripcion\": \"Tarjetas de crédito\",\n \"tipo\": \"3\",\n \"inactive\": \"0\",\n \"v33_forma_pago_clave\": \"04\"\n },\n {\n \"id\": \"5\",\n \"clave\": \"05\",\n \"descripcion\": \"Monederos electrónicos\",\n \"tipo\": \"3\",\n \"inactive\": \"0\",\n \"v33_forma_pago_clave\": \"05\"\n },\n {\n \"id\": \"6\",\n \"clave\": \"06\",\n \"descripcion\": \"Dinero electrónico\",\n \"tipo\": \"3\",\n \"inactive\": \"0\",\n \"v33_forma_pago_clave\": \"06\"\n },\n {\n \"id\": \"7\",\n \"clave\": \"07\",\n \"descripcion\": \"Tarjetas digitales\",\n \"tipo\": \"3\",\n \"inactive\": \"0\",\n \"v33_forma_pago_clave\": \"99\"\n },\n {\n \"id\": \"8\",\n \"clave\": \"08\",\n \"descripcion\": \"Vales de despensa\",\n \"tipo\": \"3\",\n \"inactive\": \"0\",\n \"v33_forma_pago_clave\": \"08\"\n },\n {\n \"id\": \"9\",\n \"clave\": \"09\",\n \"descripcion\": \"Bienes\",\n \"tipo\": \"3\",\n \"inactive\": \"0\",\n \"v33_forma_pago_clave\": \"99\"\n },\n {\n \"id\": \"10\",\n \"clave\": \"10\",\n \"descripcion\": \"Servicio\",\n \"tipo\": \"3\",\n \"inactive\": \"0\",\n \"v33_forma_pago_clave\": \"99\"\n },\n {\n \"id\": \"11\",\n \"clave\": \"11\",\n \"descripcion\": \"Por cuenta de tercero\",\n \"tipo\": \"3\",\n \"inactive\": \"0\",\n \"v33_forma_pago_clave\": \"99\"\n },\n {\n \"id\": \"12\",\n \"clave\": \"12\",\n \"descripcion\": \"Dación en pago\",\n \"tipo\": \"3\",\n \"inactive\": \"0\",\n \"v33_forma_pago_clave\": \"12\"\n },\n {\n \"id\": \"13\",\n \"clave\": \"13\",\n \"descripcion\": \"Pago por subrogación\",\n \"tipo\": \"3\",\n \"inactive\": \"0\",\n \"v33_forma_pago_clave\": \"13\"\n },\n {\n \"id\": \"14\",\n \"clave\": \"14\",\n \"descripcion\": \"Pago por consignación\",\n \"tipo\": \"3\",\n \"inactive\": \"0\",\n \"v33_forma_pago_clave\": \"14\"\n },\n {\n \"id\": \"15\",\n \"clave\": \"15\",\n \"descripcion\": \"Condonación\",\n \"tipo\": \"3\",\n \"inactive\": \"0\",\n \"v33_forma_pago_clave\": \"15\"\n },\n {\n \"id\": \"16\",\n \"clave\": \"16\",\n \"descripcion\": \"Cancelación\",\n \"tipo\": \"3\",\n \"inactive\": \"0\",\n \"v33_forma_pago_clave\": \"99\"\n },\n {\n \"id\": \"17\",\n \"clave\": \"17\",\n \"descripcion\": \"Compensación\",\n \"tipo\": \"3\",\n \"inactive\": \"0\",\n \"v33_forma_pago_clave\": \"17\"\n },\n {\n \"id\": \"18\",\n \"clave\": \"98\",\n \"descripcion\": \""NA"\",\n \"tipo\": \"3\",\n \"inactive\": \"0\",\n \"v33_forma_pago_clave\": \"99\"\n },\n {\n \"id\": \"19\",\n \"clave\": \"99\",\n \"descripcion\": \"Otros\",\n \"tipo\": \"3\",\n \"inactive\": \"0\",\n \"v33_forma_pago_clave\": \"99\"\n }\n ]\n}" } ] }, { "name": "Void Transaction", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"trans_no\":5887,\r\n \"trans_type\":10,\r\n \"date_\":\"2022-09-09\",\r\n \"memo\":\"PRUEBA DE FACTURA\",\r\n \"cancel_cfdi\":null,\r\n \"motivo_cancel_cfdi\":null,\r\n \"uuid_cancel_cfdi\":null\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/sales/void_trasaction", "host": [ "{{API}}" ], "path": [ "api", "v3", "sales", "void_trasaction" ] }, "description": "**INFORMACIÓN DEL ENDPOINT**\n\nESTE METODO POST SIRVE PARA CANCELAR LAS TRANSACCIONES.\n\n***BODY:**\n\n**1.-TIPO:** RAW UTILIZANDO EL FORMATO JSON.\n\n**2.-ATRIBUTOS O CAMPOS DEL BODY:**\n\n**2.1.-\"trans_no\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO O STRING. SE VA ENVIAR EL ID O IDENTIFICADOR DE LA TRANSACCION.\n\n**2.2.-\"trans_type\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO O STRING. SE VA ENVIAR EL TIPO DE TRANSACCIÓN QUE SE VA CANCELAR. VALORES PERMITIDOS SON: 0 (ASIENTO DIARIO), 1 (PAGO BANCARIO), 2 (DEPOSITO BANCARIO), 4 (TRANSFERENCIA DE FONDOS), 10 (FACTURA DE VENTA), 11 (NOTA DE CREDITO DE CLIENTE), 12 (PAGO DE CLIENTE), 13 (NOTA DE ENTREGA), 16 (TRANSFERENCIA DE ALMACEN), 17 (AJUSTE DE INVENTARIO), 20 (FACTURA DE PROVEEDOR), 21 (NOTA DE CREDITO DE PROVEEDOR), 22 (PAGO A PROVEEDOR), 25 (NOTA DE ENTREGA DE PROVEEDOR), 26 (ORDEN DE TRABAJO), 28 (EMISION DE INSUMO DE ORDEN DE TRABAJO), 29 (PRODUCCION DE ORDEN DE TRABAJO), 40 (DIMENSION), 19 (CREAR REQUISICION), 35 (ACTUALIZACION DE COSTO), 80 (GASTO POR COBRAR), 70 (NOMINA ORDINARIA), 71 (RECIBO DE NOMINA), 72 (RECIBO DE PAGO DE NOMINA), 73 (NOMINA FINIQUITO), 74 (RECIBO DE FINIQUITO), 75(NOMINA AGUINALDO) Y 76 (RECIBO DE AGUINALDO).\n\n**2.3.-\"date_\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR LA FEHCA DE CANCELACION Y SE TIENE QUE MANDAR EL FORMATO DE FECHA \"YYYY-MM-DD\".\n\n**2.4.-\"memo\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR UN COMENTARIO PARA LA CANCELACION.\n\n**2.5.-\"cancel_cfdi\"=** ES UN CAMPO OBLIGATORIO CUANDO LA TRANSACCION QUE DESEA CANCELAR HAYA SIDO TIMBRADA PREVIAMENTE O SINO ES OPCIONAL Y ES DE TIPO NULL O NUMERICO. SE VA ENVIAR QUE TIPO DE CANCELACION SE VA HACER. VALORES PERMITIDOS SON: 1 (CANCELAR TIMBRE CFDI Y TRANSACCION ERP) Y 2 (CANCELAR SOLO TIMBRE CFDI) .\n\n**2.6.-\"motivo_cancel_cfdi\"=** ES UN CAMPO OBLIGATORIO CUANDO LA TRANSACCION QUE DESEA CANCELAR HAYA SIDO TIMBRADO PREVIAMENTE O SINO ES OPCIONAL Y ES DE TIPO NULL O STRING. SE VA ENVIAR EL MOTIVO DE CANCELACION CFDI. VALORES PERMITIDOS SON: 01 (COMPROBANTES EMITIDOS CON ERRORES CON RELACION), 02 (COMPROBANTES EMITIDOS CON ERRORES SIN RELACION), 03 (NO SE LLEVO A CABO LA OPERACION), 04 (OPERACION NOMINATIVA RELACIONADA EN UNA FACTURA GLOBAL).\n\n**2.7.-\"uuid_cancel_cfdi\"=** ES UN CAMPO OBLIGATORIO CUANDO EL CAMPO \"motivo_cancel_cfdi\" SEA 01 O SI NO ES OPCIONAL Y ES DE TIPO NULL O STRING. SE VA ENVIAR EL UUID DE SUSTITUCION DE LA FACTURA A CANCELAR." }, "response": [ { "name": "Void Transactions Ejemplo 3", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"trans_no\":1,\r\n \"trans_type\":12,\r\n \"date_\":null,\r\n \"memo\":null,\r\n \"cancel_cfdi\":null,\r\n \"motivo_cancel_cfdi\":null,\r\n \"uuid_cancel_cfdi\":null\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/sales/void_trasactions", "host": [ "{{API}}" ], "path": [ "api", "v3", "sales", "void_trasactions" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Wed, 07 Sep 2022 01:25:07 GMT" }, { "key": "Server", "value": "Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.4.1" }, { "key": "Vary", "value": "Authorization" }, { "key": "X-Powered-By", "value": "PHP/7.4.1" }, { "key": "Expires", "value": "Thu, 19 Nov 1981 08:52:00 GMT" }, { "key": "Cache-Control", "value": "private" }, { "key": "Pragma", "value": "no-cache" }, { "key": "Content-Length", "value": "88" }, { "key": "Keep-Alive", "value": "timeout=5, max=100" }, { "key": "Connection", "value": "Keep-Alive" }, { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"version\": \"3.22.36\",\n \"messages\": [\n \"La transacción seleccionada ha sido cancelada.\"\n ]\n}" }, { "name": "Void Transactions (Mostrando Error)", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"trans_no\":42,\r\n \"trans_type\":1,\r\n \"date_\":null,\r\n \"memo\":null,\r\n \"cancel_cfdi\":null,\r\n \"motivo_cancel_cfdi\":null,\r\n \"uuid_cancel_cfdi\":null\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/sales/void_trasactions", "host": [ "{{API}}" ], "path": [ "api", "v3", "sales", "void_trasactions" ] } }, "status": "Not Acceptable", "code": 406, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Wed, 07 Sep 2022 01:15:55 GMT" }, { "key": "Server", "value": "Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.4.1" }, { "key": "Vary", "value": "Authorization" }, { "key": "X-Powered-By", "value": "PHP/7.4.1" }, { "key": "Expires", "value": "Thu, 19 Nov 1981 08:52:00 GMT" }, { "key": "Cache-Control", "value": "private" }, { "key": "Pragma", "value": "no-cache" }, { "key": "Content-Length", "value": "142" }, { "key": "Keep-Alive", "value": "timeout=5, max=100" }, { "key": "Connection", "value": "Keep-Alive" }, { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"version\": \"3.22.36\",\n \"errors\": [\n \"La transacción introducida no existe o no puede ser anulada. Transacción:42 | Tipo: Pago Bancario\"\n ]\n}" }, { "name": "Void Transactions Ejemplo 4", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"trans_no\":3,\r\n \"trans_type\":19,\r\n \"date_\":\"2022-09-01\",\r\n \"memo\":\"PRUEBA DE NOTA DE ENTREGA\",\r\n \"cancel_cfdi\":null,\r\n \"motivo_cancel_cfdi\":null,\r\n \"uuid_cancel_cfdi\":null\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/sales/void_trasactions", "host": [ "{{API}}" ], "path": [ "api", "v3", "sales", "void_trasactions" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Wed, 07 Sep 2022 01:37:28 GMT" }, { "key": "Server", "value": "Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.4.1" }, { "key": "Vary", "value": "Authorization" }, { "key": "X-Powered-By", "value": "PHP/7.4.1" }, { "key": "Expires", "value": "Thu, 19 Nov 1981 08:52:00 GMT" }, { "key": "Cache-Control", "value": "private" }, { "key": "Pragma", "value": "no-cache" }, { "key": "Content-Length", "value": "88" }, { "key": "Keep-Alive", "value": "timeout=5, max=100" }, { "key": "Connection", "value": "Keep-Alive" }, { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"version\": \"3.22.36\",\n \"messages\": [\n \"La transacción seleccionada ha sido cancelada.\"\n ]\n}" }, { "name": "Void Transactions Ejemplo 1", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"trans_no\":5881,\r\n \"trans_type\":10,\r\n \"date_\":null,\r\n \"memo\":null,\r\n \"cancel_cfdi\":null,\r\n \"motivo_cancel_cfdi\":null,\r\n \"uuid_cancel_cfdi\":null\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/sales/void_trasactions", "host": [ "{{API}}" ], "path": [ "api", "v3", "sales", "void_trasactions" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Wed, 07 Sep 2022 01:07:44 GMT" }, { "key": "Server", "value": "Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.4.1" }, { "key": "Vary", "value": "Authorization" }, { "key": "X-Powered-By", "value": "PHP/7.4.1" }, { "key": "Expires", "value": "Thu, 19 Nov 1981 08:52:00 GMT" }, { "key": "Cache-Control", "value": "private" }, { "key": "Pragma", "value": "no-cache" }, { "key": "Content-Length", "value": "88" }, { "key": "Keep-Alive", "value": "timeout=5, max=100" }, { "key": "Connection", "value": "Keep-Alive" }, { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"version\": \"3.22.36\",\n \"messages\": [\n \"La transacción seleccionada ha sido cancelada.\"\n ]\n}" }, { "name": "Void Transactions Ejemplo 2", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"trans_no\":2,\r\n \"trans_type\":11,\r\n \"date_\":null,\r\n \"memo\":null,\r\n \"cancel_cfdi\":null,\r\n \"motivo_cancel_cfdi\":null,\r\n \"uuid_cancel_cfdi\":null\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/sales/void_trasactions", "host": [ "{{API}}" ], "path": [ "api", "v3", "sales", "void_trasactions" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Wed, 07 Sep 2022 01:18:25 GMT" }, { "key": "Server", "value": "Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.4.1" }, { "key": "Vary", "value": "Authorization" }, { "key": "X-Powered-By", "value": "PHP/7.4.1" }, { "key": "Expires", "value": "Thu, 19 Nov 1981 08:52:00 GMT" }, { "key": "Cache-Control", "value": "private" }, { "key": "Pragma", "value": "no-cache" }, { "key": "Content-Length", "value": "88" }, { "key": "Keep-Alive", "value": "timeout=5, max=100" }, { "key": "Connection", "value": "Keep-Alive" }, { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"version\": \"3.22.36\",\n \"messages\": [\n \"La transacción seleccionada ha sido cancelada.\"\n ]\n}" } ] } ] }, { "name": "Inventory", "item": [ { "name": "Brands", "item": [ { "name": "Brand", "request": { "method": "DELETE", "header": [], "url": { "raw": "{{API}}/api/v3/inventory/brand/{{brandid}}", "host": [ "{{API}}" ], "path": [ "api", "v3", "inventory", "brand", "{{brandid}}" ] }, "description": "**INFORMACIÓN DEL ENDPOINT**\n\nESTE METODO SELETE PARA ELIMINAR UNA MARCA.\n\n***PARAMS:**\n\n**1.-ATRIBUTOS O CAMPOS DEL PARAMS:**\n\n**1.1.-\"{{brandid}}\"=** ES UN PARAMETRO OBLIGATORIO Y ES DE TIPO NUMERICO. SE VA ENVIAR EL ID O EL IDENTIFICADOR DE LA MARCA." }, "response": [ { "name": "Brand", "originalRequest": { "method": "DELETE", "header": [], "url": { "raw": "{{API}}/api/v3/inventory/brand/3", "host": [ "{{API}}" ], "path": [ "api", "v3", "inventory", "brand", "3" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Thu, 01 Sep 2022 03:43:23 GMT" }, { "key": "Server", "value": "Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.4.1" }, { "key": "Vary", "value": "Authorization" }, { "key": "X-Powered-By", "value": "PHP/7.4.1" }, { "key": "Expires", "value": "Thu, 19 Nov 1981 08:52:00 GMT" }, { "key": "Cache-Control", "value": "private" }, { "key": "Pragma", "value": "no-cache" }, { "key": "Content-Length", "value": "4" }, { "key": "Keep-Alive", "value": "timeout=5, max=100" }, { "key": "Connection", "value": "Keep-Alive" }, { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "\"OK\"" } ] }, { "name": "Brand", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"name\":\"Nuevo 1 Actualizado\",\r\n \"supplier_id\": 1,\r\n \"inactive\": false\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/inventory/brand/{{brandid}}", "host": [ "{{API}}" ], "path": [ "api", "v3", "inventory", "brand", "{{brandid}}" ] }, "description": "**INFORMACIÓN DEL ENDPOINT**\n\nESTE METODO PUT SIRVE PARA ACTUALIZAR UNA MARCA.\n\n***BODY:**\n\n**1.-TIPO:** RAW UTILIZANDO EL FORMATO JSON.\n\n**2.-ATRIBUTOS O CAMPOS DEL BODY:**\n\n**2.0.-\"{{brandid}}\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO. SE VA ENVIAR EL ID DE LA MARCA.\n\n**2.1.-\"name\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING. SE VA ENVIAR EL NOMBRE DE LA MARCA.\n\n**2.2.-\"supplier_id\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO O STRING. SE VA ENVIAR EL ID O IDENTIFICADOR DEL PROVEEDOR.\n\n**2.3.-\"inactive\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO O BOOLEANO O STRING. SE VA ENVIAR 1 O true O \"1\" PARA QUE LA MARCA ESTE INACTIVA O 0 O false O \"0\" PARA QUE LA MARCA ESTE INACTIVA." }, "response": [ { "name": "Brand", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"name\":\"Nuevo 1 Actualizado\",\r\n \"supplier_id\": 1,\r\n \"inactive\": false\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/inventory/brand/3", "host": [ "{{API}}" ], "path": [ "api", "v3", "inventory", "brand", "3" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Thu, 01 Sep 2022 03:38:21 GMT" }, { "key": "Server", "value": "Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.4.1" }, { "key": "Vary", "value": "Authorization" }, { "key": "X-Powered-By", "value": "PHP/7.4.1" }, { "key": "Expires", "value": "Thu, 19 Nov 1981 08:52:00 GMT" }, { "key": "Cache-Control", "value": "private" }, { "key": "Pragma", "value": "no-cache" }, { "key": "Content-Length", "value": "76" }, { "key": "Keep-Alive", "value": "timeout=5, max=100" }, { "key": "Connection", "value": "Keep-Alive" }, { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"brand_id\": \"3\",\n \"name\": \"Nuevo 1 Actualizado\",\n \"supplier_id\": 1,\n \"inactive\": \"0\"\n}" } ] }, { "name": "Brands", "request": { "method": "GET", "header": [], "url": { "raw": "{{API}}/api/v3/inventory/brands?skip=0&limit=50", "host": [ "{{API}}" ], "path": [ "api", "v3", "inventory", "brands" ], "query": [ { "key": "show_inactive", "value": "true", "description": "Mostrar registros inactivos", "disabled": true }, { "key": "skip", "value": "0", "description": "Numero de filas a saltar" }, { "key": "limit", "value": "50", "description": "Numero limite de registros a cargar" } ] }, "description": "**INFORMACIÓN DEL ENDPOINT**\n\nESTE METODO GET SIRVE PARA CONSEGUIR UN LISTADO DETALLADO DE LAS MARCAS.\n\n***PARAMS:**\n\n**1.-ATRIBUTOS O CAMPOS DEL PARAMS:**\n\n**1.1.-\"limit\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO. SE VA ENVIAR EL NUMERO LIMITE DE REGISTROS A CARGAR.\n\n**1.2.-\"skip\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO. SE VA ENVIAR EL NUMERO DE FILAS A SALTAR.\n\n**1.3.-\"show_inactive\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING. SE VA ENVIAR \"true\" o \"1\" PARA MOSTRAR MARCAS INACTIVOS O \"false\" o \"0\" PARA NO MOSTRAR MARCAS INACTIVOS." }, "response": [ { "name": "Brands", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{API}}/api/v3/inventory/brands?skip=0&limit=50", "host": [ "{{API}}" ], "path": [ "api", "v3", "inventory", "brands" ], "query": [ { "key": "show_inactive", "value": null, "description": "Mostrar registros inactivos", "disabled": true }, { "key": "skip", "value": "0", "description": "Numero de filas a saltar" }, { "key": "limit", "value": "50", "description": "Numero limite de registros a cargar" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Thu, 01 Sep 2022 03:35:36 GMT" }, { "key": "Server", "value": "Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.4.1" }, { "key": "Vary", "value": "Authorization" }, { "key": "X-Powered-By", "value": "PHP/7.4.1" }, { "key": "Expires", "value": "Thu, 19 Nov 1981 08:52:00 GMT" }, { "key": "Cache-Control", "value": "private" }, { "key": "Pragma", "value": "no-cache" }, { "key": "Content-Length", "value": "261" }, { "key": "Keep-Alive", "value": "timeout=5, max=100" }, { "key": "Connection", "value": "Keep-Alive" }, { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"version\": \"3.22.35\",\n \"total\": 3,\n \"limit\": 50,\n \"skip\": 0,\n \"data\": [\n {\n \"brand_id\": \"1\",\n \"name\": \"DEFAULT\",\n \"supplier_id\": null,\n \"inactive\": \"0\"\n },\n {\n \"brand_id\": \"2\",\n \"name\": \"prueba\",\n \"supplier_id\": \"1\",\n \"inactive\": \"0\"\n },\n {\n \"brand_id\": \"3\",\n \"name\": \"Nuevo 1\",\n \"supplier_id\": \"1\",\n \"inactive\": \"0\"\n }\n ]\n}" } ] }, { "name": "Brand", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"name\":\"Nuevo 1\",\r\n \"supplier_id\": 1,\r\n \"inactive\": false\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/inventory/brand", "host": [ "{{API}}" ], "path": [ "api", "v3", "inventory", "brand" ] }, "description": "**INFORMACIÓN DEL ENDPOINT**\n\nESTE METODO POST SIRVE PARA CREAR UNA MARCA.\n\n***BODY:**\n\n**1.-TIPO:** RAW UTILIZANDO EL FORMATO JSON.\n\n**2.-ATRIBUTOS O CAMPOS DEL BODY:**\n\n**2.1.-\"name\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR EL NOMBRE DE LA MARCA.\n\n**2.2.-\"supplier_id\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO O STRING. SE VA ENVIAR EL ID O IDENTIFICADOR DEL PROVEEDOR.\n\n**2.3.-\"inactive\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO O BOOLEANO O STRING. SE VA ENVIAR 1 O true O \"1\" PARA QUE LA MARCA ESTE INACTIVA O 0 O false O \"0\" PARA QUE LA MARCA ESTE INACTIVA." }, "response": [ { "name": "Brand", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"name\":\"prueba\", //Nombre de la marca\r\n \"supplier_id\": 1, //Proveedor\r\n \"inactive\": 1 //Inactivo\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/inventory/brand", "host": [ "{{API}}" ], "path": [ "api", "v3", "inventory", "brand" ] } }, "_postman_previewlanguage": "Text", "header": [], "cookie": [], "body": "" }, { "name": "Brand Completo", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"name\":\"Nuevo 1\",\r\n \"supplier_id\": 1,\r\n \"inactive\": false\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/inventory/brand", "host": [ "{{API}}" ], "path": [ "api", "v3", "inventory", "brand" ] } }, "status": "Created", "code": 201, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Thu, 01 Sep 2022 03:32:45 GMT" }, { "key": "Server", "value": "Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.4.1" }, { "key": "Vary", "value": "Authorization" }, { "key": "X-Powered-By", "value": "PHP/7.4.1" }, { "key": "Expires", "value": "Thu, 19 Nov 1981 08:52:00 GMT" }, { "key": "Cache-Control", "value": "private" }, { "key": "Pragma", "value": "no-cache" }, { "key": "Content-Length", "value": "64" }, { "key": "Keep-Alive", "value": "timeout=5, max=100" }, { "key": "Connection", "value": "Keep-Alive" }, { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"brand_id\": 3,\n \"name\": \"Nuevo 1\",\n \"supplier_id\": 1,\n \"inactive\": false\n}" } ] } ] }, { "name": "Fabricantes", "item": [ { "name": "Fabricante", "request": { "method": "DELETE", "header": [], "url": { "raw": "{{API}}/api/v3/inventory/fabricant/{{fabricantid}}", "host": [ "{{API}}" ], "path": [ "api", "v3", "inventory", "fabricant", "{{fabricantid}}" ] }, "description": "**INFORMACIÓN DEL ENDPOINT**\n\nESTE METODO SELETE PARA ELIMINAR UN FABRICANTE.\n\n***PARAMS:**\n\n**1.-ATRIBUTOS O CAMPOS DEL PARAMS:**\n\n**1.1.-\"{{fabricantid}}\"=** ES UN PARAMETRO OBLIGATORIO Y ES DE TIPO NUMERICO. SE VA ENVIAR EL ID O EL IDENTIFICADOR DEL FABRICANTE." }, "response": [ { "name": "Fabricante", "originalRequest": { "method": "DELETE", "header": [], "url": { "raw": "{{API}}/api/v3/inventory/fabricant/2", "host": [ "{{API}}" ], "path": [ "api", "v3", "inventory", "fabricant", "2" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Thu, 01 Sep 2022 03:50:23 GMT" }, { "key": "Server", "value": "Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.4.1" }, { "key": "Vary", "value": "Authorization" }, { "key": "X-Powered-By", "value": "PHP/7.4.1" }, { "key": "Expires", "value": "Thu, 19 Nov 1981 08:52:00 GMT" }, { "key": "Cache-Control", "value": "private" }, { "key": "Pragma", "value": "no-cache" }, { "key": "Content-Length", "value": "4" }, { "key": "Keep-Alive", "value": "timeout=5, max=100" }, { "key": "Connection", "value": "Keep-Alive" }, { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "\"OK\"" } ] }, { "name": "Fabricante", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"name\": \"Prueba Actualizada\",\r\n \"inactive\": 1\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/inventory/fabricant/{{fabricantid}}", "host": [ "{{API}}" ], "path": [ "api", "v3", "inventory", "fabricant", "{{fabricantid}}" ] }, "description": "**INFORMACIÓN DEL ENDPOINT**\n\nESTE METODO PUT SIRVE PARA ACTUALIZAR UN FABRICANTE.\n\n***BODY:**\n\n**1.-TIPO:** RAW UTILIZANDO EL FORMATO JSON.\n\n**2.-ATRIBUTOS O CAMPOS DEL BODY:**\n\n**2.0.-\"{{fabricantid}}\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO. SE VA ENVIAR EL ID DEL FABRICANTE.\n\n**2.1.-\"name\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING. SE VA ENVIAR EL NOMBRE DEL FABRICANTE.\n\n**2.2.-\"inactive\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO O BOOLEANO O STRING. SE VA ENVIAR 1 O true O \"1\" PARA QUE LA MARCA ESTE INACTIVA O 0 O false O \"0\" PARA QUE LA MARCA ESTE INACTIVA." }, "response": [ { "name": "Fabricante", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"name\": \"Prueba Actualizada\",\r\n \"inactive\": 1\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/inventory/fabricant/2", "host": [ "{{API}}" ], "path": [ "api", "v3", "inventory", "fabricant", "2" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Thu, 01 Sep 2022 03:48:50 GMT" }, { "key": "Server", "value": "Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.4.1" }, { "key": "Vary", "value": "Authorization" }, { "key": "X-Powered-By", "value": "PHP/7.4.1" }, { "key": "Expires", "value": "Thu, 19 Nov 1981 08:52:00 GMT" }, { "key": "Cache-Control", "value": "private" }, { "key": "Pragma", "value": "no-cache" }, { "key": "Content-Length", "value": "61" }, { "key": "Keep-Alive", "value": "timeout=5, max=100" }, { "key": "Connection", "value": "Keep-Alive" }, { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"fabricant_id\": \"2\",\n \"name\": \"Prueba Actualizada\",\n \"inactive\": 1\n}" } ] }, { "name": "Fabricante", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"name\": \"Prueba\",\r\n \"inactive\": 1\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/inventory/fabricant", "host": [ "{{API}}" ], "path": [ "api", "v3", "inventory", "fabricant" ] }, "description": "**INFORMACIÓN DEL ENDPOINT**\n\nESTE METODO POST SIRVE PARA CREAR UN FABRICANTE.\n\n***BODY:**\n\n**1.-TIPO:** RAW UTILIZANDO EL FORMATO JSON.\n\n**2.-ATRIBUTOS O CAMPOS DEL BODY:**\n\n**2.1.-\"name\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR EL NOMBRE DEL FABRICANTE.\n\n**2.2.-\"inactive\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO O BOOLEANO O STRING. SE VA ENVIAR 1 O true O \"1\" PARA QUE LA MARCA ESTE INACTIVA O 0 O false O \"0\" PARA QUE LA MARCA ESTE INACTIVA." }, "response": [ { "name": "Fabricante", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"name\": \"Prueba\", //Nombre del fabricante\r\n \"inactive\": 1 //Inactivo\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/inventory/fabricant", "host": [ "{{API}}" ], "path": [ "api", "v3", "inventory", "fabricant" ] } }, "_postman_previewlanguage": "Text", "header": [], "cookie": [], "body": "" }, { "name": "Fabricante Completo", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"name\": \"Prueba\",\r\n \"inactive\": 1\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/inventory/fabricant", "host": [ "{{API}}" ], "path": [ "api", "v3", "inventory", "fabricant" ] } }, "status": "Created", "code": 201, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Thu, 01 Sep 2022 03:46:18 GMT" }, { "key": "Server", "value": "Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.4.1" }, { "key": "Vary", "value": "Authorization" }, { "key": "X-Powered-By", "value": "PHP/7.4.1" }, { "key": "Expires", "value": "Thu, 19 Nov 1981 08:52:00 GMT" }, { "key": "Cache-Control", "value": "private" }, { "key": "Pragma", "value": "no-cache" }, { "key": "Content-Length", "value": "47" }, { "key": "Keep-Alive", "value": "timeout=5, max=100" }, { "key": "Connection", "value": "Keep-Alive" }, { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"fabricant_id\": 2,\n \"name\": \"Prueba\",\n \"inactive\": 1\n}" } ] }, { "name": "Fabricantes", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [], "body": { "mode": "raw", "raw": "", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/inventory/fabricants?show_inactive=true&skip=0&limit=50", "host": [ "{{API}}" ], "path": [ "api", "v3", "inventory", "fabricants" ], "query": [ { "key": "show_inactive", "value": "true", "description": "Mostrar registros inactivos" }, { "key": "skip", "value": "0", "description": "Numero de filas a saltar" }, { "key": "limit", "value": "50", "description": "Numero limite de registros a cargar" } ] }, "description": "**INFORMACIÓN DEL ENDPOINT**\n\nESTE METODO GET SIRVE PARA CONSEGUIR UN LISTADO DETALLADO DE LOS FABRICANTES.\n\n***PARAMS:**\n\n**1.-ATRIBUTOS O CAMPOS DEL PARAMS:**\n\n**1.1.-\"limit\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO. SE VA ENVIAR EL NUMERO LIMITE DE REGISTROS A CARGAR.\n\n**1.2.-\"skip\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO. SE VA ENVIAR EL NUMERO DE FILAS A SALTAR.\n\n**1.3.-\"show_inactive\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING. SE VA ENVIAR \"true\" o \"1\" PARA MOSTRAR MARCAS INACTIVOS O \"false\" o \"0\" PARA NO MOSTRAR MARCAS INACTIVOS." }, "response": [ { "name": "Fabricantes", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{API}}/api/v3/inventory/fabricants?show_inactive=true&skip=0&limit=50", "host": [ "{{API}}" ], "path": [ "api", "v3", "inventory", "fabricants" ], "query": [ { "key": "show_inactive", "value": "true", "description": "Mostrar registros inactivos" }, { "key": "skip", "value": "0", "description": "Numero de filas a saltar" }, { "key": "limit", "value": "50", "description": "Numero limite de registros a cargar" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Thu, 01 Sep 2022 03:45:03 GMT" }, { "key": "Server", "value": "Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.4.1" }, { "key": "Vary", "value": "Authorization" }, { "key": "X-Powered-By", "value": "PHP/7.4.1" }, { "key": "Expires", "value": "Thu, 19 Nov 1981 08:52:00 GMT" }, { "key": "Cache-Control", "value": "private" }, { "key": "Pragma", "value": "no-cache" }, { "key": "Content-Length", "value": "113" }, { "key": "Keep-Alive", "value": "timeout=5, max=100" }, { "key": "Connection", "value": "Keep-Alive" }, { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"version\": \"3.22.35\",\n \"total\": 1,\n \"limit\": 50,\n \"skip\": 0,\n \"data\": [\n {\n \"fabricant_id\": \"1\",\n \"name\": \"DEFAULT\",\n \"inactive\": \"0\"\n }\n ]\n}" } ] } ] }, { "name": "Locations", "item": [ { "name": "Locations", "request": { "method": "GET", "header": [], "url": { "raw": "{{API}}/api/v3/inventory/locations?show_inactive=true&skip=0&limit=50", "host": [ "{{API}}" ], "path": [ "api", "v3", "inventory", "locations" ], "query": [ { "key": "show_inactive", "value": "true", "description": "Mostrar registros inactivos" }, { "key": "skip", "value": "0", "description": "Numero de filas a saltar" }, { "key": "limit", "value": "50", "description": "Numero limite de registros a cargar" }, { "key": "search", "value": "", "description": "Campo de búsqueda por nombre", "disabled": true } ] }, "description": "**INFORMACIÓN DEL ENDPOINT**\n\nESTE METODO GET SIRVE PARA CONSEGUIR UN LISTADO DETALLADO DE LOS ALAMCENES ALMACENADOS EN SISTEMA.\n\n***PARAMS:**\n\n**1.-ATRIBUTOS O CAMPOS DEL PARAMS:**\n\n**1.1.-\"limit\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO. SE VA ENVIAR EL NUMERO LIMITE DE REGISTROS A CARGAR.\n\n**1.2.-\"skip\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO. SE VA ENVIAR EL NUMERO DE FILAS A SALTAR.\n\n**1.3.-\"show_inactive\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING. SE VA ENVIAR \"true\" o \"1\" PARA MOSTRAR ALMACENES INACTIVOS.\n\n**1.4.-\"search\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING. SE VA ENVIAR EL NOMBRE DEL ALAMCEN QUE DESEA BUSCAR." }, "response": [ { "name": "Locations", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{API}}/api/v3/inventory/locations?skip=0&limit=50", "host": [ "{{API}}" ], "path": [ "api", "v3", "inventory", "locations" ], "query": [ { "key": "show_inactive", "value": "true", "description": "Mostrar registros inactivos", "disabled": true }, { "key": "skip", "value": "0", "description": "Numero de filas a saltar" }, { "key": "limit", "value": "50", "description": "Numero limite de registros a cargar" }, { "key": "search", "value": "", "description": "Campo de búsqueda por nombre", "disabled": true } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Thu, 01 Sep 2022 14:50:33 GMT" }, { "key": "Server", "value": "Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.4.1" }, { "key": "Vary", "value": "Authorization" }, { "key": "X-Powered-By", "value": "PHP/7.4.1" }, { "key": "Expires", "value": "Thu, 19 Nov 1981 08:52:00 GMT" }, { "key": "Cache-Control", "value": "private" }, { "key": "Pragma", "value": "no-cache" }, { "key": "Content-Length", "value": "732" }, { "key": "Keep-Alive", "value": "timeout=5, max=100" }, { "key": "Connection", "value": "Keep-Alive" }, { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"version\": \"3.22.35\",\n \"total\": 4,\n \"limit\": 50,\n \"skip\": \"0\",\n \"data\": [\n {\n \"loc_code\": \"ALMA1\",\n \"location_name\": \"LOCATION NUEVO ALMA1 ACT\",\n \"delivery_address\": \"\",\n \"phone\": \"\",\n \"phone2\": \"\",\n \"fax\": \"\",\n \"email\": \"\",\n \"contact\": \"\",\n \"inactive\": \"0\",\n \"fixed_asset\": \"0\"\n },\n {\n \"loc_code\": \"AN1\",\n \"location_name\": \"Almacen Nuevo 1\",\n \"delivery_address\": \"\",\n \"phone\": \"\",\n \"phone2\": \"\",\n \"fax\": \"\",\n \"email\": \"\",\n \"contact\": \"\",\n \"inactive\": \"0\",\n \"fixed_asset\": \"0\"\n },\n {\n \"loc_code\": \"DEF\",\n \"location_name\": \"Almacen Nuevo\",\n \"delivery_address\": \"N/A\",\n \"phone\": \"\",\n \"phone2\": \"\",\n \"fax\": \"\",\n \"email\": \"\",\n \"contact\": \"\",\n \"inactive\": \"0\",\n \"fixed_asset\": \"0\"\n },\n {\n \"loc_code\": \"LOCNU\",\n \"location_name\": \"LOCATION NUEVO\",\n \"delivery_address\": \"\",\n \"phone\": \"\",\n \"phone2\": \"\",\n \"fax\": \"\",\n \"email\": \"\",\n \"contact\": \"\",\n \"inactive\": \"0\",\n \"fixed_asset\": \"0\"\n }\n ]\n}" } ] }, { "name": "Location", "request": { "method": "GET", "header": [], "url": { "raw": "{{API}}/api/v3/inventory/locations/{{locations_loc_code}}", "host": [ "{{API}}" ], "path": [ "api", "v3", "inventory", "locations", "{{locations_loc_code}}" ] }, "description": "**INFORMACIÓN DEL ENDPOINT**\n\nESTE METODO GET SIRVE PARA CONSEGUIR LA INFORMACION DETALLADA DE UN ALMACEN EN ESPECIFICO.\n\n***PARAMS:**\n\n**1.-ATRIBUTOS O CAMPOS DEL PARAMS:**\n\n**1.1.-\"{{locations_loc_code}}\"=** ES UN PARAMETRO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR EL ID O EL IDENTIFICADOR DEL ALMACEN QUE DESEA BUSCAR." }, "response": [ { "name": "Location", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{API}}/api/v3/inventory/locations/ALMA1", "host": [ "{{API}}" ], "path": [ "api", "v3", "inventory", "locations", "ALMA1" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Thu, 01 Sep 2022 14:52:56 GMT" }, { "key": "Server", "value": "Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.4.1" }, { "key": "Vary", "value": "Authorization" }, { "key": "X-Powered-By", "value": "PHP/7.4.1" }, { "key": "Expires", "value": "Thu, 19 Nov 1981 08:52:00 GMT" }, { "key": "Cache-Control", "value": "private" }, { "key": "Pragma", "value": "no-cache" }, { "key": "Content-Length", "value": "237" }, { "key": "Keep-Alive", "value": "timeout=5, max=100" }, { "key": "Connection", "value": "Keep-Alive" }, { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"version\": \"3.22.35\",\n \"total\": 1,\n \"limit\": \"20\",\n \"skip\": 0,\n \"data\": [\n {\n \"loc_code\": \"ALMA1\",\n \"location_name\": \"LOCATION NUEVO ALMA1 ACT\",\n \"delivery_address\": \"\",\n \"phone\": \"\",\n \"phone2\": \"\",\n \"fax\": \"\",\n \"email\": \"\",\n \"contact\": \"\",\n \"inactive\": \"0\",\n \"fixed_asset\": \"0\"\n }\n ]\n}" } ] }, { "name": "Locations", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"loc_code\": \"ALMA1\",\r\n \"location_name\": \"LOCATION NUEVO ALMA1\",\r\n \"delivery_address\": null,\r\n \"phone\": \"\",\r\n \"phone2\": \"\",\r\n \"fax\": \"\",\r\n \"email\": \"\",\r\n \"contact\": \"\",\r\n \"inactive\":false,\r\n \"cfd22_street\":null,\r\n \"cfd22_street_number\":null,\r\n \"cfd22_suite_number\":null,\r\n \"cfd22_district\":null,\r\n \"cfd22_postal_code\":null,\r\n \"cfd22_city\":null,\r\n \"cfd22_country_id\":null,\r\n \"fixed_asset\":false,\r\n \"sucursal_id\": 1\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/inventory/locations", "host": [ "{{API}}" ], "path": [ "api", "v3", "inventory", "locations" ] }, "description": "**INFORMACIÓN DEL ENDPOINT**\n\nESTE METODO POST SIRVE PARA CREAR UN ALMACEN.\n\n***BODY:**\n\n**1.-TIPO:** RAW UTILIZANDO EL FORMATO JSON.\n\n**2.-ATRIBUTOS O CAMPOS DEL BODY:**\n\n**2.1.-\"loc_code\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR LA CLAVE DEL ALMACEN OJO NO SE PUEDE CREAR UN ALMACEN CON UNA CLAVE YA CREADA MAXIMO 5 CARACTERES Y MINIMO 1.\n\n**2.2.-\"location_name\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR EL NOMBRE DEL ALMACEN.\n\n**2.3.-\"delivery_address\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NULL O STRING. SE VA ENVIAR LA DIRECCION DEL ALMACEN.\n\n**2.4.-\"phone\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL TELEFONO DEL ALMACEN.\n\n**2.5.-\"phone2\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR UN SEGUNDO TELEFONO DEL ALMACEN.\n\n**2.6.-\"fax\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR ES EL FAX DEL ALMACEN.\n\n**2.7.-\"email\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL CORREO DEL ALMACEN.\n\n**2.8.-\"contact\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL NOMBRE DEL CONTACTO DEL ALMACEN.\n\n**2.9.-\"inactive\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O BOOLEANO O NULL O NUMERICO. SE VA ENVIAR 0 O \"0\" O false PARA QUE EL ALMACEN ESTE ACTIVO O 1 O \"1\" O true PARA QUE EL ALMACEN NO ESTE ACTIVO.\n\n**2.10.-\"cfd22_street\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR LA CALLE DEL ALMACEN.\n\n**2.11.-\"cfd22_street_number\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL NUMERO EXTERIOR DEL ALMACEN.\n\n**2.12.-\"cfd22_suite_number\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL NUMERO INTERIOR DEL ALMACEN.\n\n**2.13.-\"cfd22_district\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR LA COLONIA DEL ALMACEN.\n\n**2.14.-\"cfd22_city\"=** ES UN CAMPO OPCIONALEY Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL NOMBRE DE LA CIUDAD DEL ALMACEN.\n\n**2.15.-\"cfd22_country_id\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR LA CLAVE DEL PAIS DEL ALMACEN \"KEN - Kenia\".\n\n**2.16.-\"fixed_asset\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O BOOLEANO O NULL O NUMERICO. SE VA ENVIAR 0 O \"0\" O false PARA QUE EL ALMACEN SEA ACTIVO FIJO O 1 O \"1\" O true PARA QUE EL ALMACEN NO SEA ACTIVO FIJO.\n\n**2.17.-\"sucursal_id\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR LA CLAVE DE LA SUCURSAL." }, "response": [ { "name": "Locations", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"loc_code\": \"ALMA1\",\r\n \"location_name\": \"LOCATION NUEVO ALMA1\",\r\n \"delivery_address\": null,\r\n \"phone\": \"\",\r\n \"phone2\": \"\",\r\n \"fax\": \"\",\r\n \"email\": \"\",\r\n \"contact\": \"\",\r\n \"inactive\":false,\r\n \"cfd22_street\":null,\r\n \"cfd22_street_number\":null,\r\n \"cfd22_suite_number\":null,\r\n \"cfd22_district\":null,\r\n \"cfd22_postal_code\":null,\r\n \"cfd22_city\":null,\r\n \"cfd22_country_id\":null,\r\n \"fixed_asset\":false,\r\n \"sucursal_id\": 1\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/inventory/locations", "host": [ "{{API}}" ], "path": [ "api", "v3", "inventory", "locations" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Thu, 01 Sep 2022 14:47:26 GMT" }, { "key": "Server", "value": "Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.4.1" }, { "key": "Vary", "value": "Authorization" }, { "key": "X-Powered-By", "value": "PHP/7.4.1" }, { "key": "Expires", "value": "Thu, 19 Nov 1981 08:52:00 GMT" }, { "key": "Cache-Control", "value": "private" }, { "key": "Pragma", "value": "no-cache" }, { "key": "Content-Length", "value": "118" }, { "key": "Keep-Alive", "value": "timeout=5, max=100" }, { "key": "Connection", "value": "Keep-Alive" }, { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"version\": \"3.22.35\",\n \"result\": true,\n \"messages\": [\n \"Un nuevo almacen de cliente ha sido creado.\"\n ],\n \"location_code\": \"ALMA1\"\n}" } ] }, { "name": "Locations", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"location_name\": \"LOCATION NUEVO ALMA1 ACT\",\r\n \"delivery_address\": null,\r\n \"phone\": \"\",\r\n \"phone2\": \"\",\r\n \"fax\": \"\",\r\n \"email\": \"\",\r\n \"contact\": \"\",\r\n \"inactive\":false,\r\n \"cfd22_street\":null,\r\n \"cfd22_street_number\":null,\r\n \"cfd22_suite_number\":null,\r\n \"cfd22_district\":null,\r\n \"cfd22_postal_code\":null,\r\n \"cfd22_city\":null,\r\n \"cfd22_country_id\":null,\r\n \"fixed_asset\":false,\r\n \"sucursal_id\": 1\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/inventory/locations/{{locations_loc_code}}", "host": [ "{{API}}" ], "path": [ "api", "v3", "inventory", "locations", "{{locations_loc_code}}" ] }, "description": "**INFORMACIÓN DEL ENDPOINT**\n\nESTE METODO PUT SIRVE PARA ACTUALIZAR UN ALMACEN.\n\n***BODY:**\n\n**1.-TIPO:** RAW UTILIZANDO EL FORMATO JSON.\n\n**2.-ATRIBUTOS O CAMPOS DEL BODY:**\n\n**2.0.-\"{{locations_loc_code}}\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR LA CLAVE DEL ALMACEN.\n\n**2.1.-\"location_name\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR EL NOMBRE DEL ALMACEN.\n\n**2.2.-\"delivery_address\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NULL O STRING. SE VA ENVIAR LA DIRECCION DEL ALMACEN.\n\n**2.3.-\"phone\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL TELEFONO DEL ALMACEN.\n\n**2.4.-\"phone2\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR UN SEGUNDO TELEFONO DEL ALMACEN.\n\n**2.5.-\"fax\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR ES EL FAX DEL ALMACEN.\n\n**2.6.-\"email\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL CORREO DEL ALMACEN.\n\n**2.7.-\"contact\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL NOMBRE DEL CONTACTO DEL ALMACEN.\n\n**2.8.-\"inactive\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O BOOLEANO O NULL O NUMERICO. SE VA ENVIAR 0 O \"0\" O false PARA QUE EL ALMACEN ESTE ACTIVO O 1 O \"1\" O true PARA QUE EL ALMACEN NO ESTE ACTIVO.\n\n**2.9.-\"cfd22_street\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR LA CALLE DEL ALMACEN.\n\n**2.10.-\"cfd22_street_number\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL NUMERO EXTERIOR DEL ALMACEN.\n\n**2.11.-\"cfd22_suite_number\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL NUMERO INTERIOR DEL ALMACEN.\n\n**2.12.-\"cfd22_district\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR LA COLONIA DEL ALMACEN.\n\n**2.13.-\"cfd22_city\"=** ES UN CAMPO OPCIONALEY Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL NOMBRE DE LA CIUDAD DEL ALMACEN.\n\n**2.14.-\"cfd22_country_id\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR LA CLAVE DEL PAIS DEL ALMACEN \"KEN - Kenia\".\n\n**2.15.-\"fixed_asset\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O BOOLEANO O NULL O NUMERICO. SE VA ENVIAR 0 O \"0\" O false PARA QUE EL ALMACEN SEA ACTIVO FIJO O 1 O \"1\" O true PARA QUE EL ALMACEN NO SEA ACTIVO FIJO.\n\n**2.16.-\"sucursal_id\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR LA CLAVE DE LA SUCURSAL." }, "response": [ { "name": "Locations", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"location_name\": \"LOCATION NUEVO ALMA1 ACT\",\r\n \"delivery_address\": null,\r\n \"phone\": \"\",\r\n \"phone2\": \"\",\r\n \"fax\": \"\",\r\n \"email\": \"\",\r\n \"contact\": \"\",\r\n \"inactive\":false,\r\n \"cfd22_street\":null,\r\n \"cfd22_street_number\":null,\r\n \"cfd22_suite_number\":null,\r\n \"cfd22_district\":null,\r\n \"cfd22_postal_code\":null,\r\n \"cfd22_city\":null,\r\n \"cfd22_country_id\":null,\r\n \"fixed_asset\":false,\r\n \"sucursal_id\": 1\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/inventory/locations/ALMA1", "host": [ "{{API}}" ], "path": [ "api", "v3", "inventory", "locations", "ALMA1" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Thu, 01 Sep 2022 14:48:09 GMT" }, { "key": "Server", "value": "Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.4.1" }, { "key": "Vary", "value": "Authorization" }, { "key": "X-Powered-By", "value": "PHP/7.4.1" }, { "key": "Expires", "value": "Thu, 19 Nov 1981 08:52:00 GMT" }, { "key": "Cache-Control", "value": "private" }, { "key": "Pragma", "value": "no-cache" }, { "key": "Content-Length", "value": "121" }, { "key": "Keep-Alive", "value": "timeout=5, max=100" }, { "key": "Connection", "value": "Keep-Alive" }, { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"version\": \"3.22.35\",\n \"result\": true,\n \"messages\": [\n \"El Almacén seleccionado se ha actualizado\"\n ],\n \"location_code\": \"ALMA1\"\n}" } ] } ] }, { "name": "Items", "item": [ { "name": "Items", "request": { "method": "GET", "header": [], "url": { "raw": "{{API}}/api/v3/inventory/items?show_inactive=true&skip=0&limit=50", "host": [ "{{API}}" ], "path": [ "api", "v3", "inventory", "items" ], "query": [ { "key": "show_inactive", "value": "true", "description": "Mostrar registros inactivos" }, { "key": "skip", "value": "0", "description": "Numero de filas a saltar" }, { "key": "limit", "value": "50", "description": "Numero limite de registros a cargar" }, { "key": "search", "value": "", "description": "Campo de búsqueda por descripcion del articulo", "disabled": true } ] }, "description": "**INFORMACIÓN DEL ENDPOINT**\n\nESTE METODO GET SIRVE PARA CONSEGUIR UN LISTADO DETALLADO DE LOS ARTICULOS ALMACENADOS EN SISTEMA.\n\n**\\*PARAMS:**\n\n**1.-ATRIBUTOS O CAMPOS DEL PARAMS:**\n\n**1.1.-\"limit\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO. SE VA ENVIAR EL NUMERO LIMITE DE REGISTROS A CARGAR.\n\n**1.2.-\"skip\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO. SE VA ENVIAR EL NUMERO DE FILAS A SALTAR.\n\n**1.3.-\"show_inactive\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING. SE VA ENVIAR \"true\" o \"1\" PARA MOSTRAR ARTICULOS INACTIVOS.\n\n**1.4.-\"search\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING. SE VA ENVIAR LA DESCRIPCION DEL ARTICULO QUE DESEA BUSCAR." }, "response": [ { "name": "Items", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{API}}/api/v3/inventory/items?show_inactive=true&skip=0&limit=50", "host": [ "{{API}}" ], "path": [ "api", "v3", "inventory", "items" ], "query": [ { "key": "show_inactive", "value": "true", "description": "Mostrar registros inactivos" }, { "key": "skip", "value": "0", "description": "Numero de filas a saltar" }, { "key": "limit", "value": "50", "description": "Numero limite de registros a cargar" }, { "key": "search", "value": "", "description": "Campo de búsqueda por item_code", "disabled": true } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Thu, 01 Sep 2022 15:38:19 GMT" }, { "key": "Server", "value": "Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.4.1" }, { "key": "Vary", "value": "Authorization" }, { "key": "X-Powered-By", "value": "PHP/7.4.1" }, { "key": "Expires", "value": "Thu, 19 Nov 1981 08:52:00 GMT" }, { "key": "Cache-Control", "value": "private" }, { "key": "Pragma", "value": "no-cache" }, { "key": "Content-Length", "value": "4247" }, { "key": "Keep-Alive", "value": "timeout=5, max=100" }, { "key": "Connection", "value": "Keep-Alive" }, { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"version\": \"3.22.35\",\n \"total\": 6,\n \"limit\": 50,\n \"skip\": 0,\n \"data\": [\n {\n \"id\": \"1\",\n \"item_code\": \"SALDOS\",\n \"stock_id\": \"SALDOS\",\n \"description\": \"SALDO_INICIAL\",\n \"category_id\": \"4\",\n \"quantity\": \"1\",\n \"is_foreign\": \"0\",\n \"inactive\": \"0\",\n \"url_img\": \"\",\n \"name_img\": \"\",\n \"barcode\": \"123456789\",\n \"alternate_code\": \"\",\n \"category\": {\n \"category_id\": \"4\",\n \"description\": \"SERVICIOS\",\n \"dflt_tax_type\": \"1\",\n \"dflt_units\": \"SRV\",\n \"dflt_mb_flag\": \"D\",\n \"dflt_sales_act\": \"401.01.001\",\n \"dflt_cogs_act\": \"502.01.001\",\n \"dflt_inventory_act\": \"0\",\n \"dflt_adjustment_act\": \"0\",\n \"dflt_assembly_act\": \"0\",\n \"dflt_dim1\": \"0\",\n \"dflt_dim2\": \"0\",\n \"dflt_dim3\": \"0\",\n \"dflt_dim4\": \"0\",\n \"dflt_dim5\": \"0\",\n \"dflt_dim6\": \"0\",\n \"inactive\": \"0\",\n \"dflt_no_sale\": \"0\",\n \"dflt_wip_act\": \"\",\n \"dflt_no_purchase\": \"0\",\n \"dflt_type_serie\": \"0\",\n \"dflt_atributos\": \"\"\n }\n },\n {\n \"id\": \"8\",\n \"item_code\": \"KIT_SALDOS\",\n \"stock_id\": \"SALDOS\",\n \"description\": \"NUEVO KIT SALDOS\",\n \"category_id\": \"4\",\n \"quantity\": \"4\",\n \"is_foreign\": \"0\",\n \"inactive\": \"0\",\n \"url_img\": \"\",\n \"name_img\": \"\",\n \"barcode\": \"\",\n \"alternate_code\": \"\",\n \"category\": {\n \"category_id\": \"4\",\n \"description\": \"SERVICIOS\",\n \"dflt_tax_type\": \"1\",\n \"dflt_units\": \"SRV\",\n \"dflt_mb_flag\": \"D\",\n \"dflt_sales_act\": \"401.01.001\",\n \"dflt_cogs_act\": \"502.01.001\",\n \"dflt_inventory_act\": \"0\",\n \"dflt_adjustment_act\": \"0\",\n \"dflt_assembly_act\": \"0\",\n \"dflt_dim1\": \"0\",\n \"dflt_dim2\": \"0\",\n \"dflt_dim3\": \"0\",\n \"dflt_dim4\": \"0\",\n \"dflt_dim5\": \"0\",\n \"dflt_dim6\": \"0\",\n \"inactive\": \"0\",\n \"dflt_no_sale\": \"0\",\n \"dflt_wip_act\": \"\",\n \"dflt_no_purchase\": \"0\",\n \"dflt_type_serie\": \"0\",\n \"dflt_atributos\": \"\"\n }\n },\n {\n \"id\": \"9\",\n \"item_code\": \"articulo_nuevo\",\n \"stock_id\": \"articulo_nuevo\",\n \"description\": \"este es un articulo nuevo\",\n \"category_id\": \"1\",\n \"quantity\": \"1\",\n \"is_foreign\": \"0\",\n \"inactive\": \"0\",\n \"url_img\": \"\",\n \"name_img\": \"\",\n \"barcode\": \"\",\n \"alternate_code\": \"\",\n \"category\": {\n \"category_id\": \"1\",\n \"description\": \"ARTÍCULOS\",\n \"dflt_tax_type\": \"1\",\n \"dflt_units\": \"PZA\",\n \"dflt_mb_flag\": \"B\",\n \"dflt_sales_act\": \"401.01.001\",\n \"dflt_cogs_act\": \"501.01.001\",\n \"dflt_inventory_act\": \"115.01.001\",\n \"dflt_adjustment_act\": \"501.08.001\",\n \"dflt_assembly_act\": \"0\",\n \"dflt_dim1\": \"0\",\n \"dflt_dim2\": \"0\",\n \"dflt_dim3\": \"0\",\n \"dflt_dim4\": \"0\",\n \"dflt_dim5\": \"0\",\n \"dflt_dim6\": \"0\",\n \"inactive\": \"0\",\n \"dflt_no_sale\": \"0\",\n \"dflt_wip_act\": \"\",\n \"dflt_no_purchase\": \"0\",\n \"dflt_type_serie\": \"0\",\n \"dflt_atributos\": \"\"\n }\n },\n {\n \"id\": \"10\",\n \"item_code\": \"kitNuevo\",\n \"stock_id\": \"SALDOS\",\n \"description\": \"NUEVO DEPARTAMENTO\",\n \"category_id\": \"1\",\n \"quantity\": \"1\",\n \"is_foreign\": \"0\",\n \"inactive\": \"0\",\n \"url_img\": \"\",\n \"name_img\": \"\",\n \"barcode\": \"\",\n \"alternate_code\": \"\",\n \"category\": {\n \"category_id\": \"1\",\n \"description\": \"ARTÍCULOS\",\n \"dflt_tax_type\": \"1\",\n \"dflt_units\": \"PZA\",\n \"dflt_mb_flag\": \"B\",\n \"dflt_sales_act\": \"401.01.001\",\n \"dflt_cogs_act\": \"501.01.001\",\n \"dflt_inventory_act\": \"115.01.001\",\n \"dflt_adjustment_act\": \"501.08.001\",\n \"dflt_assembly_act\": \"0\",\n \"dflt_dim1\": \"0\",\n \"dflt_dim2\": \"0\",\n \"dflt_dim3\": \"0\",\n \"dflt_dim4\": \"0\",\n \"dflt_dim5\": \"0\",\n \"dflt_dim6\": \"0\",\n \"inactive\": \"0\",\n \"dflt_no_sale\": \"0\",\n \"dflt_wip_act\": \"\",\n \"dflt_no_purchase\": \"0\",\n \"dflt_type_serie\": \"0\",\n \"dflt_atributos\": \"\"\n }\n },\n {\n \"id\": \"11\",\n \"item_code\": \"kitNuevo\",\n \"stock_id\": \"articulo_nuevo\",\n \"description\": \"NUEVO DEPARTAMENTO\",\n \"category_id\": \"1\",\n \"quantity\": \"1\",\n \"is_foreign\": \"0\",\n \"inactive\": \"0\",\n \"url_img\": \"\",\n \"name_img\": \"\",\n \"barcode\": \"\",\n \"alternate_code\": \"\",\n \"category\": {\n \"category_id\": \"1\",\n \"description\": \"ARTÍCULOS\",\n \"dflt_tax_type\": \"1\",\n \"dflt_units\": \"PZA\",\n \"dflt_mb_flag\": \"B\",\n \"dflt_sales_act\": \"401.01.001\",\n \"dflt_cogs_act\": \"501.01.001\",\n \"dflt_inventory_act\": \"115.01.001\",\n \"dflt_adjustment_act\": \"501.08.001\",\n \"dflt_assembly_act\": \"0\",\n \"dflt_dim1\": \"0\",\n \"dflt_dim2\": \"0\",\n \"dflt_dim3\": \"0\",\n \"dflt_dim4\": \"0\",\n \"dflt_dim5\": \"0\",\n \"dflt_dim6\": \"0\",\n \"inactive\": \"0\",\n \"dflt_no_sale\": \"0\",\n \"dflt_wip_act\": \"\",\n \"dflt_no_purchase\": \"0\",\n \"dflt_type_serie\": \"0\",\n \"dflt_atributos\": \"\"\n }\n },\n {\n \"id\": \"12\",\n \"item_code\": \"TEST\",\n \"stock_id\": \"TEST_ACT\",\n \"description\": \"TEST ACTUALIZADO\",\n \"category_id\": \"1\",\n \"quantity\": \"1\",\n \"is_foreign\": \"0\",\n \"inactive\": \"0\",\n \"url_img\": \"\",\n \"name_img\": \"\",\n \"barcode\": \"123456789\",\n \"alternate_code\": \"\",\n \"category\": {\n \"category_id\": \"1\",\n \"description\": \"ARTÍCULOS\",\n \"dflt_tax_type\": \"1\",\n \"dflt_units\": \"PZA\",\n \"dflt_mb_flag\": \"B\",\n \"dflt_sales_act\": \"401.01.001\",\n \"dflt_cogs_act\": \"501.01.001\",\n \"dflt_inventory_act\": \"115.01.001\",\n \"dflt_adjustment_act\": \"501.08.001\",\n \"dflt_assembly_act\": \"0\",\n \"dflt_dim1\": \"0\",\n \"dflt_dim2\": \"0\",\n \"dflt_dim3\": \"0\",\n \"dflt_dim4\": \"0\",\n \"dflt_dim5\": \"0\",\n \"dflt_dim6\": \"0\",\n \"inactive\": \"0\",\n \"dflt_no_sale\": \"0\",\n \"dflt_wip_act\": \"\",\n \"dflt_no_purchase\": \"0\",\n \"dflt_type_serie\": \"0\",\n \"dflt_atributos\": \"\"\n }\n }\n ]\n}" } ] }, { "name": "Item", "request": { "method": "GET", "header": [], "url": { "raw": "{{API}}/api/v3/inventory/items/{{items_item_code}}", "host": [ "{{API}}" ], "path": [ "api", "v3", "inventory", "items", "{{items_item_code}}" ] }, "description": "**INFORMACIÓN DEL ENDPOINT**\n\nESTE METODO GET SIRVE PARA CONSEGUIR LA INFORMACION DETALLADA DE UN ARTICULO EN ESPECIFICO.\n\n***PARAMS:**\n\n**1.-ATRIBUTOS O CAMPOS DEL PARAMS:**\n\n**1.1.-\"{{items_item_code}}\"=** ES UN PARAMETRO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR EL ID O EL IDENTIFICADOR DEL ARTICULO QUE DESEA BUSCAR." }, "response": [ { "name": "Item", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{API}}/api/v3/inventory/items/TEST", "host": [ "{{API}}" ], "path": [ "api", "v3", "inventory", "items", "TEST" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Thu, 01 Sep 2022 15:40:42 GMT" }, { "key": "Server", "value": "Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.4.1" }, { "key": "Vary", "value": "Authorization" }, { "key": "X-Powered-By", "value": "PHP/7.4.1" }, { "key": "Expires", "value": "Thu, 19 Nov 1981 08:52:00 GMT" }, { "key": "Cache-Control", "value": "private" }, { "key": "Pragma", "value": "no-cache" }, { "key": "Content-Length", "value": "765" }, { "key": "Keep-Alive", "value": "timeout=5, max=100" }, { "key": "Connection", "value": "Keep-Alive" }, { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"version\": \"3.22.35\",\n \"total\": 1,\n \"limit\": 20,\n \"skip\": 0,\n \"data\": [\n {\n \"id\": \"12\",\n \"item_code\": \"TEST\",\n \"stock_id\": \"TEST_ACT\",\n \"description\": \"TEST ACTUALIZADO\",\n \"category_id\": \"1\",\n \"quantity\": \"1\",\n \"is_foreign\": \"0\",\n \"inactive\": \"0\",\n \"url_img\": \"\",\n \"name_img\": \"\",\n \"barcode\": \"123456789\",\n \"alternate_code\": \"\",\n \"category\": {\n \"category_id\": \"1\",\n \"description\": \"ARTÍCULOS\",\n \"dflt_tax_type\": \"1\",\n \"dflt_units\": \"PZA\",\n \"dflt_mb_flag\": \"B\",\n \"dflt_sales_act\": \"401.01.001\",\n \"dflt_cogs_act\": \"501.01.001\",\n \"dflt_inventory_act\": \"115.01.001\",\n \"dflt_adjustment_act\": \"501.08.001\",\n \"dflt_assembly_act\": \"0\",\n \"dflt_dim1\": \"0\",\n \"dflt_dim2\": \"0\",\n \"dflt_dim3\": \"0\",\n \"dflt_dim4\": \"0\",\n \"dflt_dim5\": \"0\",\n \"dflt_dim6\": \"0\",\n \"inactive\": \"0\",\n \"dflt_no_sale\": \"0\",\n \"dflt_wip_act\": \"\",\n \"dflt_no_purchase\": \"0\",\n \"dflt_type_serie\": \"0\",\n \"dflt_atributos\": \"\"\n }\n }\n ]\n}" } ] }, { "name": "Items", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"item_code\":\"ITEMTEST080922\",\r\n \"stock_id\":\"ITEMTEST080922\",\r\n \"description\":\"ITEMTEST080922 ARTICULO\",\r\n \"category_id\": 38,\r\n \"quantity\": 1,\r\n \"is_foreign\":0,\r\n \"inactive\":0,\r\n \"url_img\":\"\",\r\n \"name_img\":\"\",\r\n \"barcode\":\"\",\r\n \"alternate_code\":\"\"\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/inventory/items", "host": [ "{{API}}" ], "path": [ "api", "v3", "inventory", "items" ] }, "description": "**INFORMACIÓN DEL ENDPOINT**\n\nESTE METODO POST SIRVE PARA CREAR UN ARTICULOS.\n\n***BODY:**\n\n**1.-TIPO:** RAW UTILIZANDO EL FORMATO JSON.\n\n**2.-ATRIBUTOS O CAMPOS DEL BODY:**\n\n**2.1.-\"item_code\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR LA CLAVE DEL ARTICULO OJO NO SE PUEDE CREAR UN ARTICULO CON UNA CLAVE YA CREADA Y MAXIMO 20 CARACTERES Y MINIMO 1.\n\n**2.2.-\"stock_id\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR LA CLAVE DEL ARTICULO EN STOCK OJO MAXIMO 20 CARACTERES Y MINIMO 1.\n\n**2.3.-\"description\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR EL NOMBRE DEL ARTICULO.\n\n**2.4.-\"category_id\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO. SE VA ENVIAR EL ID O IDENTIFICADOR DE LA CATEGORIA.\n\n**2.5.-\"quantity\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL. SE VA ENVIAR LA CANTIDAD DEL PRODUCTO.\n\n**2.6.-\"is_foreign\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O BOOLEANO O NULL O NUMERICO. SE VA ENVIAR 0 O \"0\" O false PARA QUE EL PRODUCTO SI ES FOREANEO O 1 O \"1\" O true PARA QUE EL ALMACEN NO ES FOREANEO.\n\n**2.7.-\"inactive\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O BOOLEANO O NULL O NUMERICO. SE VA ENVIAR 0 O \"0\" O false PARA QUE EL ARTICULO ESTE ACTIVO O 1 O \"1\" O true PARA QUE EL ARTICULO NO ESTE ACTIVO.\n\n**2.8.-\"url_img\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR LA URL DE LA IMAGEN.\n\n**2.9.-\"name_img\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL NOMBRE DE LA IMAGEN.\n\n**2.10.-\"barcode\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL CODIGO DE BARRAS DEL ARTICULO.\n\n**2.11.-\"alternate_code\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR UN CODIGO ALTERNO DEL ARTICULO." }, "response": [ { "name": "Items", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"item_code\":\"TEST\", //Código\r\n \"stock_id\":\"TEST\", //SKU\r\n \"description\":\"\", //Descripción de Item\r\n \"category_id\": 1, //Categoría\r\n \"quantity\": 1, //Cantidad\r\n \"is_foreign\":0, //\r\n \"inactive\":0,//Inactivo\r\n \"url_img\":\"\", //Link para cargar imagen\r\n \"name_img\":\"\", //Nombre de la imagen\r\n \"barcode\":\"\" //Código de barras\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/inventory/items", "host": [ "{{API}}" ], "path": [ "api", "v3", "inventory", "items" ] } }, "_postman_previewlanguage": "Text", "header": [], "cookie": [], "body": "" }, { "name": "Items Completo", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"item_code\":\"TEST\",\r\n \"stock_id\":\"TEST\",\r\n \"description\":\"TEST ARTICULO\",\r\n \"category_id\": 1,\r\n \"quantity\": 1,\r\n \"is_foreign\":0,\r\n \"inactive\":0,\r\n \"url_img\":\"\",\r\n \"name_img\":\"\",\r\n \"barcode\":\"\",\r\n \"alternate_code\":\"\"\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/inventory/items", "host": [ "{{API}}" ], "path": [ "api", "v3", "inventory", "items" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Thu, 01 Sep 2022 15:30:34 GMT" }, { "key": "Server", "value": "Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.4.1" }, { "key": "Vary", "value": "Authorization" }, { "key": "X-Powered-By", "value": "PHP/7.4.1" }, { "key": "Expires", "value": "Thu, 19 Nov 1981 08:52:00 GMT" }, { "key": "Cache-Control", "value": "private" }, { "key": "Pragma", "value": "no-cache" }, { "key": "Content-Length", "value": "52" }, { "key": "Keep-Alive", "value": "timeout=5, max=100" }, { "key": "Connection", "value": "Keep-Alive" }, { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"version\": \"3.22.35\",\n \"errors\": [\n \"New item inserted\"\n ]\n}" } ] }, { "name": "Items", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"stock_id\":\"ITEMTEST080922\",\r\n \"description\":\"ITEMTEST080922 ACTUALIZADO\",\r\n \"category_id\": 35,\r\n \"quantity\": 1,\r\n \"is_foreign\":0,\r\n \"inactive\":0,\r\n \"url_img\":\"\",\r\n \"name_img\":\"\",\r\n \"barcode\":\"123456789\",\r\n \"alternate_code\":\"\"\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/inventory/items/ITEMTEST080922", "host": [ "{{API}}" ], "path": [ "api", "v3", "inventory", "items", "ITEMTEST080922" ] }, "description": "**INFORMACIÓN DEL ENDPOINT**\n\nESTE METODO PUT SIRVE PARA ACTUALIZAR UN ARTICULO.\n\n***BODY:**\n\n**1.-TIPO:** RAW UTILIZANDO EL FORMATO JSON.\n\n**2.-ATRIBUTOS O CAMPOS DEL BODY:**\n\n**2.0.-\"{{items_item_code}}\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR LA CLAVE DEL ARTICULO.\n\n**2.1.-\"stock_id\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR LA CLAVE DEL ARTICULO EN STOCK OJO MAXIMO 20 CARACTERES Y MINIMO 1.\n\n**2.2.-\"description\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR EL NOMBRE DEL ARTICULO.\n\n**2.3.-\"category_id\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO. SE VA ENVIAR EL ID O IDENTIFICADOR DE LA CATEGORIA.\n\n**2.4.-\"quantity\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL. SE VA ENVIAR LA CANTIDAD DEL PRODUCTO.\n\n**2.5.-\"is_foreign\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O BOOLEANO O NULL O NUMERICO. SE VA ENVIAR 0 O \"0\" O false PARA QUE EL PRODUCTO SI ES FOREANEO O 1 O \"1\" O true PARA QUE EL ALMACEN NO ES FOREANEO.\n\n**2.6.-\"inactive\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O BOOLEANO O NULL O NUMERICO. SE VA ENVIAR 0 O \"0\" O false PARA QUE EL ARTICULO ESTE ACTIVO O 1 O \"1\" O true PARA QUE EL ARTICULO NO ESTE ACTIVO.\n\n**2.7.-\"url_img\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR LA URL DE LA IMAGEN.\n\n**2.8.-\"name_img\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL NOMBRE DE LA IMAGEN.\n\n**2.9.-\"barcode\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL CODIGO DE BARRAS DEL ARTICULO.\n\n**2.10.-\"alternate_code\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR UN CODIGO ALTERNO DEL ARTICULO." }, "response": [ { "name": "Items", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"item_code\":\"TEST\", //Código\r\n \"stock_id\":\"TEST\", //SKU\r\n \"description\":\"\", //Descripción de Item\r\n \"category_id\": 1, //Categoría\r\n \"quantity\": 1, //Cantidad\r\n \"is_foreign\":0, //\r\n \"inactive\":0,//Inactivo\r\n \"url_img\":\"\", //Link para cargar imagen\r\n \"name_img\":\"\", //Nombre de la imagen\r\n \"barcode\":\"\" //Código de barras\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/inventory/items/{{items_item_code}}", "host": [ "{{API}}" ], "path": [ "api", "v3", "inventory", "items", "{{items_item_code}}" ] } }, "_postman_previewlanguage": "Text", "header": [], "cookie": [], "body": "" }, { "name": "Items Completo", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"stock_id\":\"TEST_ACT\",\r\n \"description\":\"TEST ACTUALIZADO\",\r\n \"category_id\": 1,\r\n \"quantity\": 1,\r\n \"is_foreign\":0,\r\n \"inactive\":0,\r\n \"url_img\":\"\",\r\n \"name_img\":\"\",\r\n \"barcode\":\"123456789\",\r\n \"alternate_code\":\"\"\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/inventory/items/TEST", "host": [ "{{API}}" ], "path": [ "api", "v3", "inventory", "items", "TEST" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Thu, 01 Sep 2022 15:35:15 GMT" }, { "key": "Server", "value": "Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.4.1" }, { "key": "Vary", "value": "Authorization" }, { "key": "X-Powered-By", "value": "PHP/7.4.1" }, { "key": "Expires", "value": "Thu, 19 Nov 1981 08:52:00 GMT" }, { "key": "Cache-Control", "value": "private" }, { "key": "Pragma", "value": "no-cache" }, { "key": "Content-Length", "value": "86" }, { "key": "Keep-Alive", "value": "timeout=5, max=100" }, { "key": "Connection", "value": "Keep-Alive" }, { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"version\": \"3.22.35\",\n \"messages\": [\n \"Selected item has been updated\"\n ],\n \"item_code\": \"TEST\"\n}" } ] } ] }, { "name": "Stock Master", "item": [ { "name": "Stock Master", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"stock_id\":\"TEST090922\",\r\n \"category_id\": 35,\r\n \"tax_type_id\": 2,\r\n \"description\":\"TEST090922 PRUEBA\",\r\n \"long_description\":\"\",\r\n \"units\": \"LTS\",\r\n \"mb_flag\":null,\r\n \"sales_account\":\"401.01.001\",\r\n \"cogs_account\": \"501.01.001\",\r\n \"inventory_account\":null,\r\n \"adjustment_account\":null,\r\n \"assembly_account\":null,\r\n \"dimension_id\":null,\r\n \"dimension2_id\":null,\r\n \"dimension3_id\":null,\r\n \"dimension4_id\":null,\r\n \"dimension5_id\":null,\r\n \"dimension6_id\":null,\r\n \"actual_cost\":null,\r\n \"last_cost\":null,\r\n \"material_cost\":null,\r\n \"labour_cost\":null,\r\n \"overhead_cost\":null,\r\n \"inactive\":null,\r\n \"no_sale\":null,\r\n \"editable\":null,\r\n \"depreciation_method\":null,\r\n \"depreciation_rate\":null,\r\n \"depreciation_factor\":null,\r\n \"depreciation_start\":null,\r\n \"depreciation_date\":null,\r\n \"fa_class_id\":null,\r\n \"url_img\":null,\r\n \"mano_obra\":null,\r\n \"wip_account\":null,\r\n \"no_purchase\":null,\r\n \"type_serie\":null,\r\n \"brand_id\":null,\r\n \"fabricant_id\":null,\r\n \"fabricant_number\":null,\r\n \"kmscycles\":null,\r\n \"barcode\":null,\r\n \"timbrado_v33_prod_ser\": \"01010101\",\r\n \"timbrado_v33_cuenta_predial\":null\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/inventory/stock_master", "host": [ "{{API}}" ], "path": [ "api", "v3", "inventory", "stock_master" ] }, "description": "**INFORMACIÓN DEL ENDPOINT**\n\nESTE METODO POST SIRVE PARA CREAR UN ARTICULO EN STOCK.\n\n***BODY:**\n\n**1.-TIPO:** RAW UTILIZANDO EL FORMATO JSON.\n\n**2.-ATRIBUTOS O CAMPOS DEL BODY:**\n\n**2.1.-\"stock_id\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR EL ID O IDENTIFICADOR DEL ARTICULO OJO SE TIENE QUE ENVIAR UN IDENTIFICADOR QUE HAYA SIDO AGREGADO Y MAXIMO 20 CARACTERES Y MINIMO 1.\n\n**2.2.-\"category_id\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO O STRING. SE VA ENVIAR EL ID O IDENTIFICADOR DE LA CATEGORIA.\n\n**2.3.-\"tax_type_id\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO O STRING. SE VA ENVIAR EL ID O IDENTIFICADOR DEL TIPO DE IMPUESTO.\n\n**2.4.-\"description\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR LA DESCRIPCION DEL ARTICULO EN STOCK.\n\n**2.5.-\"long_description\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR LA DESCRIPCION COMPLETA DEL ARTICULO.\n\n**2.6.-\"units\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR EL ID O IDENTIFICADOR DE LA UNIDAD DE MEDIDA.\n\n**2.7.-\"mb_flag\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR LA CLAVE DEL TIPO DE ARTICULO \"B\"(COMPRA/VENTA) O \"M\"(MANUFACTURADO) O \"D\"(SERVICIO).\n\n**2.8.-\"sales_account\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR EL ID O IDENTIFICADOR DE LA CUENTA DE VENTAS.\n\n**2.9.-\"cogs_account\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR EL ID O IDENTIFICADOR DE LA CUENTA DE GASTO O COSTO DE VENTA.\n\n**2.10.-\"inventory_account\"=** ES UN CAMPO OBLIGATORIO CUANDO \"mb_flag\" SEA DE TIPO \"M\" O \"B\" SI NO ES ASI ES OPCIONAL Y ES DE TIPO STRING. SE VA ENVIAR EL ID O IDENTIFICADOR DE LA CUENTA DE INVENTARIO.\n\n**2.11.-\"adjustment_account\"=** ES UN CAMPO OBLIGATORIO CUANDO \"mb_flag\" SEA DE TIPO \"M\" O \"B\" SI NO ES ASI ES OPCIONAL Y ES DE TIPO STRING. SE VA ENVIAR EL ID O IDENTIFICADOR DE LA CUENTA DE AJUSTES DE INVENTARIO.\n\n**2.12.-\"assembly_account\"=** ES UN CAMPO OBLIGATORIO CUANDO \"mb_flag\" SEA DE TIPO \"M\" SI NO ES ASI ES OPCIONAL Y ES DE TIPO STRING. SE VA ENVIAR EL ID O IDENTIFICADOR DE LA CUENTA DE COSTOS MANUFACTURADA.\n\n**2.13.-\"dimension_id\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL. SE VA ENVIAR EL ID O IDENTIFICADOR DE LA DIMENSION 1.\n\n**2.14.-\"dimension2_id\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL. SE VA ENVIAR EL ID O IDENTIFICADOR DE LA DIMENSION 2.\n\n**2.15.-\"dimension3_id\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL. SE VA ENVIAR EL ID O IDENTIFICADOR DE LA DIMENSION 3.\n\n**2.16.-\"dimension4_id\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL. SE VA ENVIAR EL ID O IDENTIFICADOR DE LA DIMENSION 4.\n\n**2.17.-\"dimension5_id\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL. SE VA ENVIAR EL ID O IDENTIFICADOR DE LA DIMENSION 5.\n\n**2.18.-\"dimension6_id\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL. SE VA ENVIAR EL ID O IDENTIFICADOR DE LA DIMENSION 6.\n\n**2.19.-\"actual_cost\"=** ES UN CAMPO OPCIONALY ES DE TIPO NUMERICO O NULL. SE VA ENVIAR EL COSTO ACTUAL DEL ARTICULO EN STOCK.\n\n**2.20.-\"last_cost\"=** ES UN CAMPO OPCIONALY ES DE TIPO NUMERICO O NULL. SE VA ENVIAR EL COSTO PASADO DEL ARTICULO EN STOCK.\n\n**2.21.-\"material_cost\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL. SE VA ENVIAR EL COSTO MATERIAL DEL ARTICULO EN STOCK.\n\n**2.22.-\"labour_cost\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL. SE VA ENVIAR EL COSTO DE TRABAJO DEL ARTICULO EN STOCK.\n\n**2.23.-\"overhead_cost\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL. SE VA ENVIAR EL COSTO DE TRABAJO DEL ARTICULO EN STOCK..\n\n**2.24.-\"inactive\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O BOOLEANO O NULL. SE VA ENVIAR 0 O \"0\" O false PARA QUE EL ARTICULO EN STOCK ESTE ACTIVO O 1 O \"1\" O true PARA QUE ELARTICULO EN STOCK NO ESTE ACTIVO.\n\n**2.25.-\"no_sale\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O BOOLEANO O NULL. SE VA ENVIAR 0 O \"0\" O false PARA QUE EL ARTICULO EN STOCK ESTE A LA VENTA O 1 O \"1\" O true PARA QUE EL ARTICULO EN STOCK NO ESTE A LA VENTA.\n\n**2.26.-\"editable\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O BOOLEANO O NULL. SE VA ENVIAR 0 O \"0\" O false PARA QUE EL ARTICULO EN STOCK NO SEA EDITABLE O 1 O \"1\" O true PARA QUE EL ARTICULO EN STOCK SEA EDITABLE.\n\n**2.27.-\"depreciation_method\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL METODO DE DEPRECIACION \"O\"(UNA VEZ) O \"S\" (LINEA DIRECTA) O \"D\"(DECLINAR BALANCE) .\n\n**2.28.-\"depreciation_rate\"=** CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL. SE VA ENVIAR LA TARIFA DE DEPRECIACION.\n\n**2.29.-\"depreciation_factor\"=** CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL. SE VA ENVIAR EL FACTOR DE CONVERSION DE DEPRECIACION.\n\n**2.30.-\"depreciation_start\"=** CAMPO OPCIONAL Y DE TIPO STRING O NULL. SE VA ENVIAR LA FECHA DE DEPRECIACION DE INICIO Y TIENE QUE TENER EL FORMATO \"YYYY-MM-DD\".\n\n**2.31.-\"depreciation_date\"=** CAMPO OPCIONAL Y DE TIPO STRING O NULL. SE VA ENVIAR LA FECHA DE DEPRECIACION Y TIENE QUE TENER EL FORMATO \"YYYY-MM-DD\".\n\n**2.32.-\"fa_class_id\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL.\n\n**2.33.-\"urL_img\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR LA URL DE LA IMAGEN DEL ARTICULO DE.\n\n**2.34.-\"mano_obra\"=** CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL. SE VA ENVIAR SI SE HIZO CON MANO DE OBRA(1) O NO(0).\n\n**2.35.-\"wip_account\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR LA CUENTA WIP DEL ARTICULO EN STOCK.\n\n**2.36.-\"no_purchase\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O BOOLEANO O NULL. SE VA ENVIAR 0 O \"0\" O false PARA QUE EL ARTICULO EN STOCK NO FUE DE COMPRA O 1 O \"1\" O true PARA QUE EL ARTICULO EN STOCK FUE DE COMPRA.\n\n**2.37.-\"type_serie\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O BOOLEANO O NULL. SE VA ENVIAR 0 O \"0\" O false PARA QUE EL ARTICULO EN STOCK NO ES SERIALIZADO O 1 O \"1\" O true PARA QUE EL ARTICULO EN STOCK ES SERIALIZADO.\n\n**2.38.-\"brand_id\"=** CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL. SE VA ENVIAR EL IDENTIFICADOR O CLAVE DE LA MARCA.\n\n**2.39.-\"fabricant_id\"=** CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL. SE VA ENVIAR EL IDENTIFICADOR O CLAVE DEL FABRICANTE.\n\n**2.40.-\"fabricant_number\"=** CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL. SE VA ENVIAR EL NUMERO DEL FABRICANTE.\n\n**2.41.-\"kmscycles\"=** CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL.\n\n**2.42.-\"barcode\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL CODIGO DE BARRAS.\n\n**2.43.-\"timbrado_v33_prod_ser\"=** CAMPO OBLIGATORIO CUANDO EL \"no_sale\" SEA IGUAL A 0 O SI NO ES OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL LA CLAVE SAT DEL ARTICULO.\n\n**2.44.-\"timbrado_v33_cuenta_predial\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR LA CUENTA PREDIAL DEL PRODUCTO." }, "response": [ { "name": "Stock Master", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"stock_id\":\"TEST\", //Id del artículo\r\n \"description\":\"TEST\", //Descripcion del artículo\r\n \"category_id\": 4, //Categoría\r\n \"tax_type_id\": 1, //Tipo de impuesto\r\n \"units\": \"LTS\", //Uniad de medida\r\n \"sales_account\":\"401.01.001\",\r\n \"cogs_account\": \"501.01.001\",\r\n \"timbrado_v33_prod_ser\": \"01010101\"\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/inventory/stock_master", "host": [ "{{API}}" ], "path": [ "api", "v3", "inventory", "stock_master" ] } }, "_postman_previewlanguage": "Text", "header": [], "cookie": [], "body": "" }, { "name": "Stock Master Completo", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"stock_id\":\"TEST\",\r\n \"category_id\": 1,\r\n \"tax_type_id\": 2,\r\n \"description\":\"TEST\",\r\n \"long_description\":\"\",\r\n \"units\": \"LTS\",\r\n \"mb_flag\":null,\r\n \"sales_account\":\"401.01.001\",\r\n \"cogs_account\": \"501.01.001\",\r\n \"inventory_account\":null,\r\n \"adjustment_account\":null,\r\n \"assembly_account\":null,\r\n \"dimension_id\":null,\r\n \"dimension2_id\":null,\r\n \"dimension3_id\":null,\r\n \"dimension4_id\":null,\r\n \"dimension5_id\":null,\r\n \"dimension6_id\":null,\r\n \"actual_cost\":null,\r\n \"last_cost\":null,\r\n \"material_cost\":null,\r\n \"labour_cost\":null,\r\n \"overhead_cost\":null,\r\n \"inactive\":null,\r\n \"no_sale\":null,\r\n \"editable\":null,\r\n \"depreciation_method\":null,\r\n \"depreciation_rate\":null,\r\n \"depreciation_factor\":null,\r\n \"depreciation_start\":null,\r\n \"depreciation_date\":null,\r\n \"fa_class_id\":null,\r\n \"url_img\":null,\r\n \"mano_obra\":null,\r\n \"wip_account\":null,\r\n \"no_purchase\":null,\r\n \"type_serie\":null,\r\n \"brand_id\":null,\r\n \"fabricant_id\":null,\r\n \"fabricant_number\":null,\r\n \"kmscycles\":null,\r\n \"barcode\":null,\r\n \"timbrado_v33_prod_ser\": \"01010101\",\r\n \"timbrado_v33_cuenta_predial\":null\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/inventory/stock_master", "host": [ "{{API}}" ], "path": [ "api", "v3", "inventory", "stock_master" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Thu, 01 Sep 2022 23:19:59 GMT" }, { "key": "Server", "value": "Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.4.1" }, { "key": "Vary", "value": "Authorization" }, { "key": "X-Powered-By", "value": "PHP/7.4.1" }, { "key": "Expires", "value": "Thu, 19 Nov 1981 08:52:00 GMT" }, { "key": "Cache-Control", "value": "private" }, { "key": "Pragma", "value": "no-cache" }, { "key": "Content-Length", "value": "52" }, { "key": "Keep-Alive", "value": "timeout=5, max=100" }, { "key": "Connection", "value": "Keep-Alive" }, { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"version\": \"3.22.35\",\n \"errors\": [\n \"New item inserted\"\n ]\n}" } ] }, { "name": "Stock Master", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"category_id\": 1,\r\n \"tax_type_id\": 1,\r\n \"description\":\"TEST090922 PRUEBA 2\",\r\n \"long_description\":\"\",\r\n \"units\": \"PZA\",\r\n \"mb_flag\":null,\r\n \"sales_account\":\"401.01.001\",\r\n \"cogs_account\": \"501.01.001\",\r\n \"inventory_account\":null,\r\n \"adjustment_account\":null,\r\n \"assembly_account\":null,\r\n \"dimension_id\":null,\r\n \"dimension2_id\":null,\r\n \"dimension3_id\":null,\r\n \"dimension4_id\":null,\r\n \"dimension5_id\":null,\r\n \"dimension6_id\":null,\r\n \"actual_cost\":null,\r\n \"last_cost\":null,\r\n \"material_cost\":null,\r\n \"labour_cost\":null,\r\n \"overhead_cost\":null,\r\n \"inactive\":null,\r\n \"no_sale\":null,\r\n \"editable\":null,\r\n \"depreciation_method\":null,\r\n \"depreciation_rate\":null,\r\n \"depreciation_factor\":null,\r\n \"depreciation_start\":null,\r\n \"depreciation_date\":null,\r\n \"fa_class_id\":null,\r\n \"url_img\":null,\r\n \"mano_obra\":null,\r\n \"wip_account\":null,\r\n \"no_purchase\":null,\r\n \"type_serie\":null,\r\n \"brand_id\":null,\r\n \"fabricant_id\":null,\r\n \"fabricant_number\":null,\r\n \"kmscycles\":null,\r\n \"barcode\":null,\r\n \"timbrado_v33_prod_ser\": \"01010101\",\r\n \"timbrado_v33_cuenta_predial\":null\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/inventory/stock_master/{{stock_master_stock_id}}", "host": [ "{{API}}" ], "path": [ "api", "v3", "inventory", "stock_master", "{{stock_master_stock_id}}" ] }, "description": "**INFORMACIÓN DEL ENDPOINT**\n\nESTE METODO PUT SIRVE PARA ACTUALIZAR UN ARTICULO EN STOCK.\n\n***BODY:**\n\n**1.-TIPO:** RAW UTILIZANDO EL FORMATO JSON.\n\n**2.-ATRIBUTOS O CAMPOS DEL BODY:**\n\n**2.0.-\"{{stock_master_stock_id}}\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR EL ID O IDENTIFICADOR DEL ARTICULO.\n\n**2.1.-\"category_id\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO O STRING. SE VA ENVIAR EL ID O IDENTIFICADOR DE LA CATEGORIA.\n\n**2.2.-\"tax_type_id\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO O STRING. SE VA ENVIAR EL ID O IDENTIFICADOR DEL TIPO DE IMPUESTO.\n\n**2.3.-\"description\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR LA DESCRIPCION DEL ARTICULO EN STOCK.\n\n**2.4.-\"long_description\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR LA DESCRIPCION COMPLETA DEL ARTICULO.\n\n**2.5.-\"units\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR EL ID O IDENTIFICADOR DE LA UNIDAD DE MEDIDA.\n\n**2.6.-\"mb_flag\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR LA CLAVE DEL TIPO DE ARTICULO \"B\"(COMPRA/VENTA) O \"M\"(MANUFACTURADO) O \"D\"(SERVICIO).\n\n**2.7.-\"sales_account\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR EL ID O IDENTIFICADOR DE LA CUENTA DE VENTAS.\n\n**2.8.-\"cogs_account\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR EL ID O IDENTIFICADOR DE LA CUENTA DE GASTO O COSTO DE VENTA.\n\n**2.9.-\"inventory_account\"=** ES UN CAMPO OBLIGATORIO CUANDO \"mb_flag\" SEA DE TIPO \"M\" O \"B\" SI NO ES ASI ES OPCIONAL Y ES DE TIPO STRING. SE VA ENVIAR EL ID O IDENTIFICADOR DE LA CUENTA DE INVENTARIO.\n\n**2.10.-\"adjustment_account\"=** ES UN CAMPO OBLIGATORIO CUANDO \"mb_flag\" SEA DE TIPO \"M\" O \"B\" SI NO ES ASI ES OPCIONAL Y ES DE TIPO STRING. SE VA ENVIAR EL ID O IDENTIFICADOR DE LA CUENTA DE AJUSTES DE INVENTARIO.\n\n**2.11.-\"assembly_account\"=** ES UN CAMPO OBLIGATORIO CUANDO \"mb_flag\" SEA DE TIPO \"M\" SI NO ES ASI ES OPCIONAL Y ES DE TIPO STRING. SE VA ENVIAR EL ID O IDENTIFICADOR DE LA CUENTA DE COSTOS MANUFACTURADA.\n\n**2.12.-\"dimension_id\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL. SE VA ENVIAR EL ID O IDENTIFICADOR DE LA DIMENSION 1.\n\n**2.13.-\"dimension2_id\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL. SE VA ENVIAR EL ID O IDENTIFICADOR DE LA DIMENSION 2.\n\n**2.14.-\"dimension3_id\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL. SE VA ENVIAR EL ID O IDENTIFICADOR DE LA DIMENSION 3.\n\n**2.15.-\"dimension4_id\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL. SE VA ENVIAR EL ID O IDENTIFICADOR DE LA DIMENSION 4.\n\n**2.16.-\"dimension5_id\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL. SE VA ENVIAR EL ID O IDENTIFICADOR DE LA DIMENSION 5.\n\n**2.17.-\"dimension6_id\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL. SE VA ENVIAR EL ID O IDENTIFICADOR DE LA DIMENSION 6.\n\n**2.18.-\"actual_cost\"=** ES UN CAMPO OPCIONALY ES DE TIPO NUMERICO O NULL. SE VA ENVIAR EL COSTO ACTUAL DEL ARTICULO EN STOCK.\n\n**2.19.-\"last_cost\"=** ES UN CAMPO OPCIONALY ES DE TIPO NUMERICO O NULL. SE VA ENVIAR EL COSTO PASADO DEL ARTICULO EN STOCK.\n\n**2.20.-\"material_cost\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL. SE VA ENVIAR EL COSTO MATERIAL DEL ARTICULO EN STOCK.\n\n**2.21.-\"labour_cost\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL. SE VA ENVIAR EL COSTO DE TRABAJO DEL ARTICULO EN STOCK.\n\n**2.22.-\"overhead_cost\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL. SE VA ENVIAR EL COSTO DE TRABAJO DEL ARTICULO EN STOCK..\n\n**2.23.-\"inactive\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O BOOLEANO O NULL. SE VA ENVIAR 0 O \"0\" O false PARA QUE EL ARTICULO EN STOCK ESTE ACTIVO O 1 O \"1\" O true PARA QUE ELARTICULO EN STOCK NO ESTE ACTIVO.\n\n**2.24.-\"no_sale\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O BOOLEANO O NULL. SE VA ENVIAR 0 O \"0\" O false PARA QUE EL ARTICULO EN STOCK ESTE A LA VENTA O 1 O \"1\" O true PARA QUE EL ARTICULO EN STOCK NO ESTE A LA VENTA.\n\n**2.25.-\"editable\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O BOOLEANO O NULL. SE VA ENVIAR 0 O \"0\" O false PARA QUE EL ARTICULO EN STOCK NO SEA EDITABLE O 1 O \"1\" O true PARA QUE EL ARTICULO EN STOCK SEA EDITABLE.\n\n**2.26.-\"depreciation_method\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL METODO DE DEPRECIACION \"O\"(UNA VEZ) O \"S\" (LINEA DIRECTA) O \"D\"(DECLINAR BALANCE) .\n\n**2.27.-\"depreciation_rate\"=** CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL. SE VA ENVIAR LA TARIFA DE DEPRECIACION.\n\n**2.28.-\"depreciation_factor\"=** CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL. SE VA ENVIAR EL FACTOR DE CONVERSION DE DEPRECIACION.\n\n**2.29.-\"depreciation_start\"=** CAMPO OPCIONAL Y DE TIPO STRING O NULL. SE VA ENVIAR LA FECHA DE DEPRECIACION DE INICIO Y TIENE QUE TENER EL FORMATO \"YYYY-MM-DD\".\n\n**2.30.-\"depreciation_date\"=** CAMPO OPCIONAL Y DE TIPO STRING O NULL. SE VA ENVIAR LA FECHA DE DEPRECIACION Y TIENE QUE TENER EL FORMATO \"YYYY-MM-DD\".\n\n**2.31.-\"fa_class_id\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL.\n\n**2.32.-\"urL_img\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR LA URL DE LA IMAGEN DEL ARTICULO DE.\n\n**2.33.-\"mano_obra\"=** CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL. SE VA ENVIAR SI SE HIZO CON MANO DE OBRA(1) O NO(0).\n\n**2.34.-\"wip_account\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR LA CUENTA WIP DEL ARTICULO EN STOCK.\n\n**2.35.-\"no_purchase\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O BOOLEANO O NULL. SE VA ENVIAR 0 O \"0\" O false PARA QUE EL ARTICULO EN STOCK NO FUE DE COMPRA O 1 O \"1\" O true PARA QUE EL ARTICULO EN STOCK FUE DE COMPRA.\n\n**2.36.-\"type_serie\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O BOOLEANO O NULL. SE VA ENVIAR 0 O \"0\" O false PARA QUE EL ARTICULO EN STOCK NO ES SERIALIZADO O 1 O \"1\" O true PARA QUE EL ARTICULO EN STOCK ES SERIALIZADO.\n\n**2.37.-\"brand_id\"=** CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL. SE VA ENVIAR EL IDENTIFICADOR O CLAVE DE LA MARCA.\n\n**2.38.-\"fabricant_id\"=** CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL. SE VA ENVIAR EL IDENTIFICADOR O CLAVE DEL FABRICANTE.\n\n**2.39.-\"fabricant_number\"=** CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL. SE VA ENVIAR EL NUMERO DEL FABRICANTE.\n\n**2.40.-\"kmscycles\"=** CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL.\n\n**2.41.-\"barcode\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL CODIGO DE BARRAS.\n\n**2.42.-\"timbrado_v33_prod_ser\"=** CAMPO OBLIGATORIO CUANDO EL \"no_sale\" SEA IGUAL A 0 O SI NO ES OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL LA CLAVE SAT DEL ARTICULO.\n\n**2.43.-\"timbrado_v33_cuenta_predial\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR LA CUENTA PREDIAL DEL PRODUCTO." }, "response": [ { "name": "Stock Master Completo", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"category_id\": 1,\r\n \"tax_type_id\": 1,\r\n \"description\":\"TEST ACTUALIZADO\",\r\n \"long_description\":\"\",\r\n \"units\": \"LTS\",\r\n \"mb_flag\":null,\r\n \"sales_account\":\"401.01.001\",\r\n \"cogs_account\": \"501.01.001\",\r\n \"inventory_account\":null,\r\n \"adjustment_account\":null,\r\n \"assembly_account\":null,\r\n \"dimension_id\":null,\r\n \"dimension2_id\":null,\r\n \"dimension3_id\":null,\r\n \"dimension4_id\":null,\r\n \"dimension5_id\":null,\r\n \"dimension6_id\":null,\r\n \"actual_cost\":null,\r\n \"last_cost\":null,\r\n \"material_cost\":null,\r\n \"labour_cost\":null,\r\n \"overhead_cost\":null,\r\n \"inactive\":null,\r\n \"no_sale\":null,\r\n \"editable\":null,\r\n \"depreciation_method\":null,\r\n \"depreciation_rate\":null,\r\n \"depreciation_factor\":null,\r\n \"depreciation_start\":null,\r\n \"depreciation_date\":null,\r\n \"fa_class_id\":null,\r\n \"url_img\":null,\r\n \"mano_obra\":null,\r\n \"wip_account\":null,\r\n \"no_purchase\":null,\r\n \"type_serie\":null,\r\n \"brand_id\":null,\r\n \"fabricant_id\":null,\r\n \"fabricant_number\":null,\r\n \"kmscycles\":null,\r\n \"barcode\":null,\r\n \"timbrado_v33_prod_ser\": \"01010101\",\r\n \"timbrado_v33_cuenta_predial\":null\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/inventory/stock_master/TEST", "host": [ "{{API}}" ], "path": [ "api", "v3", "inventory", "stock_master", "TEST" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Thu, 01 Sep 2022 23:21:24 GMT" }, { "key": "Server", "value": "Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.4.1" }, { "key": "Vary", "value": "Authorization" }, { "key": "X-Powered-By", "value": "PHP/7.4.1" }, { "key": "Expires", "value": "Thu, 19 Nov 1981 08:52:00 GMT" }, { "key": "Cache-Control", "value": "private" }, { "key": "Pragma", "value": "no-cache" }, { "key": "Content-Length", "value": "88" }, { "key": "Keep-Alive", "value": "timeout=5, max=100" }, { "key": "Connection", "value": "Keep-Alive" }, { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"version\": \"3.22.35\",\n \"messages\": [\n \"Selected article has been updated\"\n ],\n \"stock_id\": \"TEST\"\n}" }, { "name": "Stock Master", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"stock_id\":\"TEST\", //Id del artículo\r\n \"description\":\"TEST\", //Descripcion del artículo\r\n \"category_id\": 4, //Categoría\r\n \"tax_type_id\": 1, //Tipo de impuesto\r\n \"units\": \"LTS\", //Uniad de medida\r\n \"sales_account\":\"401.01.001\",\r\n \"cogs_account\": \"501.01.001\",\r\n \"timbrado_v33_prod_ser\": \"01010101\"\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/inventory/stock_master/{{stock_master_stock_id}}", "host": [ "{{API}}" ], "path": [ "api", "v3", "inventory", "stock_master", "{{stock_master_stock_id}}" ] } }, "_postman_previewlanguage": "Text", "header": [], "cookie": [], "body": "" } ] }, { "name": "Stocks Master", "request": { "method": "GET", "header": [], "url": { "raw": "{{API}}/api/v3/inventory/stock_master?skip=0&limit=50", "host": [ "{{API}}" ], "path": [ "api", "v3", "inventory", "stock_master" ], "query": [ { "key": "show_inactive", "value": "true", "description": "Mostrar registros inactivos", "disabled": true }, { "key": "skip", "value": "0", "description": "Numero de filas a saltar" }, { "key": "limit", "value": "50", "description": "Numero limite de registros a cargar " }, { "key": "search", "value": "", "description": "Campo de búsqueda por descripción", "disabled": true }, { "key": "sales_type_id", "value": "1", "description": "Id de la lista de precios", "disabled": true } ] }, "description": "**INFORMACIÓN DEL ENDPOINT**\n\nESTE METODO GET SIRVE PARA CONSEGUIR UN LISTADO DETALLADO DE LOS ARTICULOS EN STOCK ALMACENADOS EN SISTEMA.\n\n**\\*PARAMS:**\n\n**1.-ATRIBUTOS O CAMPOS DEL PARAMS:**\n\n**1.1.-\"limit\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO. SE VA ENVIAR EL NUMERO LIMITE DE REGISTROS A CARGAR.\n\n**1.2.-\"skip\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO. SE VA ENVIAR EL NUMERO DE FILAS A SALTAR.\n\n**1.3.-\"show_inactive\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING. SE VA ENVIAR \"true\" o \"1\" PARA MOSTRAR ARTICULOS INACTIVOS.\n\n**1.4.-\"search\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING. SE VA ENVIAR LA DESCRIPCION DEL ARTICULO EN STOCK QUE DESEA BUSCAR.\n\n**1.5.-\"sales_type_id\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO. SE VA ENVIAR EL IDENTIFICADOR DE LA LISTA DE PRECIOS." }, "response": [ { "name": "Stocks Master", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{API}}/api/v3/inventory/stock_master?show_inactive=true&skip=0&limit=50", "host": [ "{{API}}" ], "path": [ "api", "v3", "inventory", "stock_master" ], "query": [ { "key": "show_inactive", "value": "true", "description": "Mostrar registros inactivos" }, { "key": "skip", "value": "0", "description": "Numero de filas a saltar" }, { "key": "limit", "value": "50", "description": "Numero limite de registros a cargar " }, { "key": "search", "value": "", "description": "Campo de búsqueda por descripción", "disabled": true } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Thu, 01 Sep 2022 16:06:57 GMT" }, { "key": "Server", "value": "Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.4.1" }, { "key": "Vary", "value": "Authorization" }, { "key": "X-Powered-By", "value": "PHP/7.4.1" }, { "key": "Expires", "value": "Thu, 19 Nov 1981 08:52:00 GMT" }, { "key": "Cache-Control", "value": "private" }, { "key": "Pragma", "value": "no-cache" }, { "key": "Content-Length", "value": "2026" }, { "key": "Keep-Alive", "value": "timeout=5, max=100" }, { "key": "Connection", "value": "Keep-Alive" }, { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"version\": \"3.22.35\",\n \"total\": 2,\n \"limit\": 50,\n \"skip\": 0,\n \"data\": [\n {\n \"stock_id\": \"articulo_nuevo\",\n \"category_id\": \"1\",\n \"tax_type_id\": \"1\",\n \"description\": \"este es un articulo nuevo\",\n \"long_description\": \"hola este es un articulo\",\n \"units\": \"PZA\",\n \"mb_flag\": \"B\",\n \"sales_account\": \"401.01.001\",\n \"cogs_account\": \"502.01.001\",\n \"inventory_account\": \"0\",\n \"adjustment_account\": \"0\",\n \"assembly_account\": \"0\",\n \"dimension_id\": \"0\",\n \"dimension2_id\": \"0\",\n \"dimension3_id\": \"0\",\n \"dimension4_id\": \"0\",\n \"dimension5_id\": \"0\",\n \"dimension6_id\": \"0\",\n \"actual_cost\": \"0\",\n \"last_cost\": \"0\",\n \"material_cost\": \"0.23\",\n \"labour_cost\": \"0\",\n \"overhead_cost\": \"0\",\n \"inactive\": \"0\",\n \"no_sale\": \"0\",\n \"editable\": \"0\",\n \"depreciation_method\": \"S\",\n \"depreciation_rate\": \"0\",\n \"depreciation_factor\": \"1\",\n \"depreciation_start\": \"1970-01-01\",\n \"depreciation_date\": \"1970-01-01\",\n \"fa_class_id\": \"\",\n \"timbrado_v33_prod_ser\": \"78121603\",\n \"url_img\": null,\n \"timbrado_v33_cuenta_predial\": \"\",\n \"wip_account\": \"\",\n \"no_purchase\": \"0\",\n \"tax_type_name\": \"\",\n \"OnLocation\": false,\n \"ListPrice\": false,\n \"ListPriceDB\": false,\n \"ListDiscount\": false,\n \"category\": {\n \"category_id\": \"1\",\n \"description\": \"ARTÍCULOS\"\n },\n \"barcode\": \"\"\n },\n {\n \"stock_id\": \"SALDOS\",\n \"category_id\": \"4\",\n \"tax_type_id\": \"2\",\n \"description\": \"SALDO_INICIAL\",\n \"long_description\": \"\",\n \"units\": \"SRV\",\n \"mb_flag\": \"D\",\n \"sales_account\": \"401.01.001\",\n \"cogs_account\": \"502.01.001\",\n \"inventory_account\": \"0\",\n \"adjustment_account\": \"0\",\n \"assembly_account\": \"0\",\n \"dimension_id\": \"0\",\n \"dimension2_id\": \"0\",\n \"dimension3_id\": \"0\",\n \"dimension4_id\": \"0\",\n \"dimension5_id\": \"0\",\n \"dimension6_id\": \"0\",\n \"actual_cost\": \"0\",\n \"last_cost\": \"0\",\n \"material_cost\": \"0\",\n \"labour_cost\": \"0\",\n \"overhead_cost\": \"0\",\n \"inactive\": \"0\",\n \"no_sale\": \"0\",\n \"editable\": \"1\",\n \"depreciation_method\": \"S\",\n \"depreciation_rate\": \"0\",\n \"depreciation_factor\": \"1\",\n \"depreciation_start\": \"\",\n \"depreciation_date\": \"\",\n \"fa_class_id\": \"\",\n \"timbrado_v33_prod_ser\": \"01010101\",\n \"url_img\": null,\n \"timbrado_v33_cuenta_predial\": \"\",\n \"wip_account\": \"\",\n \"no_purchase\": \"0\",\n \"tax_type_name\": \"\",\n \"OnLocation\": false,\n \"ListPrice\": false,\n \"ListPriceDB\": false,\n \"ListDiscount\": false,\n \"category\": {\n \"category_id\": \"4\",\n \"description\": \"SERVICIOS\"\n },\n \"barcode\": \"\"\n }\n ]\n}" } ] }, { "name": "Stock Master", "request": { "method": "GET", "header": [], "url": { "raw": "{{API}}/api/v3/inventory/stock_master/{{stock_stock_id}}", "host": [ "{{API}}" ], "path": [ "api", "v3", "inventory", "stock_master", "{{stock_stock_id}}" ] }, "description": "**INFORMACIÓN DEL ENDPOINT**\n\nESTE METODO GET SIRVE PARA CONSEGUIR LA INFORMACION DETALLADA DE UN ARTICULO EN STOCK EN ESPECIFICO.\n\n***PARAMS:**\n\n**1.-ATRIBUTOS O CAMPOS DEL PARAMS:**\n\n**1.1.-\"{{stock_stock_id}}\"=** ES UN PARAMETRO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR EL ID O EL IDENTIFICADOR DEL ARTICULO EN STOCK QUE DESEA BUSCAR." }, "response": [ { "name": "Stock Master", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{API}}/api/v3/inventory/stock_master/articulo_nuevo", "host": [ "{{API}}" ], "path": [ "api", "v3", "inventory", "stock_master", "articulo_nuevo" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Thu, 01 Sep 2022 16:09:13 GMT" }, { "key": "Server", "value": "Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.4.1" }, { "key": "Vary", "value": "Authorization" }, { "key": "X-Powered-By", "value": "PHP/7.4.1" }, { "key": "Expires", "value": "Thu, 19 Nov 1981 08:52:00 GMT" }, { "key": "Cache-Control", "value": "private" }, { "key": "Pragma", "value": "no-cache" }, { "key": "Content-Length", "value": "1079" }, { "key": "Keep-Alive", "value": "timeout=5, max=100" }, { "key": "Connection", "value": "Keep-Alive" }, { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"version\": \"3.22.35\",\n \"total\": 1,\n \"limit\": 20,\n \"skip\": 0,\n \"data\": [\n {\n \"stock_id\": \"articulo_nuevo\",\n \"category_id\": \"1\",\n \"tax_type_id\": \"1\",\n \"description\": \"este es un articulo nuevo\",\n \"long_description\": \"hola este es un articulo\",\n \"units\": \"PZA\",\n \"mb_flag\": \"B\",\n \"sales_account\": \"401.01.001\",\n \"cogs_account\": \"502.01.001\",\n \"inventory_account\": \"0\",\n \"adjustment_account\": \"0\",\n \"assembly_account\": \"0\",\n \"dimension_id\": \"0\",\n \"dimension2_id\": \"0\",\n \"dimension3_id\": \"0\",\n \"dimension4_id\": \"0\",\n \"dimension5_id\": \"0\",\n \"dimension6_id\": \"0\",\n \"actual_cost\": \"0\",\n \"last_cost\": \"0\",\n \"material_cost\": \"0.23\",\n \"labour_cost\": \"0\",\n \"overhead_cost\": \"0\",\n \"inactive\": \"0\",\n \"no_sale\": \"0\",\n \"editable\": \"0\",\n \"depreciation_method\": \"S\",\n \"depreciation_rate\": \"0\",\n \"depreciation_factor\": \"1\",\n \"depreciation_start\": \"1970-01-01\",\n \"depreciation_date\": \"1970-01-01\",\n \"fa_class_id\": \"\",\n \"timbrado_v33_prod_ser\": \"78121603\",\n \"url_img\": null,\n \"timbrado_v33_cuenta_predial\": \"\",\n \"wip_account\": \"\",\n \"no_purchase\": \"0\",\n \"tax_type_name\": \"\",\n \"OnLocation\": false,\n \"ListPrice\": false,\n \"ListPriceDB\": false,\n \"ListDiscount\": false,\n \"category\": {\n \"category_id\": \"1\",\n \"description\": \"ARTÍCULOS\"\n },\n \"barcode\": \"\"\n }\n ]\n}" } ] } ] }, { "name": "Categories", "item": [ { "name": "Categories", "request": { "method": "GET", "header": [], "url": { "raw": "{{API}}/api/v3/inventory/category?limit=10&skip=0", "host": [ "{{API}}" ], "path": [ "api", "v3", "inventory", "category" ], "query": [ { "key": "limit", "value": "10", "description": "Numero limite de registros a cargar" }, { "key": "skip", "value": "0", "description": "Numero de filas a saltar" }, { "key": "category_id", "value": "1", "description": "Campo de busqueda por el id de la categoria", "disabled": true }, { "key": "level", "value": "1", "description": "Campo de busqueda por el nivel de la categoria", "disabled": true }, { "key": "parent_id", "value": "31", "description": "Campo de bsuqueda por padre de la categoria", "disabled": true } ] }, "description": "**INFORMACIÓN DEL ENDPOINT**\n\nESTE METODO GET SIRVE PARA CONSEGUIR UN LISTADO DETALLADO DE LAS CATEGORIASALMACENADOS EN SISTEMA.\n\n***PARAMS:**\n\n**1.-ATRIBUTOS O CAMPOS DEL PARAMS:**\n\n**1.1.-\"limit\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO. SE VA ENVIAR EL NUMERO LIMITE DE REGISTROS A CARGAR.\n\n**1.2.-\"skip\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO. SE VA ENVIAR EL NUMERO DE FILAS A SALTAR.\n\n**1.3.-\"category_id\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO. SE VA ENVIAR EL ID O IDENTIFICADOR DE LA CATEGORIA.\n\n**1.4.-\"level\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO. SE VA ENVIAR EL NUMERO DE NIVEL DE LA CATEGORIA.\n\n**1.5.-\"parent_id\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO. SE VA ENVIAR EL NUMERO PADRE DE LA CATEGORIA." }, "response": [ { "name": "Categories", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{API}}/api/v3/inventory/category?limit=10&skip=0", "host": [ "{{API}}" ], "path": [ "api", "v3", "inventory", "category" ], "query": [ { "key": "limit", "value": "10", "description": "Numero limite de registros a cargar" }, { "key": "skip", "value": "0", "description": "Numero de filas a saltar" }, { "key": "category_id", "value": "1", "description": "Campo de busqueda por el id de la categoria", "disabled": true }, { "key": "level", "value": "1", "description": "Campo de busqueda por el nivel de la categoria", "disabled": true }, { "key": "parent_id", "value": "31", "description": "Campo de bsuqueda por padre de la categoria", "disabled": true } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Thu, 01 Sep 2022 03:11:47 GMT" }, { "key": "Server", "value": "Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.4.1" }, { "key": "Vary", "value": "Authorization" }, { "key": "X-Powered-By", "value": "PHP/7.4.1" }, { "key": "Expires", "value": "Thu, 19 Nov 1981 08:52:00 GMT" }, { "key": "Cache-Control", "value": "private" }, { "key": "Pragma", "value": "no-cache" }, { "key": "Content-Length", "value": "1066" }, { "key": "Keep-Alive", "value": "timeout=5, max=100" }, { "key": "Connection", "value": "Keep-Alive" }, { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"version\": \"3.22.35\",\n \"total\": 2,\n \"limit\": 10,\n \"skip\": \"0\",\n \"data\": [\n {\n \"category_id\": \"1\",\n \"description\": \"ARTÍCULOS\",\n \"dflt_tax_type\": \"1\",\n \"dflt_units\": \"PZA\",\n \"dflt_mb_flag\": \"B\",\n \"dflt_sales_act\": \"401.01.001\",\n \"dflt_cogs_act\": \"501.01.001\",\n \"dflt_inventory_act\": \"115.01.001\",\n \"dflt_adjustment_act\": \"501.08.001\",\n \"dflt_assembly_act\": \"0\",\n \"dflt_dim1\": \"0\",\n \"dflt_dim2\": \"0\",\n \"dflt_dim3\": \"0\",\n \"dflt_dim4\": \"0\",\n \"dflt_dim5\": \"0\",\n \"dflt_dim6\": \"0\",\n \"inactive\": \"0\",\n \"dflt_no_sale\": \"0\",\n \"rentable\": \"\",\n \"dflt_wip_act\": \"\",\n \"dflt_no_purchase\": \"0\",\n \"tax_name\": \"\",\n \"base_name\": \"ARTÍCULOS\",\n \"level\": \"1\",\n \"parent_id\": \"\"\n },\n {\n \"category_id\": \"4\",\n \"description\": \"SERVICIOS\",\n \"dflt_tax_type\": \"1\",\n \"dflt_units\": \"SRV\",\n \"dflt_mb_flag\": \"D\",\n \"dflt_sales_act\": \"401.01.001\",\n \"dflt_cogs_act\": \"502.01.001\",\n \"dflt_inventory_act\": \"0\",\n \"dflt_adjustment_act\": \"0\",\n \"dflt_assembly_act\": \"0\",\n \"dflt_dim1\": \"0\",\n \"dflt_dim2\": \"0\",\n \"dflt_dim3\": \"0\",\n \"dflt_dim4\": \"0\",\n \"dflt_dim5\": \"0\",\n \"dflt_dim6\": \"0\",\n \"inactive\": \"0\",\n \"dflt_no_sale\": \"0\",\n \"rentable\": \"\",\n \"dflt_wip_act\": \"\",\n \"dflt_no_purchase\": \"0\",\n \"tax_name\": \"\",\n \"base_name\": \"SERVICIOS\",\n \"level\": \"1\",\n \"parent_id\": \"\"\n }\n ]\n}" } ] } ] }, { "name": "Sucursales", "item": [ { "name": "Sucursales", "request": { "method": "GET", "header": [], "url": { "raw": "{{API}}/api/v3/admin/sucursales?skip=0&limit=50", "host": [ "{{API}}" ], "path": [ "api", "v3", "admin", "sucursales" ], "query": [ { "key": "skip", "value": "0", "description": "Numero de filas a saltar" }, { "key": "limit", "value": "50", "description": "Numero limite de registros a cargar" }, { "key": "show_inactive", "value": "true", "description": "Mostrar registros inactivos", "disabled": true }, { "key": "search", "value": "Mont", "description": "Campo de búsqueda por nombre de la sucursal", "disabled": true }, { "key": "sucursal_id", "value": "1", "description": "Campo de búsqueda por id de la sucursal", "disabled": true } ] }, "description": "**INFORMACIÓN DEL ENDPOINT**\n\nESTE METODO GET SIRVE PARA CONSEGUIR UN LISTADO DETALLADO DE LAS SUCURSALES ALMACENADOS EN SISTEMA.\n\n**\\*PARAMS:**\n\n**1.-ATRIBUTOS O CAMPOS DEL PARAMS:**\n\n**1.1.-\"limit\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO. SE VA ENVIAR EL NUMERO LIMITE DE REGISTROS A CARGAR.\n\n**1.2.-\"skip\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO. SE VA ENVIAR EL NUMERO DE FILAS A SALTAR.\n\n**1.3.-\"show_inactive\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING. SE VA ENVIAR \"true\" o \"1\" PARA MOSTRAR SUCURSALES INACTIVOS.\n\n**1.4.-\"search\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING. SE VA ENVIAR EL NOMBRE DE LA SUCURSAL QUE DESEA BUSCAR.\n\n**1.5.-\"sucursal_id\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO. SE VA ENVIAR EL IDENTIFICADOR DE LA SUCURSAL QUE DESEA BUSCAR." }, "response": [ { "name": "Sucursales", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{API}}/api/v3/admin/sucursales?skip=0&limit=50", "host": [ "{{API}}" ], "path": [ "api", "v3", "admin", "sucursales" ], "query": [ { "key": "skip", "value": "0", "description": "Numero de filas a saltar" }, { "key": "limit", "value": "50", "description": "Numero limite de registros a cargar" }, { "key": "show_inactive", "value": "true", "description": "Mostrar registros inactivos", "disabled": true }, { "key": "search", "value": "Mont", "description": "Campo de búsqueda por nombre de la sucursal", "disabled": true }, { "key": "sucursal_id", "value": "1", "description": "Campo de búsqueda por id de la sucursal", "disabled": true } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Tue, 01 Nov 2022 21:28:07 GMT" }, { "key": "Server", "value": "Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.4.1" }, { "key": "Vary", "value": "Authorization" }, { "key": "X-Powered-By", "value": "PHP/7.4.1" }, { "key": "Expires", "value": "Thu, 19 Nov 1981 08:52:00 GMT" }, { "key": "Cache-Control", "value": "private" }, { "key": "Pragma", "value": "no-cache" }, { "key": "Content-Length", "value": "349" }, { "key": "Keep-Alive", "value": "timeout=5, max=100" }, { "key": "Connection", "value": "Keep-Alive" }, { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"version\": \"3.22.44\",\n \"total\": 3,\n \"limit\": 50,\n \"skip\": 0,\n \"data\": [\n {\n \"id\": \"1\",\n \"clave\": \"DEFAULT\",\n \"nombre\": \"DEFAULT\",\n \"inactive\": \"0\",\n \"created\": \"2020-09-03 15:44:36\"\n },\n {\n \"id\": \"2\",\n \"clave\": \"MTY\",\n \"nombre\": \"Monterrey\",\n \"inactive\": \"0\",\n \"created\": \"2020-12-11 11:41:51\"\n },\n {\n \"id\": \"3\",\n \"clave\": \"SUCURSAL 2\",\n \"nombre\": \"Sucursal 2\",\n \"inactive\": \"0\",\n \"created\": \"2021-01-15 09:44:01\"\n }\n ]\n}" } ] } ] }, { "name": "Existencias Por Almacén", "request": { "method": "GET", "header": [], "url": { "raw": "{{API}}/api/v3/inventory/location_stock_status?skip=0&limit=50", "host": [ "{{API}}" ], "path": [ "api", "v3", "inventory", "location_stock_status" ], "query": [ { "key": "skip", "value": "0", "description": "Numero de filas a saltar" }, { "key": "limit", "value": "50", "description": "Numero de filas a saltar" }, { "key": "show_inactive", "value": "true", "description": "Mostrar registros inactivos", "disabled": true }, { "key": "loc_code", "value": "A1", "description": "Campo de búsqueda por codigo del almacen", "disabled": true } ] }, "description": "**INFORMACIÓN DEL ENDPOINT**\n\nESTE METODO GET SIRVE PARA CONSEGUIR UN LISTADO DETALLADO DE LAS EXISTENCIAS POR ALMACEN ALMACENADOS EN SISTEMA.\n\n**\\*PARAMS:**\n\n**1.-ATRIBUTOS O CAMPOS DEL PARAMS:**\n\n**1.1.-\"limit\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO. SE VA ENVIAR EL NUMERO LIMITE DE REGISTROS A CARGAR.\n\n**1.2.-\"skip\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO. SE VA ENVIAR EL NUMERO DE FILAS A SALTAR.\n\n**1.3.-\"show_inactive\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING. SE VA ENVIAR \"true\" o \"1\" PARA MOSTRAR LOS ARTICULOS INACTIVOS.\n\n**1.4.-\"sucursal_id\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING. SE VA ENVIAR EL CODIGO DEL ALMACEN QUE DESEA BUSCAR." }, "response": [] }, { "name": "Existencias Por Artículo", "request": { "method": "GET", "header": [], "url": { "raw": "{{API}}/api/v3/inventory/stock_status?skip=0&limit=10", "host": [ "{{API}}" ], "path": [ "api", "v3", "inventory", "stock_status" ], "query": [ { "key": "skip", "value": "0", "description": "Numero de filas a saltar" }, { "key": "limit", "value": "10", "description": "Numero de filas a saltar" }, { "key": "show_inactive", "value": "true", "description": "Mostrar registros inactivos", "disabled": true }, { "key": "fixed_asset", "value": "true", "description": "Mostrar articulos con almacen tipo activo fijo", "disabled": true }, { "key": "stock_id", "value": "articulo_psm", "description": "Campo de búsqueda por codigo del artículo", "disabled": true } ] }, "description": "**INFORMACIÓN DEL ENDPOINT**\n\nESTE METODO GET SIRVE PARA CONSEGUIR UN LISTADO DETALLADO DE LAS EXISTENCIAS POR ARTÍCULO ALMACENADOS EN SISTEMA.\n\n**\\*PARAMS:**\n\n**1.-ATRIBUTOS O CAMPOS DEL PARAMS:**\n\n**1.1.-\"limit\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO. SE VA ENVIAR EL NUMERO LIMITE DE REGISTROS A CARGAR.\n\n**1.2.-\"skip\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO. SE VA ENVIAR EL NUMERO DE FILAS A SALTAR.\n\n**1.3.-\"show_inactive\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING. SE VA ENVIAR \"true\" o \"1\" PARA MOSTRAR ALMACENES INACTIVOS.\n\n**1.4.-\"fixed_asset\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING. SE VA ENVIAR \"true\" o \"1\" PARA MOSTRAR ARTICULOS CON ALMACEN TIPO ACTIVO FIJO.\n\n**1.5.-\"sucursal_id\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING. SE VA ENVIAR EL CODIGO DEL ALMACEN QUE DESEA BUSCAR." }, "response": [] }, { "name": "Existencia De Articulos en Almacen", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"location\": \"DEF\",\r\n \"items\": [\r\n \"HM23\",\r\n \"HojaX1\",\r\n \"hospedaje\",\r\n \"HPPavilion\",\r\n \"HT\",\r\n \"IMP01\",\r\n \"IMPER\",\r\n \"IMPERMEABLE\",\r\n \"IMPLEMENTACION\",\r\n \"INFRACOMMERCE_XS\",\r\n \"INJ-1001\",\r\n \"INS-01\",\r\n \"INSUMO-1\",\r\n \"INSUMO-2\",\r\n \"INSUMO-3\",\r\n \"insumo001\",\r\n \"INSUMO01-A\",\r\n \"INSUMO01-B\",\r\n \"INSUMO02-A\",\r\n \"INSUMO02-B\",\r\n \"INSUMO03-A\",\r\n \"INTSEGURIDAD\",\r\n \"IV-01\",\r\n \"IV-02\",\r\n \"IV-03\",\r\n \"IZ38_Soportcel_01\",\r\n \"J60UIV\",\r\n \"JARABE\",\r\n \"JYA\",\r\n \"K2CO3\",\r\n \"KCP426SD8/16\",\r\n \"KENWORTH\",\r\n \"Kilos\",\r\n \"kilos2\",\r\n \"KITCLEVSA\",\r\n \"L2345\",\r\n \"L56789\",\r\n \"lamina\",\r\n \"lamina-carton\",\r\n \"LAMINA1\",\r\n \"LAMINA2\",\r\n \"laptop\",\r\n \"laptop2\",\r\n \"Laptopdell2\",\r\n \"LDT-0073\",\r\n \"LECHE\",\r\n \"LECHEB\",\r\n \"LECHEGAL\",\r\n \"LECHEPOLVO\",\r\n \"LECHUGA\",\r\n \"lentejuela\",\r\n \"LICENCIA\",\r\n \"LIMON\",\r\n \"limoncsemilla\",\r\n \"limonssemilla\",\r\n \"LIMPIEZA\",\r\n \"LL-100\",\r\n \"LLANTAS\",\r\n \"LM_001\",\r\n \"Lrojo\",\r\n \"LS01-001\",\r\n \"ltroLeche\",\r\n \"LUCERNA1\",\r\n \"M-0001\"\r\n ]\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/inventory/stock_status_by_location", "host": [ "{{API}}" ], "path": [ "api", "v3", "inventory", "stock_status_by_location" ] } }, "response": [ { "name": "Existencia De Articulos en Almacen", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"location\": \"DEF\",\r\n \"items\": [\r\n \"HM23\",\r\n \"HojaX1\",\r\n \"hospedaje\",\r\n \"HPPavilion\",\r\n \"HT\",\r\n \"IMP01\",\r\n \"IMPER\",\r\n \"IMPERMEABLE\",\r\n \"IMPLEMENTACION\",\r\n \"INFRACOMMERCE_XS\",\r\n \"INJ-1001\",\r\n \"INS-01\",\r\n \"INSUMO-1\",\r\n \"INSUMO-2\",\r\n \"INSUMO-3\",\r\n \"insumo001\",\r\n \"INSUMO01-A\",\r\n \"INSUMO01-B\",\r\n \"INSUMO02-A\",\r\n \"INSUMO02-B\",\r\n \"INSUMO03-A\",\r\n \"INTSEGURIDAD\",\r\n \"IV-01\",\r\n \"IV-02\",\r\n \"IV-03\",\r\n \"IZ38_Soportcel_01\",\r\n \"J60UIV\",\r\n \"JARABE\",\r\n \"JYA\",\r\n \"K2CO3\",\r\n \"KCP426SD8/16\",\r\n \"KENWORTH\",\r\n \"Kilos\",\r\n \"kilos2\",\r\n \"KITCLEVSA\",\r\n \"L2345\",\r\n \"L56789\",\r\n \"lamina\",\r\n \"lamina-carton\",\r\n \"LAMINA1\",\r\n \"LAMINA2\",\r\n \"laptop\",\r\n \"laptop2\",\r\n \"Laptopdell2\",\r\n \"LDT-0073\",\r\n \"LECHE\",\r\n \"LECHEB\",\r\n \"LECHEGAL\",\r\n \"LECHEPOLVO\",\r\n \"LECHUGA\",\r\n \"lentejuela\",\r\n \"LICENCIA\",\r\n \"LIMON\",\r\n \"limoncsemilla\",\r\n \"limonssemilla\",\r\n \"LIMPIEZA\",\r\n \"LL-100\",\r\n \"LLANTAS\",\r\n \"LM_001\",\r\n \"Lrojo\",\r\n \"LS01-001\",\r\n \"ltroLeche\",\r\n \"LUCERNA1\",\r\n \"M-0001\"\r\n ]\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/inventory/stock_status_by_location", "host": [ "{{API}}" ], "path": [ "api", "v3", "inventory", "stock_status_by_location" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Fri, 09 Feb 2024 18:52:35 GMT" }, { "key": "Server", "value": "Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/7.4.33" }, { "key": "Vary", "value": "Authorization" }, { "key": "X-Powered-By", "value": "PHP/7.4.33" }, { "key": "Expires", "value": "Thu, 19 Nov 1981 08:52:00 GMT" }, { "key": "Cache-Control", "value": "private" }, { "key": "Pragma", "value": "no-cache" }, { "key": "Content-Length", "value": "3380" }, { "key": "Keep-Alive", "value": "timeout=5, max=100" }, { "key": "Connection", "value": "Keep-Alive" }, { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"version\": \"3.24.06\",\n \"result\": true,\n \"data\": [\n {\n \"stock_id\": \"HM23\",\n \"on_hand\": 0,\n \"available\": 0\n },\n {\n \"stock_id\": \"HojaX1\",\n \"on_hand\": 20000,\n \"available\": 0\n },\n {\n \"stock_id\": \"hospedaje\",\n \"on_hand\": -3,\n \"available\": 0\n },\n {\n \"stock_id\": \"HPPavilion\",\n \"on_hand\": 1,\n \"available\": 0\n },\n {\n \"stock_id\": \"HT\",\n \"on_hand\": 10000,\n \"available\": 0\n },\n {\n \"stock_id\": \"IMP01\",\n \"on_hand\": 1,\n \"available\": 0\n },\n {\n \"stock_id\": \"IMPER\",\n \"on_hand\": 3000,\n \"available\": -1\n },\n {\n \"stock_id\": \"IMPERMEABLE\",\n \"on_hand\": 3000,\n \"available\": 0\n },\n {\n \"stock_id\": \"IMPLEMENTACION\",\n \"on_hand\": -121,\n \"available\": 0\n },\n {\n \"stock_id\": \"INFRACOMMERCE_XS\",\n \"on_hand\": -1,\n \"available\": 0\n },\n {\n \"stock_id\": \"INJ-1001\",\n \"on_hand\": 0,\n \"available\": 0\n },\n {\n \"stock_id\": \"INS-01\",\n \"on_hand\": 6,\n \"available\": -3\n },\n {\n \"stock_id\": \"INSUMO-1\",\n \"on_hand\": 77,\n \"available\": 0\n },\n {\n \"stock_id\": \"INSUMO-2\",\n \"on_hand\": 89.99979,\n \"available\": 0\n },\n {\n \"stock_id\": \"INSUMO-3\",\n \"on_hand\": 89.9964,\n \"available\": 0\n },\n {\n \"stock_id\": \"insumo001\",\n \"on_hand\": 0.5,\n \"available\": 0\n },\n {\n \"stock_id\": \"INSUMO01-A\",\n \"on_hand\": 100,\n \"available\": 0\n },\n {\n \"stock_id\": \"INSUMO01-B\",\n \"on_hand\": 100,\n \"available\": 0\n },\n {\n \"stock_id\": \"INSUMO02-A\",\n \"on_hand\": 100,\n \"available\": 0\n },\n {\n \"stock_id\": \"INSUMO02-B\",\n \"on_hand\": 2000,\n \"available\": 0\n },\n {\n \"stock_id\": \"INSUMO03-A\",\n \"on_hand\": 100,\n \"available\": 0\n },\n {\n \"stock_id\": \"INTSEGURIDAD\",\n \"on_hand\": 840,\n \"available\": 0\n },\n {\n \"stock_id\": \"IV-01\",\n \"on_hand\": 193.3716,\n \"available\": 0\n },\n {\n \"stock_id\": \"IV-02\",\n \"on_hand\": 309.65,\n \"available\": 0\n },\n {\n \"stock_id\": \"IV-03\",\n \"on_hand\": -1,\n \"available\": 0\n },\n {\n \"stock_id\": \"IZ38_Soportcel_01\",\n \"on_hand\": 2,\n \"available\": -1\n },\n {\n \"stock_id\": \"J60UIV\",\n \"on_hand\": 0,\n \"available\": -1\n },\n {\n \"stock_id\": \"JARABE\",\n \"on_hand\": 1,\n \"available\": -1\n },\n {\n \"stock_id\": \"JYA\",\n \"on_hand\": -20,\n \"available\": 0\n },\n {\n \"stock_id\": \"K2CO3\",\n \"on_hand\": 99.8,\n \"available\": 0\n },\n {\n \"stock_id\": \"KCP426SD8/16\",\n \"on_hand\": 7,\n \"available\": -2\n },\n {\n \"stock_id\": \"KENWORTH\",\n \"on_hand\": 0,\n \"available\": 0\n },\n {\n \"stock_id\": \"Kilos\",\n \"on_hand\": 0,\n \"available\": 0\n },\n {\n \"stock_id\": \"kilos2\",\n \"on_hand\": 1000,\n \"available\": 0\n },\n {\n \"stock_id\": \"KITCLEVSA\",\n \"on_hand\": 4,\n \"available\": 0\n },\n {\n \"stock_id\": \"L2345\",\n \"on_hand\": 84,\n \"available\": 0\n },\n {\n \"stock_id\": \"L56789\",\n \"on_hand\": 110,\n \"available\": 0\n },\n {\n \"stock_id\": \"lamina\",\n \"on_hand\": 100.5,\n \"available\": 0\n },\n {\n \"stock_id\": \"lamina-carton\",\n \"on_hand\": 43,\n \"available\": 0\n },\n {\n \"stock_id\": \"LAMINA1\",\n \"on_hand\": 4968,\n \"available\": 0\n },\n {\n \"stock_id\": \"LAMINA2\",\n \"on_hand\": 2918,\n \"available\": 0\n },\n {\n \"stock_id\": \"laptop\",\n \"on_hand\": 1,\n \"available\": 0\n },\n {\n \"stock_id\": \"laptop2\",\n \"on_hand\": 1,\n \"available\": 0\n },\n {\n \"stock_id\": \"Laptopdell2\",\n \"on_hand\": 1,\n \"available\": 0\n },\n {\n \"stock_id\": \"LDT-0073\",\n \"on_hand\": 149059,\n \"available\": -2\n },\n {\n \"stock_id\": \"LECHE\",\n \"on_hand\": 101956.5,\n \"available\": 0\n },\n {\n \"stock_id\": \"LECHEB\",\n \"on_hand\": 0,\n \"available\": 0\n },\n {\n \"stock_id\": \"LECHEGAL\",\n \"on_hand\": 9,\n \"available\": 0\n },\n {\n \"stock_id\": \"LECHEPOLVO\",\n \"on_hand\": 100970.25,\n \"available\": 0\n },\n {\n \"stock_id\": \"LECHUGA\",\n \"on_hand\": 8.2,\n \"available\": 0\n },\n {\n \"stock_id\": \"lentejuela\",\n \"on_hand\": 999500,\n \"available\": 0\n },\n {\n \"stock_id\": \"LICENCIA\",\n \"on_hand\": -1362,\n \"available\": 0\n },\n {\n \"stock_id\": \"LIMON\",\n \"on_hand\": 99.9,\n \"available\": 0\n },\n {\n \"stock_id\": \"limoncsemilla\",\n \"on_hand\": 0,\n \"available\": 0\n },\n {\n \"stock_id\": \"limonssemilla\",\n \"on_hand\": 0,\n \"available\": 0\n },\n {\n \"stock_id\": \"LIMPIEZA\",\n \"on_hand\": -1,\n \"available\": 0\n },\n {\n \"stock_id\": \"LL-100\",\n \"on_hand\": 0,\n \"available\": 0\n },\n {\n \"stock_id\": \"LLANTAS\",\n \"on_hand\": 37,\n \"available\": 0\n },\n {\n \"stock_id\": \"LM_001\",\n \"on_hand\": 307,\n \"available\": -130\n },\n {\n \"stock_id\": \"Lrojo\",\n \"on_hand\": 18,\n \"available\": 0\n },\n {\n \"stock_id\": \"LS01-001\",\n \"on_hand\": -2,\n \"available\": 0\n },\n {\n \"stock_id\": \"ltroLeche\",\n \"on_hand\": 59.5,\n \"available\": 0\n },\n {\n \"stock_id\": \"LUCERNA1\",\n \"on_hand\": 18927,\n \"available\": 0\n },\n {\n \"stock_id\": \"M-0001\",\n \"on_hand\": 0,\n \"available\": 0\n }\n ]\n}" } ] }, { "name": "Ajuste de Inventario", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"date\": null,\r\n \"location\": \"ELIM\",\r\n \"type\": \"1\",\r\n \"increase\": 0,\r\n \"ref\": null,\r\n \"dimension_id\": null,\r\n \"dimension2_id\": null,\r\n \"dimension3_id\": null,\r\n \"dimension4_id\": null,\r\n \"dimension5_id\": null,\r\n \"dimension6_id\": null,\r\n \"items\": [\r\n {\r\n \"qty\": 1,\r\n \"stock_id\": \"4Porciento\",\r\n \"noIdentificacion\": null,\r\n \"atributos\": null,\r\n \"standard_cost\": null\r\n }\r\n ],\r\n \"comments\": \"Prueba Nueva Ajustes Nuevos\"\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/inventory/adjustments", "host": [ "{{API}}" ], "path": [ "api", "v3", "inventory", "adjustments" ] }, "description": "**INFORMACIÓN DEL ENDPOINT**\n\nESTE METODO POST SIRVE PARA CREAR UN AJUSTE DE INVENTARIO.\n\n**\\*BODY:**\n\n**1.-TIPO:** RAW UTILIZANDO EL FORMATO JSON.\n\n**2.-ATRIBUTOS O CAMPOS DEL BODY:**\n\n**2.1.-\"date\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NULL O STRING. SE VA ENVIAR LA FECHA DEL AJUSTE UTILIZANDO EL FORMATO DE FECHA \"YYYY-MM-DD\".\n\n**2.2.-\"location\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR EL ID O IDENTIFICADOR DEL ALMACEN.\n\n**2.3.-\"type\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NUMERICO O NULL. SE VA ENVIAR EL ID O IDENTIFICADOR DEL TIPO DE MOVIMIENTO DE INVENTARIO QUE SEA DE TIPO AJUSTE DE INVENTARIO.\n\n**2.4.-\"increase\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO BOOLEANO O STRING O NUMERICO O NULL. SE VA ENVIAR 1 O \"1\" O \"TRUE\" o \"true\" o true PARA QUE EL TIPO DE AJUSTE VA SER POSITIVO O SI ES LO CONTRARIO O NO SE ENVIA EL VALOR EL TIPO DE AJUSTE VA SER NEGATIVO.\n\n**2.5.-\"ref\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR LA REFERENCIA DEL AJUSTE OJO NO SE PUEDE UTILIZAR UNA REFERENCIA QUE HAYA SIDO UTILIZADA ANTERIORMENTE.\n\n**2.6.-\"dimension_id\"=** CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL. SE VA ENVIAR ES EL ID O REFERENCIA DE LA DIMENSION A NIVEL 1.\n\n**2.7.-\"dimension2_id\"=** CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL. SE VA ENVIAR ES EL ID O REFERENCIA DE LA DIMENSION A NIVEL 2.\n\n**2.8.-\"dimension3_id\"=** CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL. SE VA ENVIAR ES EL ID O REFERENCIA DE LA DIMENSION A NIVEL 3.\n\n**2.9.-\"dimension4_id\"=** CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL. SE VA ENVIAR ES EL ID O REFERENCIA DE LA DIMENSION A NIVEL 4.\n\n**2.10.-\"dimension5_id\"=** CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL. SE VA ENVIAR ES EL ID O REFERENCIA DE LA DIMENSION A NIVEL 5.\n\n**2.11.-\"dimension6_id\"=** CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL. SE VA ENVIAR ES EL ID O REFERENCIA DE LA DIMENSION A NIVEL 6.\n\n**2.12.-\"items\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO ARRAY(ARREGLO) DE OBJETOS. SE VA ENVIAR UN ARRAY(ARREGLO) DE OBJETOS DONDE CADA OBJETO VA CONTENER CIERTOS CAMPOS QUE SE REQUIEREN PARA EL ARTICULO Y A CONTINUACIÓN SE VAN A MENCIONAR ESO CAMPOS:\n\n**2.12.1.-\"stock_id\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR EL IDENTIFICADOR DEL ARTICULO.\n\n**2.12.2.-\"qty\"=** ES UN CAMPO OPCIONALY ES DE TIPO NUMERICO O NULL. SE VA ENVIAR LA CANTIDAD DE ARTICULOS QUE SE VAN A UTILIZAR SI NO SE ENVIA NADA O SE ENVIA COMO 0 SE VA ENVIAR COMO 1.\n\n**2.12.3.-\"standard_cost\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL. SE VA ENVIAR EL PRECIO DEL ARTICULO SI NO SE ENVIA ESE VALOR SE VA ENVIAR COMO 0.\n\n**2.12.4.-\"noIdentificacion\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL NUMERO DE IDENTIFICACION DEL ARTICULO.\n\n**2.12.5.-\"atributos\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR ATRIBUTOS EXTRA QUE QUIERE APLICAR AL ARTICULO.\n\n**2.13.-\"comments\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR UN COMENTARIO PARA EL AJUSTE." }, "response": [ { "name": "Ajuste de Inventario", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"date\": \"\",\r\n \"location\": \"ELIM\",\r\n \"type\": \"1\",\r\n \"increase\": 1,\r\n \"ref\": \"Prueba.1\",\r\n \"dimension_id\": \"7\",\r\n \"dimension2_id\": \"2\",\r\n \"dimension3_id\": \"\",\r\n \"dimension4_id\": \"\",\r\n \"dimension5_id\": \"\",\r\n \"dimension6_id\": \"\",\r\n \"items\": [\r\n {\r\n \"qty\": 1,\r\n \"stock_id\": \"4Porciento\",\r\n \"noIdentificacion\": \"\",\r\n \"atributos\": \"\",\r\n \"standard_cost\": 5.71\r\n }\r\n ],\r\n \"comments\": \"Prueba 1\"\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/inventory/adjustments", "host": [ "{{API}}" ], "path": [ "api", "v3", "inventory", "adjustments" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Thu, 15 Dec 2022 16:59:14 GMT" }, { "key": "Server", "value": "Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.4.1" }, { "key": "Vary", "value": "Authorization" }, { "key": "X-Powered-By", "value": "PHP/7.4.1" }, { "key": "Expires", "value": "Thu, 19 Nov 1981 08:52:00 GMT" }, { "key": "Cache-Control", "value": "private" }, { "key": "Pragma", "value": "no-cache" }, { "key": "Content-Length", "value": "35" }, { "key": "Keep-Alive", "value": "timeout=5, max=100" }, { "key": "Connection", "value": "Keep-Alive" }, { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"version\": \"3.22.50\",\n \"trans_no\": 93\n}" } ] }, { "name": "Transferencia de Inventario", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"date\": null,\r\n \"from_location\": \"ELIM\",\r\n \"to_location\": \"A1\",\r\n \"type\": \"1\",\r\n \"ref\": null,\r\n \"ship_via\":\"1\",\r\n \"items\": [\r\n {\r\n \"qty\": 1,\r\n \"stock_id\": \"4Porciento\",\r\n \"noIdentificacion\": null,\r\n \"atributos\": null,\r\n \"standard_cost\": null\r\n }\r\n ],\r\n \"comments\": \"Prueba Transferencia 9\"\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/inventory/transfers", "host": [ "{{API}}" ], "path": [ "api", "v3", "inventory", "transfers" ] }, "description": "**INFORMACIÓN DEL ENDPOINT**\n\nESTE METODO POST SIRVE PARA CREAR UNA TRANSFERENCIA DE INVENTARIO.\n\n**\\*BODY:**\n\n**1.-TIPO:** RAW UTILIZANDO EL FORMATO JSON.\n\n**2.-ATRIBUTOS O CAMPOS DEL BODY:**\n\n**2.1.-\"date\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NULL O STRING. SE VA ENVIAR LA FECHA DEL AJUSTE UTILIZANDO EL FORMATO DE FECHA \"YYYY-MM-DD\".\n\n**2.2.-\"from_location\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR EL ID O IDENTIFICADOR DEL ALMACEN DE ORIGEN.\n\n**2.3.-\"to_location\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR EL ID O IDENTIFICADOR DEL ALMACEN DE DESTINO.\n\n****OJO** **NO SE PUEDE ENVIAR EL MISMO ALMACEN DE ORIGEN Y DE DESTINO****.\n\n**2.4.-\"type\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NUMERICO O NULL. SE VA ENVIAR EL ID O IDENTIFICADOR DEL TIPO DE MOVIMIENTO DE INVENTARIO QUE SEA DE TIPO TRANSFERENCIA DE INVENTARIO.\n\n**2.5.-\"ref\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR LA REFERENCIA DEL AJUSTE OJO NO SE PUEDE UTILIZAR UNA REFERENCIA QUE HAYA SIDO UTILIZADA ANTERIORMENTE.\n\n**2.6.-\"ship_via\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO O STRING O NULL. SE VA ENVIAR EL IDENTIFICADOR DE LA COMPAÑIA DE TRANSPORTE.\n\n**2.7.-\"items\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO ARRAY(ARREGLO) DE OBJETOS. SE VA ENVIAR UN ARRAY(ARREGLO) DE OBJETOS DONDE CADA OBJETO VA CONTENER CIERTOS CAMPOS QUE SE REQUIEREN PARA EL ARTICULO Y A CONTINUACIÓN SE VAN A MENCIONAR ESO CAMPOS:\n\n**2.7.1.-\"stock_id\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR EL IDENTIFICADOR DEL ARTICULO.\n\n**2.7.2.-\"qty\"=** ES UN CAMPO OPCIONALY ES DE TIPO NUMERICO O NULL. SE VA ENVIAR LA CANTIDAD DE ARTICULOS QUE SE VAN A UTILIZAR SI NO SE ENVIA NADA O SE ENVIA COMO 0 SE VA ENVIAR COMO 1.\n\n**2.7.3.-\"standard_cost\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL. SE VA ENVIAR EL PRECIO DEL ARTICULO SI NO SE ENVIA ESE VALOR SE VA ENVIAR COMO 0.\n\n**2.7.4.-\"noIdentificacion\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL NUMERO DE IDENTIFICACION DEL ARTICULO.\n\n**2.7.5.-\"atributos\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR ATRIBUTOS EXTRA QUE QUIERE APLICAR AL ARTICULO.\n\n**2.8.-\"comments\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR UN COMENTARIO PARA EL AJUSTE." }, "response": [ { "name": "Transferencia de Inventario", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"date\": \"\",\r\n \"from_location\": \"ELIM\",\r\n \"to_location\": \"A1\",\r\n \"type\": \"1\",\r\n \"ref\": \"PruebaTrans.3\",\r\n \"ship_via\":\"1\",\r\n \"items\": [\r\n {\r\n \"qty\": 1,\r\n \"stock_id\": \"4Porciento\",\r\n \"noIdentificacion\": \"\",\r\n \"atributos\": \"\",\r\n \"standard_cost\": 5.71\r\n }\r\n ],\r\n \"comments\": \"Prueba Transferencia 3\"\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/inventory/transfers", "host": [ "{{API}}" ], "path": [ "api", "v3", "inventory", "transfers" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Thu, 15 Dec 2022 16:23:56 GMT" }, { "key": "Server", "value": "Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.4.1" }, { "key": "Vary", "value": "Authorization" }, { "key": "X-Powered-By", "value": "PHP/7.4.1" }, { "key": "Expires", "value": "Thu, 19 Nov 1981 08:52:00 GMT" }, { "key": "Cache-Control", "value": "private" }, { "key": "Pragma", "value": "no-cache" }, { "key": "Content-Length", "value": "35" }, { "key": "Keep-Alive", "value": "timeout=5, max=100" }, { "key": "Connection", "value": "Keep-Alive" }, { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"version\": \"3.22.50\",\n \"trans_no\": 25\n}" } ] } ] }, { "name": "Sales", "item": [ { "name": "Facturas", "item": [ { "name": "Factura", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"customer_id\": 1,\r\n \"branch_id\": 1,\r\n \"payment\": 3,\r\n \"sucursal_id\": 1,\r\n \"OrderDate\": \"\",\r\n \"delivery_date\": \"\",\r\n \"deliver_to\": \"Juan Perez\",\r\n \"delivery_address\": \"Address\",\r\n \"phone\": \"123456789\",\r\n \"pending_delivery\": false,\r\n \"ref\": \"\",\r\n \"timbrado_sat\": 0,\r\n \"tipo_comprobante\": \"I\", \r\n \"sello_digital\": \"1\", \r\n \"serie_digital\": \"LOCALTESTRODRIGO\", \r\n \"cfdi_regimen_fiscal\": \"616\",\r\n \"cfdi_method_payment\": \"PUE\",\r\n \"cfdi_form_payment\": \"01\",\r\n \"sat_uso_cfdi\": \"S01\",\r\n \"cfdi_exportacion\": \"01\",\r\n \"items\": [\r\n {\r\n \"stock_id\": \"SALDOS\",\r\n \"stock_id_text\": \"Articulo Saldos\",\r\n \"qty\": 2,\r\n \"price\": 50,\r\n \"Disc\": 0,\r\n \"noIdentificacion\": null,\r\n \"atributos\": null\r\n }\r\n ],\r\n \"payments\": [\r\n {\r\n \"date\": null, \r\n \"bank_account\": 3, \r\n \"amount\": 50.00, \r\n \"method\": 1,\r\n \"discount\": 0,\r\n \"memo\": \"Transferido temprano el mismo dia\",\r\n \"bank_amount\": null,\r\n \"cheque\": null,\r\n \"benef_cheque\": null,\r\n \"banco_sat_emis_cheque\": null,\r\n \"cuenta_origen\": null,\r\n \"banco_sat_origen_transf\": null\r\n },\r\n {\r\n \"date\": null,\r\n \"bank_account\": 3,\r\n \"amount\": 60.00,\r\n \"method\": 1,\r\n \"discount\": 0,\r\n \"memo\": \"Transferido tarde el mismo dia\",\r\n \"bank_amount\": null,\r\n \"cheque\": null,\r\n \"benef_cheque\": null,\r\n \"banco_sat_emis_cheque\": null,\r\n \"cuenta_origen\": null,\r\n \"banco_sat_origen_transf\": null\r\n }\r\n ],\r\n \"dimension_id\": null,\r\n \"dimension2_id\": null,\r\n \"dimension3_id\": null,\r\n \"dimension4_id\": null,\r\n \"dimension6_id\": null,\r\n \"comments\":\"COMENTARIO NUEVO DE FACTURA CON TIMBRADO\",\r\n \"cust_ref\":\"REFFAC-3\",\r\n \"uuid_sat_manual\":null,\r\n \"complemento_cpto\":null,\r\n \"complemento\":null,\r\n \"addenda\":null,\r\n \"location\":null,\r\n \"email\": null\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/sales/invoice", "host": [ "{{API}}" ], "path": [ "api", "v3", "sales", "invoice" ] }, "description": "**INFORMACIÓN DEL ENDPOINT**\n\nESTE METODO POST SIRVE PARA CREAR FACTURA Y PODER TIMBRARLA CON LA VERSIÓN V3.3 (HASTA EL 31-MAR-2023) Y LA VERSIÓN 4.0.\n\n**\\*BODY:**\n\n**1.-TIPO:** RAW UTILIZANDO EL FORMATO JSON.\n\n**2.-ATRIBUTOS O CAMPOS DEL BODY:**\n\n**2.1.-\"customer_id\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO O STRING. SE VA ENVIAR EL ID O IDENTIFICADOR DEL CLIENTE.\n\n**2.2.-\"branch_id\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO O STRING. SE VA ENVIAR EL ID O IDENTIFICADOR DEL DOMICILIO DEL CLIENTE SELECCIONADO.\n\n**2.3.-\"payment\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO O STRING O NULL. SE VA ENVIAR EL ID O IDENTIFICADOR DEL TERMINO DE PAGO.\n\n**2.4.-\"sucursal_id\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO O STRING O NULL. SE VA ENVIAR EL ID O IDENTIFICADOR DE LA SUCURSAL.\n\n**2.5.-\"OrderDate\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NULL O STRING. SE VA ENVIAR LA FECHA DE LA FACTURA UTILIZANDO EL FORMATO DE FECHA \"YYYY-MM-DD\".\n\n**2.6.-\"delivery_date\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NULL O STRING. SE VA ENVIAR LA FECHA DE ENTREGA DE LA FACTURA UTILIZANDO EL FORMATO DE FECHA \"YYYY-MM-DD\".\n\n**2.7.-\"deliver_to\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NULL O STRING. SE VA ENVIAR EL NOMBRE DE LA PERSONA A ENTREGAR.\n\n**2.8.-\"delivery_address\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NULL O STRING. SE VA ENVIAR LA DIRECCION DE LA PERSONA A ENTREGAR.\n\n**2.9.-\"phone\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NULL O STRING. SE VA ENVIAR EL TELEFONO DE LA PERSONA.\n\n**2.10.-\"pending_delivery\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NULL O BOOLEANO. SE VA ENVIAR FALSE O NULL CUANDO LA ORDEN SEA QUE AFECTE EL INVENTARIO Y SI ES TRUE QUE NO AFECTE EL INVENTARIO DE LOS PRODUCTOS.\n\n**2.11.-\"ref\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR LA REFERENCIA DE LA FACTURA OJO NO SE PUEDE UTILIZAR UNA REFERENCIA QUE HAYA SIDO UTILIZADA ANTERIORMENTE.\n\n**2.12.-\"timbrado_sat\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO BOOLEANO (true o false) O NUMERICO (0 Y 1) O STRING(VALORES PERMITIDOS SON \"1\", \"0\", \"true\", \"false\"). SE VA ENVIAR UNO DE LOS VALORES MENCIONADOS PARA PODER CREAR LA FACTURA ELECTRONICA O NO.\n\n**2.13.-\"tipo_comprobante\"=** ES UN CAMPO OBLIGATORIO CUANDO EL \"timbrado_sat\" SEA true O \"true\" O 1 O \"1\" Y ES DE TIPO STRING. SE VA ENVIAR EL IDENTIFICADOR DEL TIPO DE COMPROBANTE.\n\n**2.14.-\"sello_digital\"=** ES UN CAMPO OPCIONAL CUANDO EL \"timbrado_sat\" SEA true O \"true\" O 1 O \"1\" Y ES DE TIPO NUMERICO O STRING. SE VA ENVIAR EL IDENTIFICADOR DEL SELLO.\n\n**2.15.-\"serie_digital\"=** ES UN CAMPO OPCIONAL CUANDO EL \"timbrado_sat\" SEA true O \"true\" O 1 O \"1\" Y ES DE TIPO STRING O NULL. SE VA ENVIAR LA CLAVE DE LA SERIE.\n\n**2.16.-\"cfdi_regimen_fiscal\"=** ES UN CAMPO OBLIGATORIO CUANDO EL \"timbrado_sat\" SEA true O \"true\" O 1 O \"1\" Y ES DE TIPO STRING. SE VA ENVIAR EL IDENTIFICADOR DEL REGIMEN FISCAL DEL CLIENTE SELECCIONADO (CFDI V4.0).\n\n**2.17.-\"cfdi_method_payment\"=** ES UN CAMPO OBLIGATORIO CUANDO EL \"timbrado_sat\" SEA true O \"true\" O 1 O \"1\" Y ES DE TIPO STRING. SE VA ENVIAR EL IDENTIFICADOR DEL METODO DE PAGO SAT.\n\n**2.18.-\"cfdi_form_payment\"=** ES UN CAMPO OBLIGATORIO CUANDO EL \"timbrado_sat\" SEA true O \"true\" O 1 O \"1\" Y ES DE TIPO STRING. SE VA ENVIAR LA CLAVE DE LA FORMA DE PAGO.\n\n**2.19.-\"sat_uso_cfdi\"=** ES UN CAMPO OBLIGATORIO CUANDO EL \"timbrado_sat\" SEA true O \"true\" O 1 O \"1\" Y ES DE TIPO STRING. SE VA ENVIAR LA CLAVE DEL USO DEL CFDI.\n\n**2.20.-\"cfdi_exportacion\"=** ES UN CAMPO OBLIGATORIO CUANDO EL \"timbrado_sat\" SEA true O \"true\" O 1 O \"1\" Y ES DE TIPO STRING. SE VA ENVIAR LA CLAVE DE LA EXPORTACIÓN (CFDI V4.0).\n\n**2.21.-\"items\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO ARRAY(ARREGLO) DE OBJETOS. SE VA ENVIAR UN ARRAY(ARREGLO) DE OBJETOS DONDE CADA OBJETO VA CONTENER CIERTOS CAMPOS QUE SE REQUIEREN PARA EL ARTICULO Y A CONTINUACIÓN SE VAN A MENCIONAR ESO CAMPOS:\n\n**2.21.1.-\"stock_id\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR EL IDENTIFICADOR DEL ARTICULO.\n\n**2.21.2.-\"stock_id_text\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR LA DESCRIPCION DEL ARTICULO.\n\n**2.21.3.-\"qty\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO. SE VA ENVIAR LA CANTIDAD DE ARTICULOS QUE SE VAN A UTILIZAR.\n\n**2.21.4.-\"price\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO. SE VA ENVIAR EL PRECIO DEL ARTICULO.\n\n**2.21.5.-\"Disc\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO. SE VA ENVIAR EL DESCUENTO QUE LE VA APLICAR AL ARTICULO Y SE TIENE QUE ENVIAR EL VALOR DE 0 HASTA 100.\n\n**2.21.6.-\"noIdentificacion\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL NUMERO DE IDENTIFICACION DEL ARTICULO.\n\n**2.21.7.-\"atributos\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR ATRIBUTOS EXTRA QUE QUIERE APLICAR AL ARTICULO.\n\n**2.22.-\"payments\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO ARRAY(ARREGLO) DE OBJETOS. SE VA ENVIAR UN ARRAY(ARREGLO) DE OBJETOS DONDE CADA OBJETO VA CONTENER CIERTOS CAMPOS QUE SE REQUIEREN PARA EL PAGO Y A CONTINUACIÓN SE VAN A MENCIONAR ESO CAMPOS:\n\n**2.22.1.-\"date\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO STRING O NULL. SE VA ENVIAR LA FECHA QUE SE APLICO EL PAGO UTILIZANDO EL FORMATO DE FECHA \"YYYY-MM-DD\" .\n\n**2.22.2.-\"bank_account\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO O STRING. SE VA ENVIAR EL IDENTIFICADOR DE LA CUENTA DE BANCO.\n\n**2.22.3.-\"amount\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO. SE VA ENVIAR LA CANTIDAD DEL PAGO QUE LE QUIERE ASIGNAR.\n\n**2.22.4.-\"method\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO O STRING. SE VA ENVIAR EL IDENTIFICADOR DEL METODO DE PAGO.\n\n**2.22.5.-\"discount\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO. SE VA ENVIAR EL DESCUENTO QUE LE VA APLICAR AL ARTICULO Y SE TIENE QUE ENVIAR EL VALOR DE 0 HASTA 100.\n\n**2.22.6.-\"memo\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING. SE VA ENVIAR EL UN COMENTARIO DEL PAGO.\n\n**2.22.7.-\"bank_amount\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL. SE VA ENVIAR LA CANTIDAD QUE VA DESTINADA AL BANCO.\n\n**2.22.8.-\"cheque\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL.\n\n**2.22.9.-\"benef_cheque\"=** ES UN CAMPO OPCIONALY ES DE TIPO STRING O NULL. SE VA ENVIAR EL BENEFICIARIO DEL CHEQUE.\n\n**2.22.10.-\"banco_sat_emis_cheque\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR LA CUENTA SAT DEL EMISOR DEL CHEQUE.\n\n**2.22.11.-\"cuenta_origen\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR LA CUENTA DE ORIGEN DE LA EMISION DEL PAGO.\n\n**2.22.12.-\"banco_sat_origen_transf\"=** ES UN CAMPO OPCIONAL O NULL Y ES DE TIPO STRING. SE VA ENVIAR LA CUENTA SAT DEL ORIGEN .\n\n**2.23.-\"dimension_id\"=** CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL. SE VA ENVIAR ES EL ID DE LA DIMENSION A NIVEL 1.\n\n**2.24.-\"dimension2_id\"=** CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL. SE VA ENVIAR ES EL ID DE LA DIMENSION A NIVEL 2.\n\n**2.25.-\"dimension3_id\"=** CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL. SE VA ENVIAR ES EL ID DE LA DIMENSION A NIVEL 3.\n\n**2.26.-\"dimension4_id\"=** CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL. SE VA ENVIAR ES EL ID DE LA DIMENSION A NIVEL 4.\n\n**2.27.-\"dimension5_id\"=** CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL. SE VA ENVIAR ES EL ID DE LA DIMENSION A NIVEL 5.\n\n**2.28.-\"dimension6_id\"=** CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL. SE VA ENVIAR ES EL ID DE LA DIMENSION A NIVEL 6.\n\n**2.29.-\"comments\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR UN COMENTARIO PARA LA FACTURA.\n\n**2.30.-\"cust_ref\"=** CAMPO OPCIONAL Y DE TIPO STRING O NULL. SE VA ENVIAR LA REFERNCIA DEL CLIENTE OJO NO SE PUEDE UTILIZAR UNA REFERENCIA QUE HAYA SIDO UTILIZADA ANTERIORMENTE.\n\n**2.31.-\"uuid_sat_manual\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR UN UUID DE MANERA MANUAL.\n\n**2.32.-\"complemento_cpto\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR UN EL NOMBRE DEL COMPLEMENTO A CONCEPTO QUE SE VA UTILIZAR.\n\n**2.33.-\"complemento\"=** CAMPO OPCIONAL Y ES DE TIPO ARRAY (ARREGLO) DE OBJETOS O NULL. SE VA ENVIAR UN ARREGLO DE OBJETOS DONDE LOS OBJETOS VAN HACER EL COMPLEMENTO QUE SE VA UTILIZAR.\n\n**2.34.-\"addenda\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL NOMBRE DEL ADDENDA QUE SE VA UTILIZAR.\n\n**2.35.-\"location\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL IDENTIFICADOR DEL ALMACEN QUE SE VA UTILIZAR EN ESTA FACTURA.\n\n**2.36.-\"email\"=** CAMPO OPCIONAL Y ES DE TIPO MAIL O NULL. CORREO DETALLES DE ENTREGA" }, "response": [ { "name": "Factura Sin Timbrado", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"customer_id\": 1,\r\n \"branch_id\": 1,\r\n \"payment\": 3,\r\n \"sucursal_id\": 1,\r\n \"OrderDate\": \"\",\r\n \"delivery_date\": \"\",\r\n \"deliver_to\": \"Juan Perez\",\r\n \"delivery_address\": \"Address\",\r\n \"phone\": \"123456789\",\r\n \"pending_delivery\": false,\r\n \"ref\": \"\",\r\n \"timbrado_sat\": 0,\r\n \"tipo_comprobante\": \"I\", \r\n \"sello_digital\": \"1\", \r\n \"serie_digital\": \"LOCALTESTRODRIGO\", \r\n \"cfdi_regimen_fiscal\": \"616\",\r\n \"cfdi_method_payment\": \"PUE\",\r\n \"cfdi_form_payment\": \"01\",\r\n \"sat_uso_cfdi\": \"S01\",\r\n \"cfdi_exportacion\": \"01\",\r\n \"items\": [\r\n {\r\n \"stock_id\": \"SALDOS\",\r\n \"stock_id_text\": \"Articulo Saldos\",\r\n \"qty\": 2,\r\n \"price\": 50,\r\n \"Disc\": 0,\r\n \"noIdentificacion\": null,\r\n \"atributos\": null\r\n }\r\n ],\r\n \"payments\": [\r\n {\r\n \"date\": null, \r\n \"bank_account\": 3, \r\n \"amount\": 50.00, \r\n \"method\": 1,\r\n \"discount\": 0,\r\n \"memo\": \"Transferido temprano el mismo dia\",\r\n \"bank_amount\": null,\r\n \"cheque\": null,\r\n \"benef_cheque\": null,\r\n \"banco_sat_emis_cheque\": null,\r\n \"cuenta_origen\": null,\r\n \"banco_sat_origen_transf\": null\r\n },\r\n {\r\n \"date\": null,\r\n \"bank_account\": 3,\r\n \"amount\": 60.00,\r\n \"method\": 1,\r\n \"discount\": 0,\r\n \"memo\": \"Transferido tarde el mismo dia\",\r\n \"bank_amount\": null,\r\n \"cheque\": null,\r\n \"benef_cheque\": null,\r\n \"banco_sat_emis_cheque\": null,\r\n \"cuenta_origen\": null,\r\n \"banco_sat_origen_transf\": null\r\n }\r\n ],\r\n \"dimension_id\": null,\r\n \"dimension2_id\": null,\r\n \"dimension3_id\": null,\r\n \"dimension4_id\": null,\r\n \"dimension6_id\": null,\r\n \"comments\":\"COMENTARIO NUEVO DE FACTURA SIN TIMBRADO\",\r\n \"cust_ref\":\"REFFAC-1\",\r\n \"uuid_sat_manual\":null,\r\n \"complemento_cpto\":null,\r\n \"complemento\":null,\r\n \"addenda\":null\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/sales/invoice", "host": [ "{{API}}" ], "path": [ "api", "v3", "sales", "invoice" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Fri, 26 Aug 2022 02:02:07 GMT" }, { "key": "Server", "value": "Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.4.1" }, { "key": "Vary", "value": "Authorization" }, { "key": "X-Powered-By", "value": "PHP/7.4.1" }, { "key": "Expires", "value": "Thu, 19 Nov 1981 08:52:00 GMT" }, { "key": "Cache-Control", "value": "private" }, { "key": "Pragma", "value": "no-cache" }, { "key": "Content-Length", "value": "453" }, { "key": "Keep-Alive", "value": "timeout=5, max=100" }, { "key": "Connection", "value": "Keep-Alive" }, { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"version\": \"3.22.34\",\n \"result\": true,\n \"factura_no\": 5856,\n \"added_trans_type\": 10,\n \"added_trans_no\": 5856,\n \"ref\": \"5156\",\n \"messages\": [\n \"Invoice insertado exitósamente\",\n \"Pago #626 Referencia: 532 insertado\",\n \"insert_metodo_de_pago_cfdi = #728 insertado\",\n \"Asignando 50 a la factura #5856\",\n \"Pago #627 Referencia: 533 insertado\",\n \"insert_metodo_de_pago_cfdi = #729 insertado\",\n \"Asignando 50 a la factura #5856\"\n ],\n \"payment_no\": [\n 626,\n 627\n ],\n \"insert_metodo_de_pago_cfdi\": 729\n}" }, { "name": "Factura", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n\t\"customer_id\": 1, // Cliente\r\n\t\"branch_id\": 1, // Domicilio del Cliente\r\n\t\"payment\": 3, // Término de pago\r\n \"ref\": \"Ref\", //Referencia de la transaccion \r\n\t\"items\": [ // Artículos\r\n\t\t\t\t{\r\n\t\t\t\t\t\"stock_id\": \"003-002\",\r\n\t\t\t\t\t\"stock_id_text\": \"Gas Gas\",\r\n\t\t\t\t\t\"qty\": 1,\r\n\t\t\t\t\t\"price\": 50,\r\n\t\t\t\t\t\"Disc\": 0,\r\n\t\t\t\t\t\"noIdentificacion\": null,\r\n\t\t\t\t\t\"atributos\": null\r\n\t\t\t\t},\r\n {\r\n\t\t\t\t\t\"stock_id\": \"003-01\",\r\n\t\t\t\t\t\"stock_id_text\": \"Gas Gas\",\r\n\t\t\t\t\t\"qty\": 2,\r\n\t\t\t\t\t\"price\": 50,\r\n\t\t\t\t\t\"Disc\": 0,\r\n\t\t\t\t\t\"noIdentificacion\": null,\r\n\t\t\t\t\t\"atributos\": null\r\n\t\t\t\t}\r\n\t\t\t],\r\n \"payments\": [ //Pagos\r\n {\r\n \"date\": null,\r\n \"bank_account\": 3,\r\n \"amount\": 100.00,\r\n \"method\": 1,\r\n \"discount\": 0,\r\n \"memo\": \"Transferido temprano el mismo dia\",\r\n \"bank_amount\": null,\r\n \"cheque\": null,\r\n \"benef_cheque\": null,\r\n \"banco_sat_emis_cheque\": null,\r\n \"cuenta_origen\": null,\r\n \"banco_sat_origen_transf\": null\r\n },\r\n {\r\n \"date\": null,\r\n \"bank_account\": 3,\r\n \"amount\": 100.00,\r\n \"method\": 1,\r\n \"discount\": 0,\r\n \"memo\": \"Transferido tarde el mismo dia\",\r\n \"bank_amount\": null,\r\n \"cheque\": null,\r\n \"benef_cheque\": null,\r\n \"banco_sat_emis_cheque\": null,\r\n \"cuenta_origen\": null,\r\n \"banco_sat_origen_transf\": null\r\n }\r\n ],\r\n \"comments\":\"Comments\",\r\n \"pending_delivery\": 13.1 //Entrega inmediata 13.1 o Entrega posterior 13.2\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/sales/invoice", "host": [ "{{API}}" ], "path": [ "api", "v3", "sales", "invoice" ] } }, "_postman_previewlanguage": "Text", "header": [], "cookie": [], "body": "" }, { "name": "Factura Con Timbrado Complemento Leyendas Fiscales", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"customer_id\": 1,\r\n \"branch_id\": 1,\r\n \"payment\": 3,\r\n \"sucursal_id\": 1,\r\n \"OrderDate\": \"\",\r\n \"delivery_date\": \"\",\r\n \"deliver_to\": \"Juan Perez\",\r\n \"delivery_address\": \"Address\",\r\n \"phone\": \"123456789\",\r\n \"pending_delivery\": false,\r\n \"ref\": \"\",\r\n \"timbrado_sat\": true,\r\n \"tipo_comprobante\": \"I\",\r\n \"sello_digital\": \"3\",\r\n \"serie_digital\": \"CALR-COM\",\r\n \"cfdi_regimen_fiscal\": \"616\",\r\n \"cfdi_method_payment\": \"PUE\",\r\n \"cfdi_form_payment\": \"01\",\r\n \"sat_uso_cfdi\": \"S01\",\r\n \"cfdi_exportacion\": \"01\",\r\n \"items\": [\r\n {\r\n \"stock_id\": \"SALDOS\",\r\n \"stock_id_text\": \"Articulo Saldos\",\r\n \"qty\": 2,\r\n \"price\": 50,\r\n \"Disc\": 0,\r\n \"noIdentificacion\": null,\r\n \"atributos\": null\r\n }\r\n ],\r\n \"payments\": [\r\n {\r\n \"date\": null,\r\n \"bank_account\": 3,\r\n \"amount\": 50.00,\r\n \"method\": 1,\r\n \"discount\": 0,\r\n \"memo\": \"Transferido temprano el mismo dia\",\r\n \"bank_amount\": null,\r\n \"cheque\": null,\r\n \"benef_cheque\": null,\r\n \"banco_sat_emis_cheque\": null,\r\n \"cuenta_origen\": null,\r\n \"banco_sat_origen_transf\": null\r\n },\r\n {\r\n \"date\": null,\r\n \"bank_account\": 3,\r\n \"amount\": 60.00,\r\n \"method\": 1,\r\n \"discount\": 0,\r\n \"memo\": \"Transferido tarde el mismo dia\",\r\n \"bank_amount\": null,\r\n \"cheque\": null,\r\n \"benef_cheque\": null,\r\n \"banco_sat_emis_cheque\": null,\r\n \"cuenta_origen\": null,\r\n \"banco_sat_origen_transf\": null\r\n }\r\n ],\r\n \"dimension_id\": null,\r\n \"dimension2_id\": null,\r\n \"dimension3_id\": null,\r\n \"dimension4_id\": null,\r\n \"dimension6_id\": null,\r\n \"comments\": \"COMENTARIO NUEVO DE FACTURA CON TIMBRADO\",\r\n \"cust_ref\": \"REFFAC-3\",\r\n \"uuid_sat_manual\": null,\r\n \"complemento_cpto\": null,\r\n \"complemento\": [\r\n {\r\n \"leyendas_fiscales\": {\r\n \"leyendas_fiscales_Leyenda\": {\r\n \"disposicionFiscal\": null,\r\n \"norma\": null,\r\n \"textoLeyenda\": \"Prueba 4\"\r\n }\r\n }\r\n }\r\n ],\r\n \"addenda\": null,\r\n \"location\": null\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/sales/invoice", "host": [ "{{API}}" ], "path": [ "api", "v3", "sales", "invoice" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Tue, 18 Apr 2023 22:28:32 GMT" }, { "key": "Server", "value": "Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.4.1" }, { "key": "Vary", "value": "Authorization" }, { "key": "X-Powered-By", "value": "PHP/7.4.1" }, { "key": "Expires", "value": "Thu, 19 Nov 1981 08:52:00 GMT" }, { "key": "Cache-Control", "value": "private" }, { "key": "Pragma", "value": "no-cache" }, { "key": "Content-Length", "value": "839" }, { "key": "Keep-Alive", "value": "timeout=5, max=100" }, { "key": "Connection", "value": "Keep-Alive" }, { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"version\": \"3.23.15\",\n \"result\": true,\n \"factura_no\": 2214,\n \"added_trans_type\": 10,\n \"added_trans_no\": 2214,\n \"ref\": \"1470\",\n \"url_pdf\": \"http://127.0.0.1/admin/cfdi/api/v3/get_pdf?trans_no=2214&trans_type=10\",\n \"url_xml\": \"http://127.0.0.1/admin/cfdi/api/v3/get_xml?trans_no=2214&trans_type=10\",\n \"process_timbrado\": {\n \"success\": true,\n \"msg\": \"Timbrado OK.\",\n \"trans_no\": 2214,\n \"trans_type\": 10,\n \"uuid\": \"8e68ecc1-7581-4e5e-8185-4903b2e70c52\",\n \"serie\": \"CALR-COM\",\n \"folio\": \"78\",\n \"fecha_timbrado\": \"2023-04-18T16:28:37\"\n },\n \"messages\": [\n \"Invoice insertado exitósamente\",\n \"Pago #282 Referencia: 217 insertado\",\n \"insert_metodo_de_pago_cfdi = #398 insertado\",\n \"Asignando 50 a la factura #2214\",\n \"Pago #283 Referencia: 218 insertado\",\n \"insert_metodo_de_pago_cfdi = #399 insertado\",\n \"Asignando 60 a la factura #2214\"\n ],\n \"payment_no\": [\n 282,\n 283\n ],\n \"insert_metodo_de_pago_cfdi\": 399\n}" }, { "name": "Factura Con Timbrado", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"customer_id\": 1,\r\n \"branch_id\": 1,\r\n \"payment\": 3,\r\n \"sucursal_id\": 1,\r\n \"OrderDate\": \"\",\r\n \"delivery_date\": \"\",\r\n \"deliver_to\": \"Juan Perez\",\r\n \"delivery_address\": \"Address\",\r\n \"phone\": \"123456789\",\r\n \"pending_delivery\": false,\r\n \"ref\": \"\",\r\n \"timbrado_sat\": 1,\r\n \"tipo_comprobante\": \"I\", \r\n \"sello_digital\": \"1\", \r\n \"serie_digital\": \"LOCALTESTRODRIGO\", \r\n \"cfdi_regimen_fiscal\": \"616\",\r\n \"cfdi_method_payment\": \"PUE\",\r\n \"cfdi_form_payment\": \"01\",\r\n \"sat_uso_cfdi\": \"S01\",\r\n \"cfdi_exportacion\": \"01\",\r\n \"items\": [\r\n {\r\n \"stock_id\": \"SALDOS\",\r\n \"stock_id_text\": \"Articulo Saldos\",\r\n \"qty\": 2,\r\n \"price\": 50,\r\n \"Disc\": 0,\r\n \"noIdentificacion\": null,\r\n \"atributos\": null\r\n }\r\n ],\r\n \"payments\": [\r\n {\r\n \"date\": null, \r\n \"bank_account\": 3, \r\n \"amount\": 50.00, \r\n \"method\": 1,\r\n \"discount\": 0,\r\n \"memo\": \"Transferido temprano el mismo dia\",\r\n \"bank_amount\": null,\r\n \"cheque\": null,\r\n \"benef_cheque\": null,\r\n \"banco_sat_emis_cheque\": null,\r\n \"cuenta_origen\": null,\r\n \"banco_sat_origen_transf\": null\r\n },\r\n {\r\n \"date\": null,\r\n \"bank_account\": 3,\r\n \"amount\": 60.00,\r\n \"method\": 1,\r\n \"discount\": 0,\r\n \"memo\": \"Transferido tarde el mismo dia\",\r\n \"bank_amount\": null,\r\n \"cheque\": null,\r\n \"benef_cheque\": null,\r\n \"banco_sat_emis_cheque\": null,\r\n \"cuenta_origen\": null,\r\n \"banco_sat_origen_transf\": null\r\n }\r\n ],\r\n \"dimension_id\": null,\r\n \"dimension2_id\": null,\r\n \"dimension3_id\": null,\r\n \"dimension4_id\": null,\r\n \"dimension6_id\": null,\r\n \"comments\":\"COMENTARIO NUEVO DE FACTURA CON TIMBRADO\",\r\n \"cust_ref\":\"REFFAC-2\",\r\n \"uuid_sat_manual\":null,\r\n \"complemento_cpto\":null,\r\n \"complemento\":null,\r\n \"addenda\":null\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/sales/invoice", "host": [ "{{API}}" ], "path": [ "api", "v3", "sales", "invoice" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Fri, 26 Aug 2022 02:03:01 GMT" }, { "key": "Server", "value": "Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.4.1" }, { "key": "Vary", "value": "Authorization" }, { "key": "X-Powered-By", "value": "PHP/7.4.1" }, { "key": "Expires", "value": "Thu, 19 Nov 1981 08:52:00 GMT" }, { "key": "Cache-Control", "value": "private" }, { "key": "Pragma", "value": "no-cache" }, { "key": "Content-Length", "value": "848" }, { "key": "Keep-Alive", "value": "timeout=5, max=100" }, { "key": "Connection", "value": "Keep-Alive" }, { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"version\": \"3.22.34\",\n \"result\": true,\n \"factura_no\": 5857,\n \"added_trans_type\": 10,\n \"added_trans_no\": 5857,\n \"ref\": \"5157\",\n \"url_pdf\": \"http://127.0.0.1/admin/cfdi/api/v2/get_pdf?trans_no=5857&trans_type=10\",\n \"url_xml\": \"http://127.0.0.1/admin/cfdi/api/v2/get_xml?trans_no=5857&trans_type=10\",\n \"process_timbrado\": {\n \"success\": true,\n \"msg\": \"Timbrado OK.\",\n \"trans_no\": 5857,\n \"trans_type\": 10,\n \"uuid\": \"9abffdb2-f522-42c5-b7f1-519a0af524e0\",\n \"serie\": \"LOCALTESTRODRIGO\",\n \"folio\": \"287\",\n \"fecha_timbrado\": \"2022-08-25T21:03:10\"\n },\n \"messages\": [\n \"Invoice insertado exitósamente\",\n \"Pago #628 Referencia: 534 insertado\",\n \"insert_metodo_de_pago_cfdi = #730 insertado\",\n \"Asignando 50 a la factura #5857\",\n \"Pago #629 Referencia: 535 insertado\",\n \"insert_metodo_de_pago_cfdi = #731 insertado\",\n \"Asignando 50 a la factura #5857\"\n ],\n \"payment_no\": [\n 628,\n 629\n ],\n \"insert_metodo_de_pago_cfdi\": 731\n}" } ] }, { "name": "Factura desde Pedido", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"order_no\": 4727,\r\n \"OrderDate\": \"\",\r\n \"delivery_date\": \"\",\r\n \"deliver_to\": \"Juan Perez\",\r\n \"delivery_address\": \"Address\",\r\n \"phone\": \"123456789\",\r\n \"pending_delivery\": true,\r\n \"ref\": \"ref32142424243\",\r\n \"comments\":\"COMENTARIO NUEVO DE FACTURA DESDE PEDIDO\",\r\n \"cust_ref\":\"REFFAC-3\",\r\n \"location\":null,\r\n \"email\": null\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/sales/invoice_from_order", "host": [ "{{API}}" ], "path": [ "api", "v3", "sales", "invoice_from_order" ] } }, "response": [ { "name": "Factura con Timbrado", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"order_no\": 4730,\r\n \"OrderDate\": \"\",\r\n \"delivery_date\": \"\",\r\n \"deliver_to\": \"Juan Perez\",\r\n \"delivery_address\": \"Address\",\r\n \"phone\": \"123456789\",\r\n \"pending_delivery\": false,\r\n \"ref\": \"\",\r\n \"timbrado_sat\": 1,\r\n \"tipo_comprobante\": \"I\", \r\n \"sello_digital\": \"4\", \r\n \"serie_digital\": \"DEMO\", \r\n \"cfdi_regimen_fiscal\": \"616\",\r\n \"cfdi_method_payment\": \"PUE\",\r\n \"cfdi_form_payment\": \"01\",\r\n \"sat_uso_cfdi\": \"S01\",\r\n \"cfdi_exportacion\": \"01\",\r\n \"dimension_id\": null,\r\n \"dimension2_id\": null,\r\n \"dimension3_id\": null,\r\n \"dimension4_id\": null,\r\n \"dimension6_id\": null,\r\n \"comments\":\"COMENTARIO NUEVO DE FACTURA CON TIMBRADO\",\r\n \"cust_ref\":\"REFFAC-3\",\r\n \"uuid_sat_manual\":null,\r\n \"complemento_cpto\":null,\r\n \"complemento\":null,\r\n \"addenda\":null,\r\n \"location\":null,\r\n \"email\": null\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/sales/invoice_from_order", "host": [ "{{API}}" ], "path": [ "api", "v3", "sales", "invoice_from_order" ] } }, "_postman_previewlanguage": null, "header": null, "cookie": [], "body": null }, { "name": "Factura sin Timbrado", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"order_no\": 4727,\r\n \"OrderDate\": \"\",\r\n \"delivery_date\": \"\",\r\n \"deliver_to\": \"Juan Perez\",\r\n \"delivery_address\": \"Address\",\r\n \"phone\": \"123456789\",\r\n \"pending_delivery\": true,\r\n \"ref\": \"ref32142424243\",\r\n \"comments\":\"COMENTARIO NUEVO DE FACTURA DESDE PEDIDO\",\r\n \"cust_ref\":\"REFFAC-3\",\r\n \"location\":null,\r\n \"email\": null\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/sales/invoice_from_order", "host": [ "{{API}}" ], "path": [ "api", "v3", "sales", "invoice_from_order" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Mon, 12 Feb 2024 15:17:01 GMT" }, { "key": "Server", "value": "Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/7.4.33" }, { "key": "Vary", "value": "Authorization" }, { "key": "X-Powered-By", "value": "PHP/7.4.33" }, { "key": "Expires", "value": "Thu, 19 Nov 1981 08:52:00 GMT" }, { "key": "Cache-Control", "value": "private" }, { "key": "Pragma", "value": "no-cache" }, { "key": "Content-Length", "value": "166" }, { "key": "Keep-Alive", "value": "timeout=5, max=100" }, { "key": "Connection", "value": "Keep-Alive" }, { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"version\": \"3.24.06\",\n \"result\": true,\n \"factura_no\": 4235,\n \"added_trans_type\": 10,\n \"added_trans_no\": 4235,\n \"ref\": \"ref32142424243\",\n \"messages\": [\n \"Factura insertada exitosamente\"\n ]\n}" } ] }, { "name": "Factura Multiple", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"customer_id\": 1153,\r\n \"branch_id\": 1159,\r\n \"sello_digital\": \"5\", \r\n \"serie_digital\": \"A\", \r\n \"cfdi_regimen_fiscal\": \"601\",\r\n \"cfdi_method_payment\": \"PUE\",\r\n \"cfdi_form_payment\": \"01\",\r\n \"sat_uso_cfdi\": \"S01\",\r\n \"cfdi_exportacion\": \"01\",\r\n \"invoices\": [20017, 20018]\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/sales/cfdi_from_multiple_sales", "host": [ "{{API}}" ], "path": [ "api", "v3", "sales", "cfdi_from_multiple_sales" ] }, "description": "**INFORMACIÓN DEL ENDPOINT**\n\nESTE METODO POST SIRVE PARA CREAR FACTURAS MULTIPLES Y PODER TIMBRARLA CON LA VERSIÓN V3.3 (HASTA EL 31-MAR-2023) Y LA VERSIÓN 4.0.\n\n**\\*BODY:**\n\n**1.-TIPO:** RAW UTILIZANDO EL FORMATO JSON.\n\n**2.-ATRIBUTOS O CAMPOS DEL BODY:**\n\n**2.1.-\"customer_id\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO O STRING. SE VA ENVIAR EL ID O IDENTIFICADOR DEL CLIENTE.\n\n**2.2.-\"branch_id\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO O STRING. SE VA ENVIAR EL ID O IDENTIFICADOR DEL DOMICILIO DEL CLIENTE SELECCIONADO.\n\nn**2.14.-\"sello_digital\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO O STRING. SE VA ENVIAR EL IDENTIFICADOR DEL SELLO.\n\n**2.15.-\"serie_digital\"=** ES UN CAMPO OPCIONAL. SE VA ENVIAR LA CLAVE DE LA SERIE.\n\n**2.16.-\"cfdi_regimen_fiscal\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR EL IDENTIFICADOR DEL REGIMEN FISCAL DEL CLIENTE SELECCIONADO (CFDI V4.0).\n\n**2.17.-\"cfdi_method_payment\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR EL IDENTIFICADOR DEL METODO DE PAGO SAT.\n\n**2.18.-\"cfdi_form_payment\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR LA CLAVE DE LA FORMA DE PAGO.\n\n**2.19.-\"sat_uso_cfdi\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR LA CLAVE DEL USO DEL CFDI.\n\n**2.20.-\"cfdi_exportacion\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR LA CLAVE DE LA EXPORTACIÓN (CFDI V4.0).\n\n**2.21.-\"invoices\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO ARRAY(ARREGLO). SE VA ENVIAR UN ARRAY(ARREGLO) CON LOS NUMEROS DE FACTURAS SIN TIMBRAR:\n\n" }, "response": [] } ] }, { "name": "Cotizaciones", "item": [ { "name": "Cotizacion", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"customer_id\": 1,\r\n \"branch_id\": 1,\r\n \"payment\": 3,\r\n \"sucursal_id\": 1,\r\n \"OrderDate\": \"2022-08-25\",\r\n \"deliver_to\": \"Roque Olvera\",\r\n \"delivery_address\": \"Casas Blancas #500\",\r\n \"phone\": \"123456789\",\r\n \"ref\": \"RC3\",\r\n \"items\": [\r\n {\r\n \"stock_id\": \"SALDOS\",\r\n \"stock_id_text\": \"Articulo Saldos\",\r\n \"qty\": 2,\r\n \"price\": 50,\r\n \"Disc\": 0,\r\n \"noIdentificacion\": \"123456789\",\r\n \"atributos\": null\r\n }\r\n ],\r\n \"comments\": \"COMENTARIO NUEVO DE COTIZACION\",\r\n \"cust_ref\":\"REFCOT-1\"\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/sales/quote", "host": [ "{{API}}" ], "path": [ "api", "v3", "sales", "quote" ] }, "description": "**INFORMACIÓN DEL ENDPOINT**\n\nESTE METODO POST SIRVE PARA CREAR COTIZACIONES.\n\n***BODY:**\n\n**1.-TIPO:** RAW UTILIZANDO EL FORMATO JSON.\n\n**2.-ATRIBUTOS O CAMPOS DEL BODY:**\n\n**2.1.-\"customer_id\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO O STRING. SE VA ENVIAR EL ID O IDENTIFICADOR DEL CLIENTE.\n\n**2.2.-\"branch_id\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO O STRING. SE VA ENVIAR EL ID O IDENTIFICADOR DEL DOMICILIO DEL CLIENTE SELECCIONADO.\n\n**2.3.-\"payment\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO O STRING. SE VA ENVIAR EL ID O IDENTIFICADOR DEL TERMINO DE PAGO.\n\n**2.4.-\"sucursal_id\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO O STRING. SE VA ENVIAR EL ID O IDENTIFICADOR DE LA SUCURSAL.\n\n**2.5.-\"OrderDate\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NULL O STRING. SE VA ENVIAR LA FECHA DE LA COTIZACIÓN UTILIZANDO EL FORMATO DE FECHA \"YYYY-MM-DD\".\n\n**2.6.-\"deliver_to\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NULL O STRING. SE VA ENVIAR EL NOMBRE DE LA PERSONA A ENTREGAR.\n\n**2.7.-\"delivery_address\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NULL O STRING. SE VA ENVIAR LA DIRECCION DE LA PERSONA A ENTREGAR.\n\n**2.8.-\"phone\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NULL O STRING. SE VA ENVIAR EL TELEFONO DE LA PERSONA.\n\n**2.9.-\"ref\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR LA REFERENCIA DE LA COTIZACIÓN OJO NO SE PUEDE UTILIZAR UNA REFERENCIA QUE HAYA SIDO UTILIZADA ANTERIORMENTE.\n\n**2.10.-\"items\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO ARRAY(ARREGLO) DE OBJETOS. SE VA ENVIAR UN ARRAY(ARREGLO) DE OBJETOS DONDE CADA OBJETO VA CONTENER CIERTOS CAMPOS QUE SE REQUIEREN PARA EL ARTICULO Y A CONTINUACIÓN SE VAN A MENCIONAR ESO CAMPOS:\n\n**2.10.1.-\"stock_id\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR EL IDENTIFICADOR DEL ARTICULO.\n\n**2.10.2.-\"stock_id_text\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR LA DESCRIPCION DEL ARTICULO.\n\n**2.10.3.-\"qty\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO. SE VA ENVIAR LA CANTIDAD DE ARTICULOS QUE SE VAN A UTILIZAR.\n\n**2.10.4.-\"price\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO. SE VA ENVIAR EL PRECIO DEL ARTICULO.\n\n**2.10.5.-\"Disc\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO. SE VA ENVIAR EL DESCUENTO QUE LE VA APLICAR AL ARTICULO Y SE TIENE QUE ENVIAR EL VALOR DE 0 HASTA 100.\n\n**2.10.6.-\"noIdentificacion\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL NUMERO DE IDENTIFICACION DEL ARTICULO.\n\n**2.10.7.-\"atributos\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR ATRIBUTOS EXTRA QUE QUIERE APLICAR AL ARTICULO.\n\n**2.11.-\"comments\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR UN COMENTARIO PARA LA COTIZACIÓN.\n\n**2.12.-\"cust_ref\"=** CAMPO OPCIONAL Y DE TIPO STRING O NULL. SE VA ENVIAR LA REFERNCIA DEL CLIENTE OJO NO SE PUEDE UTILIZAR UNA REFERENCIA QUE HAYA SIDO UTILIZADA ANTERIORMENTE." }, "response": [ { "name": "Cotizacion Completo", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"customer_id\": 1,\r\n \"branch_id\": 1,\r\n \"payment\": 3,\r\n \"sucursal_id\": 1,\r\n \"OrderDate\": \"2022-08-25\",\r\n \"deliver_to\": \"Roque Olvera\",\r\n \"delivery_address\": \"Casas Blancas #500\",\r\n \"phone\": \"123456789\",\r\n \"ref\": \"RC3\",\r\n \"items\": [\r\n {\r\n \"stock_id\": \"SALDOS\",\r\n \"stock_id_text\": \"Articulo Saldos\",\r\n \"qty\": 2,\r\n \"price\": 50,\r\n \"Disc\": 0,\r\n \"noIdentificacion\": \"123456789\",\r\n \"atributos\": null\r\n }\r\n ],\r\n \"comments\": \"COMENTARIO NUEVO DE COTIZACION\",\r\n \"cust_ref\":\"REFCOT-1\"\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/sales/quote", "host": [ "{{API}}" ], "path": [ "api", "v3", "sales", "quote" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Fri, 26 Aug 2022 02:03:51 GMT" }, { "key": "Server", "value": "Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.4.1" }, { "key": "Vary", "value": "Authorization" }, { "key": "X-Powered-By", "value": "PHP/7.4.1" }, { "key": "Expires", "value": "Thu, 19 Nov 1981 08:52:00 GMT" }, { "key": "Cache-Control", "value": "private" }, { "key": "Pragma", "value": "no-cache" }, { "key": "Content-Length", "value": "157" }, { "key": "Keep-Alive", "value": "timeout=5, max=100" }, { "key": "Connection", "value": "Keep-Alive" }, { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"version\": \"3.22.34\",\n \"result\": true,\n \"factura_no\": 3,\n \"added_trans_type\": 32,\n \"added_trans_no\": 3,\n \"ref\": \"RC3\",\n \"messages\": [\n \"Cotizacion insertada exitósamente\"\n ]\n}" }, { "name": "Cotizacion", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n\t\"customer_id\": 1, // Cliente\r\n\t\"branch_id\": 1, // Domicilio del Cliente\r\n\t\"payment\": 3, // Término de pago\r\n \"ref\": \"Ref\", //Referencia de la transaccion \r\n\t\"items\": [ //Artículos\r\n\t\t\t\t{\r\n\t\t\t\t\t\"stock_id\": \"003-002\",\r\n\t\t\t\t\t\"stock_id_text\": \"Gas Gas\",\r\n\t\t\t\t\t\"qty\": 1,\r\n\t\t\t\t\t\"price\": 0,\r\n\t\t\t\t\t\"Disc\": 0,\r\n\t\t\t\t\t\"noIdentificacion\": null,\r\n\t\t\t\t\t\"atributos\": null\r\n\t\t\t\t}\r\n\t\t\t],\r\n \"deliver_to\": \"Juan Perez\", //A quien se enviará\r\n \"delivery_address\": \"Address\", //Dirección de envío\r\n \"delivery_date\":\"2022-01-01\" //Fecha de envío\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/sales/quote", "host": [ "{{API}}" ], "path": [ "api", "v3", "sales", "quote" ] } }, "_postman_previewlanguage": "Text", "header": [], "cookie": [], "body": "" } ] } ] }, { "name": "Pedidos", "item": [ { "name": "Pedido", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"customer_id\": 1,\r\n \"branch_id\": 1,\r\n \"payment\": 3,\r\n \"sucursal_id\": 1,\r\n \"OrderDate\": \"2022-08-26\",\r\n \"deliver_to\": \"Sarai\",\r\n \"delivery_address\": \"Loma Alta #500\",\r\n \"phone\": \"123456789\",\r\n \"ref\": \"PED3\",\r\n \"items\": [\r\n {\r\n \"stock_id\": \"SALDOS\",\r\n \"stock_id_text\": \"Articulo Saldos Para Pedido\",\r\n \"qty\": 5,\r\n \"price\": 50,\r\n \"Disc\": 0,\r\n \"noIdentificacion\": \"SALDOS1234\",\r\n \"atributos\": null\r\n }\r\n ],\r\n \"comments\": \"COMENTARIO NUEVO DE PEDIDO\",\r\n \"cust_ref\":\"REFPED-1\"\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/sales/order", "host": [ "{{API}}" ], "path": [ "api", "v3", "sales", "order" ] }, "description": "**INFORMACIÓN DEL ENDPOINT**\n\nESTE METODO POST SIRVE PARA CREAR PEDIDOS.\n\n***BODY:**\n\n**1.-TIPO:** RAW UTILIZANDO EL FORMATO JSON.\n\n**2.-ATRIBUTOS O CAMPOS DEL BODY:**\n\n**2.1.-\"customer_id\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO O STRING. SE VA ENVIAR EL ID O IDENTIFICADOR DEL CLIENTE.\n\n**2.2.-\"branch_id\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO O STRING. SE VA ENVIAR EL ID O IDENTIFICADOR DEL DOMICILIO DEL CLIENTE SELECCIONADO.\n\n**2.3.-\"payment\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO O STRING. SE VA ENVIAR EL ID O IDENTIFICADOR DEL TERMINO DE PAGO.\n\n**2.4.-\"sucursal_id\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO O STRING. SE VA ENVIAR EL ID O IDENTIFICADOR DE LA SUCURSAL.\n\n**2.5.-\"OrderDate\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NULL O STRING. SE VA ENVIAR LA FECHA DEL PEDIDO UTILIZANDO EL FORMATO DE FECHA \"YYYY-MM-DD\".\n\n**2.6.-\"deliver_to\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NULL O STRING. SE VA ENVIAR EL NOMBRE DE LA PERSONA A ENTREGAR.\n\n**2.7.-\"delivery_address\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NULL O STRING. SE VA ENVIAR LA DIRECCION DE LA PERSONA A ENTREGAR.\n\n**2.8.-\"phone\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NULL O STRING. SE VA ENVIAR EL TELEFONO DE LA PERSONA.\n\n**2.9.-\"ref\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR LA REFERENCIA DEL PEDIDO OJO NO SE PUEDE UTILIZAR UNA REFERENCIA QUE HAYA SIDO UTILIZADA ANTERIORMENTE.\n\n**2.10.-\"items\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO ARRAY(ARREGLO) DE OBJETOS. SE VA ENVIAR UN ARRAY(ARREGLO) DE OBJETOS DONDE CADA OBJETO VA CONTENER CIERTOS CAMPOS QUE SE REQUIEREN PARA EL ARTICULO Y A CONTINUACIÓN SE VAN A MENCIONAR ESO CAMPOS:\n\n**2.10.1.-\"stock_id\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR EL IDENTIFICADOR DEL ARTICULO.\n\n**2.10.2.-\"stock_id_text\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR LA DESCRIPCION DEL ARTICULO.\n\n**2.10.3.-\"qty\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO. SE VA ENVIAR LA CANTIDAD DE ARTICULOS QUE SE VAN A UTILIZAR.\n\n**2.10.4.-\"price\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO. SE VA ENVIAR EL PRECIO DEL ARTICULO.\n\n**2.10.5.-\"Disc\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO. SE VA ENVIAR EL DESCUENTO QUE LE VA APLICAR AL ARTICULO Y SE TIENE QUE ENVIAR EL VALOR DE 0 HASTA 100.\n\n**2.10.6.-\"noIdentificacion\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL NUMERO DE IDENTIFICACION DEL ARTICULO.\n\n**2.10.7.-\"atributos\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR ATRIBUTOS EXTRA QUE QUIERE APLICAR AL ARTICULO.\n\n**2.11.-\"comments\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR UN COMENTARIO PARA EL PEDIDO.\n\n**2.12.-\"cust_ref\"=** CAMPO OPCIONAL Y DE TIPO STRING O NULL. SE VA ENVIAR LA REFERNCIA DEL CLIENTE OJO NO SE PUEDE UTILIZAR UNA REFERENCIA QUE HAYA SIDO UTILIZADA ANTERIORMENTE." }, "response": [ { "name": "Pedido Completo", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"customer_id\": 1,\r\n \"branch_id\": 1,\r\n \"payment\": 3,\r\n \"sucursal_id\": 1,\r\n \"OrderDate\": \"2022-08-26\",\r\n \"deliver_to\": \"Sarai\",\r\n \"delivery_address\": \"Loma Alta #500\",\r\n \"phone\": \"123456789\",\r\n \"ref\": \"PED3\",\r\n \"items\": [\r\n {\r\n \"stock_id\": \"SALDOS\",\r\n \"stock_id_text\": \"Articulo Saldos Para Pedido\",\r\n \"qty\": 5,\r\n \"price\": 50,\r\n \"Disc\": 0,\r\n \"noIdentificacion\": \"SALDOS1234\",\r\n \"atributos\": null\r\n }\r\n ],\r\n \"comments\": \"COMENTARIO NUEVO DE PEDIDO\",\r\n \"cust_ref\":\"REFPED-1\"\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/sales/order", "host": [ "{{API}}" ], "path": [ "api", "v3", "sales", "order" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Fri, 26 Aug 2022 02:08:52 GMT" }, { "key": "Server", "value": "Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.4.1" }, { "key": "Vary", "value": "Authorization" }, { "key": "X-Powered-By", "value": "PHP/7.4.1" }, { "key": "Expires", "value": "Thu, 19 Nov 1981 08:52:00 GMT" }, { "key": "Cache-Control", "value": "private" }, { "key": "Pragma", "value": "no-cache" }, { "key": "Content-Length", "value": "160" }, { "key": "Keep-Alive", "value": "timeout=5, max=100" }, { "key": "Connection", "value": "Keep-Alive" }, { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"version\": \"3.22.34\",\n \"result\": true,\n \"factura_no\": 5863,\n \"added_trans_type\": 30,\n \"added_trans_no\": 5863,\n \"ref\": \"PED3\",\n \"messages\": [\n \"Pedido insertado exitósamente\"\n ]\n}" }, { "name": "Pedido", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n\t\"customer_id\": 1, // Cliente\r\n\t\"branch_id\": 1, // Domicilio del Cliente\r\n\t\"payment\": 3, // Término de pago\r\n \"ref\": \"Ref\", //Referencia de la transaccion \r\n\t\"items\": [ //Artículos\r\n\t\t\t\t{\r\n\t\t\t\t\t\"stock_id\": \"003-002\",\r\n\t\t\t\t\t\"stock_id_text\": \"Gas Gas\",\r\n\t\t\t\t\t\"qty\": 1,\r\n\t\t\t\t\t\"price\": 0,\r\n\t\t\t\t\t\"Disc\": 0,\r\n\t\t\t\t\t\"noIdentificacion\": null,\r\n\t\t\t\t\t\"atributos\": null\r\n\t\t\t\t}\r\n\t\t\t]\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/sales/order", "host": [ "{{API}}" ], "path": [ "api", "v3", "sales", "order" ] } }, "_postman_previewlanguage": "Text", "header": [], "cookie": [], "body": "" } ] }, { "name": "Pedido", "request": { "method": "DELETE", "header": [], "url": { "raw": "{{API}}/api/v3/sales/orders/{{orderid}}", "host": [ "{{API}}" ], "path": [ "api", "v3", "sales", "orders", "{{orderid}}" ] }, "description": "**INFORMACIÓN DEL ENDPOINT**\n\nESTE METODO SELETE PARA CANCELAR UN PEDIDO.\n\n**\\*PARAMS:**\n\n**1.-ATRIBUTOS O CAMPOS DEL PARAMS:**\n\n**1.1.-\"{{orderid}}\"=** ES UN PARAMETRO OBLIGATORIO Y ES DE TIPO NUMERICO O STRING. SE VA ENVIAR EL ID O LA REFERENCIA DEL PEDIDO." }, "response": [] }, { "name": "Pedidos", "request": { "method": "GET", "header": [], "url": { "raw": "{{API}}/api/v3/sales/sales_orders?skip=0&limit=25&debtor_no=1&DateFrom=2023-01-01&DateTo=2023-01-31", "host": [ "{{API}}" ], "path": [ "api", "v3", "sales", "sales_orders" ], "query": [ { "key": "skip", "value": "0", "description": "[Optional] Amount of records to skip" }, { "key": "limit", "value": "25", "description": "[Optional] Amount of records to retrieve" }, { "key": "debtor_no", "value": "1", "description": "[Optional] Search by Customer ID" }, { "key": "DateFrom", "value": "2023-01-01", "description": "[Optional] Date from which to query" }, { "key": "DateTo", "value": "2023-01-31", "description": "[Optional] Date to which to query" }, { "key": "OutstandingOnly", "value": "true", "description": "[Optional] Only show outstanding sales orders", "disabled": true }, { "key": "usuario", "value": "1", "description": "[optional] Show only records made by this user ID", "disabled": true }, { "key": "branch_code", "value": "", "description": "[optional] only select specific branch to show quotes for", "disabled": true }, { "key": "trans_no", "value": "", "description": "[optional] select specific transaction number", "disabled": true }, { "key": "customer_ref", "value": "", "description": "[optional] filter specific customer reference", "disabled": true } ] }, "description": "**INFORMACIÓN DEL ENDPOINT**\n\nESTE METODO GET SIRVE PARA CONSEGUIR UN LISTADO DETALLADO DE LOS PEDIDOS ALMACENADOS EN SISTEMA.\n\n**\\*PARAMS:**\n\n**1.-ATRIBUTOS O CAMPOS DEL PARAMS:**\n\n**1.1.-\"limit\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO. SE VA ENVIAR EL NUMERO LIMITE DE REGISTROS A CARGAR.\n\n**1.2.-\"skip\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO. SE VA ENVIAR EL NUMERO DE FILAS A SALTAR.\n\n**1.3.-\"debtor_no\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO. SE VA ENVIAR EL IDENTIFICADOR O ID DEL CLIENTE.\n\n**1.4.-\"DateFrom\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING. SE VA ENVIAR LA FECHA DESDE DONDE QUIERE ENCONTRAR EL PEDIDO UTILIZA EL SIGUIENTE FORMATO DE FECHA YYYY-MM-DD.\n\n**1.5.-\"DateTo\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING. SE VA ENVIAR LA FECHA HASTA DONDE QUIERE ENCONTRAR EL PEDIDO UTILIZA EL SIGUIENTE FORMATO DE FECHA YYYY-MM-DD.\n\n**1.6.-\"OutstandingOnly\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O BOOLENO. SE VA true O 1 PARA OBTENER LOS PEDIDOS PENDIENTES SI NO SE ENVIA TE MUESTRA TODOS.\n\n**1.7.-\"usuario\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO. SE VA ENVIAR EL DIDENTIFICADOR O ID DEL USUARIO.\n\n**1.8.-\"branch_code\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO. SE VA ENVIAR EL IDENTIFICADOR O ID DEL DOMICILIO.\n\n**1.9.-\"trans_no\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO. SE VA ENVIAR EL ID DEL PEDIDO.\n\n**1.10.-\"customer_ref\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING. SE VA ENVIAR LA REFERENCIA DEL CLIENTE DEL PEDIDO." }, "response": [ { "name": "Pedidos", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{API}}/api/v3/sales/sales_orders?skip=0&limit=25&debtor_no=1&DateFrom=2023-01-01&DateTo=2023-01-31", "host": [ "{{API}}" ], "path": [ "api", "v3", "sales", "sales_orders" ], "query": [ { "key": "skip", "value": "0", "description": "[Optional] Amount of records to skip" }, { "key": "limit", "value": "25", "description": "[Optional] Amount of records to retrieve" }, { "key": "debtor_no", "value": "1", "description": "[Optional] Search by Customer ID" }, { "key": "DateFrom", "value": "2023-01-01", "description": "[Optional] Date from which to query" }, { "key": "DateTo", "value": "2023-01-31", "description": "[Optional] Date to which to query" }, { "key": "OutstandingOnly", "value": "true", "description": "[Optional] Only show outstanding sales orders", "disabled": true }, { "key": "usuario", "value": "1", "description": "[optional] Show only records made by this user ID", "disabled": true }, { "key": "branch_code", "value": "", "description": "[optional] only select specific branch to show quotes for", "disabled": true }, { "key": "trans_no", "value": "", "description": "[optional] select specific transaction number", "disabled": true }, { "key": "customer_ref", "value": "", "description": "[optional] filter specific customer reference", "disabled": true } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Wed, 25 Jan 2023 20:12:46 GMT" }, { "key": "Server", "value": "Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.4.1" }, { "key": "Vary", "value": "Authorization" }, { "key": "X-Powered-By", "value": "PHP/7.4.1" }, { "key": "Expires", "value": "Thu, 19 Nov 1981 08:52:00 GMT" }, { "key": "Cache-Control", "value": "private" }, { "key": "Pragma", "value": "no-cache" }, { "key": "Content-Length", "value": "2019" }, { "key": "Keep-Alive", "value": "timeout=5, max=100" }, { "key": "Connection", "value": "Keep-Alive" }, { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"version\": \"3.23.03\",\n \"total\": 1,\n \"limit\": 25,\n \"skip\": 0,\n \"data\": [\n {\n \"order_no\": \"2314\",\n \"trans_type\": \"30\",\n \"version\": \"1\",\n \"type\": \"0\",\n \"debtor_no\": \"1\",\n \"branch_code\": \"1\",\n \"reference\": \"auto\",\n \"customer_ref\": \"REFFAC-3\",\n \"comments\": \"COMENTARIO NUEVO DE FACTURA CON TIMBRADO\",\n \"ord_date\": \"2023-01-11\",\n \"order_type\": \"1\",\n \"ship_via\": \"1\",\n \"delivery_address\": \"Address\",\n \"contact_phone\": \"123456789\",\n \"contact_email\": \"eduardo2@pilotoautomatico.mx\",\n \"deliver_to\": \"Juan Perez\",\n \"freight_cost\": \"0\",\n \"from_stk_loc\": \"A1\",\n \"delivery_date\": \"2023-02-10\",\n \"payment_terms\": \"3\",\n \"total\": \"116\",\n \"created\": \"2023-01-11 14:53:54\",\n \"trans_no_from\": \"\",\n \"type_carta_porte\": \"0\",\n \"debtor\": {\n \"debtor_no\": \"1\",\n \"name\": \"PRUEBA CALIDAD autofactura\",\n \"debtor_ref\": \"PRUEBA CALIDAD autofactura MXN - XAXX010101000\",\n \"address\": \" #, , 64000, , , \",\n \"tax_id\": \"XAXX010101000\",\n \"curr_code\": \"MXN\",\n \"sales_type\": \"1\",\n \"dimension_id\": \"0\",\n \"dimension2_id\": \"0\",\n \"dimension3_id\": \"0\",\n \"dimension4_id\": \"0\",\n \"dimension5_id\": \"0\",\n \"dimension6_id\": \"0\",\n \"credit_status\": \"1\",\n \"payment_terms\": \"3\",\n \"discount\": \"0\",\n \"pymt_discount\": \"0\",\n \"credit_limit\": \"0\",\n \"notes\": \"\",\n \"inactive\": \"0\",\n \"cfdi_street\": \"\",\n \"cfdi_street_number\": \"\",\n \"cfdi_suite_number\": \"\",\n \"cfdi_district\": \"\",\n \"cfdi_postal_code\": \"64000\",\n \"cfdi_city\": \"\",\n \"cfdi_state\": \"\",\n \"cfdi_country\": \"\",\n \"cfdi_metododepago\": \"PPD\",\n \"cfdi_formadepago\": \"01\",\n \"cust_pymt_method\": \"1\",\n \"cust_cheque\": \"\",\n \"cust_cuenta_cheque\": \"\",\n \"cust_banco_cheque\": \"\",\n \"cust_cuenta_transf\": \"\",\n \"cust_banco_transf\": \"\",\n \"usuario_ultima_actualizacion\": \"0\",\n \"fecha_ultima_actualizacion\": \"2022-06-07 19:03:01\"\n },\n \"branch\": {\n \"branch_code\": \"1\",\n \"debtor_no\": \"1\",\n \"br_name\": \"PUBLICO EN GENERAL \",\n \"branch_ref\": \"PUBLICO EN GENERAL \",\n \"br_address\": \" \",\n \"area\": \"1\",\n \"salesman\": \"1\",\n \"contact_name\": \"\",\n \"default_location\": \"A1\",\n \"tax_group_id\": \"2\",\n \"sales_account\": \"\",\n \"sales_discount_account\": \"402.01.001\",\n \"receivables_account\": \"105.01.001\",\n \"payment_discount_account\": \"402.01.001\",\n \"default_ship_via\": \"1\",\n \"disable_trans\": \"0\",\n \"br_post_address\": \" \",\n \"group_no\": \"1\",\n \"notes\": \"\",\n \"inactive\": \"0\",\n \"dist_km\": \"0\"\n },\n \"user\": {\n \"real_name\": \"Soporte Operam\"\n }\n }\n ]\n}" }, { "name": "Pedidos Pendientes", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{API}}/api/v3/sales/sales_orders?skip=0&limit=25&DateFrom=2023-01-01&DateTo=2023-01-31&OutstandingOnly=true", "host": [ "{{API}}" ], "path": [ "api", "v3", "sales", "sales_orders" ], "query": [ { "key": "skip", "value": "0", "description": "[Optional] Amount of records to skip" }, { "key": "limit", "value": "25", "description": "[Optional] Amount of records to retrieve" }, { "key": "debtor_no", "value": "1", "description": "[Optional] Search by Customer ID", "disabled": true }, { "key": "DateFrom", "value": "2023-01-01", "description": "[Optional] Date from which to query" }, { "key": "DateTo", "value": "2023-01-31", "description": "[Optional] Date to which to query" }, { "key": "OutstandingOnly", "value": "true", "description": "[Optional] Only show outstanding sales orders" }, { "key": "usuario", "value": "1", "description": "[optional] Show only records made by this user ID", "disabled": true }, { "key": "branch_code", "value": "", "description": "[optional] only select specific branch to show quotes for", "disabled": true }, { "key": "trans_no", "value": "", "description": "[optional] select specific transaction number", "disabled": true }, { "key": "customer_ref", "value": "", "description": "[optional] filter specific customer reference", "disabled": true } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Wed, 25 Jan 2023 20:21:10 GMT" }, { "key": "Server", "value": "Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.4.1" }, { "key": "Vary", "value": "Authorization" }, { "key": "X-Powered-By", "value": "PHP/7.4.1" }, { "key": "Expires", "value": "Thu, 19 Nov 1981 08:52:00 GMT" }, { "key": "Cache-Control", "value": "private" }, { "key": "Pragma", "value": "no-cache" }, { "key": "Content-Length", "value": "5963" }, { "key": "Keep-Alive", "value": "timeout=5, max=100" }, { "key": "Connection", "value": "Keep-Alive" }, { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"version\": \"3.23.03\",\n \"total\": 3,\n \"limit\": 25,\n \"skip\": 0,\n \"data\": [\n {\n \"order_no\": \"2357\",\n \"trans_type\": \"30\",\n \"version\": \"2\",\n \"type\": \"0\",\n \"debtor_no\": \"52\",\n \"branch_code\": \"65\",\n \"reference\": \"160\",\n \"customer_ref\": \"\",\n \"comments\": \"PAU1207301E5 PAU1207301E5\",\n \"ord_date\": \"2023-01-18\",\n \"order_type\": \"1\",\n \"ship_via\": \"1\",\n \"delivery_address\": \"1 1 1 64000 1 1 Mexico\",\n \"contact_phone\": \"\",\n \"contact_email\": \"\",\n \"deliver_to\": \""PRUEBA PDV"\",\n \"freight_cost\": \"0\",\n \"from_stk_loc\": \"ELIM\",\n \"delivery_date\": \"2023-02-17\",\n \"payment_terms\": \"3\",\n \"total\": \"2.32\",\n \"created\": \"2023-01-18 14:24:35\",\n \"trans_no_from\": \"\",\n \"type_carta_porte\": \"0\",\n \"debtor\": {\n \"debtor_no\": \"52\",\n \"name\": \""PRUEBA PDV"\",\n \"debtor_ref\": \""PRUEBA PDV" Corto\",\n \"address\": \"1 1 1 64000 1 1 Mexico\",\n \"tax_id\": \"XAXX010101000\",\n \"curr_code\": \"MXN\",\n \"sales_type\": \"1\",\n \"dimension_id\": \"0\",\n \"dimension2_id\": \"0\",\n \"dimension3_id\": \"0\",\n \"dimension4_id\": \"0\",\n \"dimension5_id\": \"0\",\n \"dimension6_id\": \"0\",\n \"credit_status\": \"1\",\n \"payment_terms\": \"3\",\n \"discount\": \"0\",\n \"pymt_discount\": \"0\",\n \"credit_limit\": \"0\",\n \"notes\": \""PRUEBA PDV 1"\",\n \"inactive\": \"0\",\n \"cfdi_street\": \"1\",\n \"cfdi_street_number\": \"1\",\n \"cfdi_suite_number\": \"1\",\n \"cfdi_district\": \"1\",\n \"cfdi_postal_code\": \"64000\",\n \"cfdi_city\": \"1\",\n \"cfdi_state\": \"1\",\n \"cfdi_country\": \"Mexico\",\n \"cfdi_metododepago\": \"PUE\",\n \"cfdi_formadepago\": \"99\",\n \"cust_pymt_method\": \"1\",\n \"cust_cheque\": \"\",\n \"cust_cuenta_cheque\": \"\",\n \"cust_banco_cheque\": \"\",\n \"cust_cuenta_transf\": \"\",\n \"cust_banco_transf\": \"\",\n \"usuario_ultima_actualizacion\": \"2\",\n \"fecha_ultima_actualizacion\": \"2023-01-12 11:53:09\"\n },\n \"branch\": {\n \"branch_code\": \"65\",\n \"debtor_no\": \"52\",\n \"br_name\": \""PRUEBA PDV"\",\n \"branch_ref\": \""PRUEBA PDV"\",\n \"br_address\": \"\",\n \"area\": \"1\",\n \"salesman\": \"1\",\n \"contact_name\": \"\",\n \"default_location\": \"A1\",\n \"tax_group_id\": \"2\",\n \"sales_account\": \"\",\n \"sales_discount_account\": \"402.01.001\",\n \"receivables_account\": \"105.01.001\",\n \"payment_discount_account\": \"402.01.001\",\n \"default_ship_via\": \"1\",\n \"disable_trans\": \"0\",\n \"br_post_address\": \"\",\n \"group_no\": \"0\",\n \"notes\": \""PRUEBA PDV"\",\n \"inactive\": \"0\",\n \"dist_km\": \"0\"\n },\n \"user\": {\n \"real_name\": \"Soporte Operam\"\n }\n },\n {\n \"order_no\": \"2358\",\n \"trans_type\": \"30\",\n \"version\": \"0\",\n \"type\": \"0\",\n \"debtor_no\": \"52\",\n \"branch_code\": \"65\",\n \"reference\": \"161\",\n \"customer_ref\": \"\",\n \"comments\": \"PAU1207301E5 PAU1207301E5\",\n \"ord_date\": \"2023-01-20\",\n \"order_type\": \"1\",\n \"ship_via\": \"1\",\n \"delivery_address\": \"1 1 1 64000 1 1 Mexico\",\n \"contact_phone\": \"\",\n \"contact_email\": \"\",\n \"deliver_to\": \""PRUEBA PDV"\",\n \"freight_cost\": \"0\",\n \"from_stk_loc\": \"A1\",\n \"delivery_date\": \"2023-02-19\",\n \"payment_terms\": \"3\",\n \"total\": \"1.16\",\n \"created\": \"2023-01-20 11:54:23\",\n \"trans_no_from\": \"\",\n \"type_carta_porte\": \"0\",\n \"debtor\": {\n \"debtor_no\": \"52\",\n \"name\": \""PRUEBA PDV"\",\n \"debtor_ref\": \""PRUEBA PDV" Corto\",\n \"address\": \"1 1 1 64000 1 1 Mexico\",\n \"tax_id\": \"XAXX010101000\",\n \"curr_code\": \"MXN\",\n \"sales_type\": \"1\",\n \"dimension_id\": \"0\",\n \"dimension2_id\": \"0\",\n \"dimension3_id\": \"0\",\n \"dimension4_id\": \"0\",\n \"dimension5_id\": \"0\",\n \"dimension6_id\": \"0\",\n \"credit_status\": \"1\",\n \"payment_terms\": \"3\",\n \"discount\": \"0\",\n \"pymt_discount\": \"0\",\n \"credit_limit\": \"0\",\n \"notes\": \""PRUEBA PDV 1"\",\n \"inactive\": \"0\",\n \"cfdi_street\": \"1\",\n \"cfdi_street_number\": \"1\",\n \"cfdi_suite_number\": \"1\",\n \"cfdi_district\": \"1\",\n \"cfdi_postal_code\": \"64000\",\n \"cfdi_city\": \"1\",\n \"cfdi_state\": \"1\",\n \"cfdi_country\": \"Mexico\",\n \"cfdi_metododepago\": \"PUE\",\n \"cfdi_formadepago\": \"99\",\n \"cust_pymt_method\": \"1\",\n \"cust_cheque\": \"\",\n \"cust_cuenta_cheque\": \"\",\n \"cust_banco_cheque\": \"\",\n \"cust_cuenta_transf\": \"\",\n \"cust_banco_transf\": \"\",\n \"usuario_ultima_actualizacion\": \"2\",\n \"fecha_ultima_actualizacion\": \"2023-01-12 11:53:09\"\n },\n \"branch\": {\n \"branch_code\": \"65\",\n \"debtor_no\": \"52\",\n \"br_name\": \""PRUEBA PDV"\",\n \"branch_ref\": \""PRUEBA PDV"\",\n \"br_address\": \"\",\n \"area\": \"1\",\n \"salesman\": \"1\",\n \"contact_name\": \"\",\n \"default_location\": \"A1\",\n \"tax_group_id\": \"2\",\n \"sales_account\": \"\",\n \"sales_discount_account\": \"402.01.001\",\n \"receivables_account\": \"105.01.001\",\n \"payment_discount_account\": \"402.01.001\",\n \"default_ship_via\": \"1\",\n \"disable_trans\": \"0\",\n \"br_post_address\": \"\",\n \"group_no\": \"0\",\n \"notes\": \""PRUEBA PDV"\",\n \"inactive\": \"0\",\n \"dist_km\": \"0\"\n },\n \"user\": {\n \"real_name\": \"Soporte Operam\"\n }\n },\n {\n \"order_no\": \"2359\",\n \"trans_type\": \"30\",\n \"version\": \"0\",\n \"type\": \"0\",\n \"debtor_no\": \"52\",\n \"branch_code\": \"65\",\n \"reference\": \"163\",\n \"customer_ref\": \"\",\n \"comments\": \"PAU1207301E5 PAU1207301E5\",\n \"ord_date\": \"2023-01-23\",\n \"order_type\": \"1\",\n \"ship_via\": \"1\",\n \"delivery_address\": \"1 1 1 64000 1 1 Mexico\",\n \"contact_phone\": \"\",\n \"contact_email\": \"\",\n \"deliver_to\": \""PRUEBA PDV"\",\n \"freight_cost\": \"0\",\n \"from_stk_loc\": \"A1\",\n \"delivery_date\": \"2023-02-22\",\n \"payment_terms\": \"3\",\n \"total\": \"1.16\",\n \"created\": \"2023-01-23 12:32:41\",\n \"trans_no_from\": \"\",\n \"type_carta_porte\": \"0\",\n \"debtor\": {\n \"debtor_no\": \"52\",\n \"name\": \""PRUEBA PDV"\",\n \"debtor_ref\": \""PRUEBA PDV" Corto\",\n \"address\": \"1 1 1 64000 1 1 Mexico\",\n \"tax_id\": \"XAXX010101000\",\n \"curr_code\": \"MXN\",\n \"sales_type\": \"1\",\n \"dimension_id\": \"0\",\n \"dimension2_id\": \"0\",\n \"dimension3_id\": \"0\",\n \"dimension4_id\": \"0\",\n \"dimension5_id\": \"0\",\n \"dimension6_id\": \"0\",\n \"credit_status\": \"1\",\n \"payment_terms\": \"3\",\n \"discount\": \"0\",\n \"pymt_discount\": \"0\",\n \"credit_limit\": \"0\",\n \"notes\": \""PRUEBA PDV 1"\",\n \"inactive\": \"0\",\n \"cfdi_street\": \"1\",\n \"cfdi_street_number\": \"1\",\n \"cfdi_suite_number\": \"1\",\n \"cfdi_district\": \"1\",\n \"cfdi_postal_code\": \"64000\",\n \"cfdi_city\": \"1\",\n \"cfdi_state\": \"1\",\n \"cfdi_country\": \"Mexico\",\n \"cfdi_metododepago\": \"PUE\",\n \"cfdi_formadepago\": \"99\",\n \"cust_pymt_method\": \"1\",\n \"cust_cheque\": \"\",\n \"cust_cuenta_cheque\": \"\",\n \"cust_banco_cheque\": \"\",\n \"cust_cuenta_transf\": \"\",\n \"cust_banco_transf\": \"\",\n \"usuario_ultima_actualizacion\": \"2\",\n \"fecha_ultima_actualizacion\": \"2023-01-12 11:53:09\"\n },\n \"branch\": {\n \"branch_code\": \"65\",\n \"debtor_no\": \"52\",\n \"br_name\": \""PRUEBA PDV"\",\n \"branch_ref\": \""PRUEBA PDV"\",\n \"br_address\": \"\",\n \"area\": \"1\",\n \"salesman\": \"1\",\n \"contact_name\": \"\",\n \"default_location\": \"A1\",\n \"tax_group_id\": \"2\",\n \"sales_account\": \"\",\n \"sales_discount_account\": \"402.01.001\",\n \"receivables_account\": \"105.01.001\",\n \"payment_discount_account\": \"402.01.001\",\n \"default_ship_via\": \"1\",\n \"disable_trans\": \"0\",\n \"br_post_address\": \"\",\n \"group_no\": \"0\",\n \"notes\": \""PRUEBA PDV"\",\n \"inactive\": \"0\",\n \"dist_km\": \"0\"\n },\n \"user\": {\n \"real_name\": \"Soporte Operam\"\n }\n }\n ]\n}" } ] } ] }, { "name": "Entregas/Remisiones", "item": [ { "name": "Entrega/Remision", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"customer_id\": 1,\r\n \"branch_id\": 1,\r\n \"payment\": 3,\r\n \"sucursal_id\": 1,\r\n \"OrderDate\": \"2022-08-27\",\r\n \"deliver_to\": \"Carlo Magno\",\r\n \"delivery_address\": \"Colonia Roma\",\r\n \"phone\": \"123456789\",\r\n \"ref\": \"ER1\",\r\n \"items\": [\r\n {\r\n \"stock_id\": \"SALDOS\",\r\n \"stock_id_text\": \"Articulo Saldos Para ENTREGA/REMISION\",\r\n \"qty\": 1,\r\n \"price\": 50,\r\n \"Disc\": 0,\r\n \"noIdentificacion\": \"AER1\",\r\n \"atributos\": null\r\n }\r\n ],\r\n \"comments\": \"COMENTARIO NUEVO DE ENTREGA/REMISION\",\r\n \"cust_ref\":\"REFER-1\",\r\n \"dimension_id\": null,\r\n \"dimension2_id\": null,\r\n \"dimension3_id\": null,\r\n \"dimension4_id\": null,\r\n \"dimension6_id\": null\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/sales/delivery", "host": [ "{{API}}" ], "path": [ "api", "v3", "sales", "delivery" ] }, "description": "**INFORMACIÓN DEL ENDPOINT**\n\nESTE METODO POST SIRVE PARA CREAR ENTREGAS/REMISIONES.\n\n***BODY:**\n\n**1.-TIPO:** RAW UTILIZANDO EL FORMATO JSON.\n\n**2.-ATRIBUTOS O CAMPOS DEL BODY:**\n\n**2.1.-\"customer_id\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO O STRING. SE VA ENVIAR EL ID O IDENTIFICADOR DEL CLIENTE.\n\n**2.2.-\"branch_id\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO O STRING. SE VA ENVIAR EL ID O IDENTIFICADOR DEL DOMICILIO DEL CLIENTE SELECCIONADO.\n\n**2.3.-\"payment\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO O STRING. SE VA ENVIAR EL ID O IDENTIFICADOR DEL TERMINO DE PAGO.\n\n**2.4.-\"sucursal_id\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO O STRING. SE VA ENVIAR EL ID O IDENTIFICADOR DE LA SUCURSAL.\n\n**2.5.-\"OrderDate\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NULL O STRING. SE VA ENVIAR LA FECHA DE LA ENTREGA/REMISION UTILIZANDO EL FORMATO DE FECHA \"YYYY-MM-DD\".\n\n**2.6.-\"deliver_to\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NULL O STRING. SE VA ENVIAR EL NOMBRE DE LA PERSONA A ENTREGAR.\n\n**2.7.-\"delivery_address\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NULL O STRING. SE VA ENVIAR LA DIRECCION DE LA PERSONA A ENTREGAR.\n\n**2.8.-\"phone\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NULL O STRING. SE VA ENVIAR EL TELEFONO DE LA PERSONA.\n\n**2.9.-\"ref\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR LA REFERENCIA DE LA ENTREGA/REMISION OJO NO SE PUEDE UTILIZAR UNA REFERENCIA QUE HAYA SIDO UTILIZADA ANTERIORMENTE.\n\n**2.10.-\"items\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO ARRAY(ARREGLO) DE OBJETOS. SE VA ENVIAR UN ARRAY(ARREGLO) DE OBJETOS DONDE CADA OBJETO VA CONTENER CIERTOS CAMPOS QUE SE REQUIEREN PARA EL ARTICULO Y A CONTINUACIÓN SE VAN A MENCIONAR ESO CAMPOS:\n\n**2.10.1.-\"stock_id\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR EL IDENTIFICADOR DEL ARTICULO.\n\n**2.10.2.-\"stock_id_text\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO STRING. SE VA ENVIAR LA DESCRIPCION DEL ARTICULO.\n\n**2.10.3.-\"qty\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO. SE VA ENVIAR LA CANTIDAD DE ARTICULOS QUE SE VAN A UTILIZAR.\n\n**2.10.4.-\"price\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO. SE VA ENVIAR EL PRECIO DEL ARTICULO.\n\n**2.10.5.-\"Disc\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO. SE VA ENVIAR EL DESCUENTO QUE LE VA APLICAR AL ARTICULO Y SE TIENE QUE ENVIAR EL VALOR DE 0 HASTA 100.\n\n**2.10.6.-\"noIdentificacion\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR EL NUMERO DE IDENTIFICACION DEL ARTICULO.\n\n**2.10.7.-\"atributos\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR ATRIBUTOS EXTRA QUE QUIERE APLICAR AL ARTICULO.\n\n**2.11.-\"comments\"=** CAMPO OPCIONAL Y ES DE TIPO STRING O NULL. SE VA ENVIAR UN COMENTARIO PARA LA ENTREGA/REMISION.\n\n**2.12.-\"cust_ref\"=** CAMPO OPCIONAL Y DE TIPO STRING O NULL. SE VA ENVIAR LA REFERENCIA DEL CLIENTE OJO NO SE PUEDE UTILIZAR UNA REFERENCIA QUE HAYA SIDO UTILIZADA ANTERIORMENTE.\n\n**2.13.-\"dimension_id\"=** CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL. SE VA ENVIAR ES EL ID DE LA DIMENSION A NIVEL 1.\n\n**2.14.-\"dimension2_id\"=** CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL. SE VA ENVIAR ES EL ID DE LA DIMENSION A NIVEL 2.\n\n**2.15.-\"dimension3_id\"=** CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL. SE VA ENVIAR ES EL ID DE LA DIMENSION A NIVEL 3.\n\n**2.16.-\"dimension4_id\"=** CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL. SE VA ENVIAR ES EL ID DE LA DIMENSION A NIVEL 4.\n\n**2.17.-\"dimension5_id\"=** CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL. SE VA ENVIAR ES EL ID DE LA DIMENSION A NIVEL 5.\n\n**2.18.-\"dimension6_id\"=** CAMPO OPCIONAL Y ES DE TIPO NUMERICO O NULL. SE VA ENVIAR ES EL ID DE LA DIMENSION A NIVEL 6." }, "response": [ { "name": "Entrega/Remision Completo", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"customer_id\": 1,\r\n \"branch_id\": 1,\r\n \"payment\": 3,\r\n \"sucursal_id\": 1,\r\n \"OrderDate\": \"2022-08-27\",\r\n \"deliver_to\": \"Carlo Magno\",\r\n \"delivery_address\": \"Colonia Roma\",\r\n \"phone\": \"123456789\",\r\n \"ref\": \"ER1\",\r\n \"items\": [\r\n {\r\n \"stock_id\": \"SALDOS\",\r\n \"stock_id_text\": \"Articulo Saldos Para ENTREGA/REMISION\",\r\n \"qty\": 1,\r\n \"price\": 50,\r\n \"Disc\": 0,\r\n \"noIdentificacion\": \"AER1\",\r\n \"atributos\": null\r\n }\r\n ],\r\n \"comments\": \"COMENTARIO NUEVO DE ENTREGA/REMISION\",\r\n \"cust_ref\":\"REFER-1\",\r\n \"dimension_id\": null,\r\n \"dimension2_id\": null,\r\n \"dimension3_id\": null,\r\n \"dimension4_id\": null,\r\n \"dimension6_id\": null\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/sales/delivery", "host": [ "{{API}}" ], "path": [ "api", "v3", "sales", "delivery" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Fri, 26 Aug 2022 02:34:59 GMT" }, { "key": "Server", "value": "Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.4.1" }, { "key": "Vary", "value": "Authorization" }, { "key": "X-Powered-By", "value": "PHP/7.4.1" }, { "key": "Expires", "value": "Thu, 19 Nov 1981 08:52:00 GMT" }, { "key": "Cache-Control", "value": "private" }, { "key": "Pragma", "value": "no-cache" }, { "key": "Content-Length", "value": "173" }, { "key": "Keep-Alive", "value": "timeout=5, max=100" }, { "key": "Connection", "value": "Keep-Alive" }, { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"version\": \"3.22.34\",\n \"result\": true,\n \"factura_no\": 537,\n \"added_trans_type\": 13,\n \"added_trans_no\": 537,\n \"ref\": \"ER1\",\n \"messages\": [\n \"Entrega/Remisión insertada exitósamente\"\n ]\n}" } ] } ] }, { "name": "Precios de Venta", "item": [ { "name": "Lista de Precios", "request": { "method": "GET", "header": [], "url": { "raw": "{{API}}/api/v3/sales/sales_types?skip=0&limit=50", "host": [ "{{API}}" ], "path": [ "api", "v3", "sales", "sales_types" ], "query": [ { "key": "skip", "value": "0", "description": "Numero de fila a saltar" }, { "key": "limit", "value": "50", "description": "Limite de registros a cargar" }, { "key": "show_inactive", "value": "true", "description": "Mostrar items inactivos", "disabled": true } ] }, "description": "**INFORMACIÓN DEL ENDPOINT**\n\nESTE METODO GET SIRVE PARA CONSEGUIR UN LISTADO DETALLADO DE LAS LISTAS DE PRECIOS ALMACENADOS EN SISTEMA.\n\n**\\*PARAMS:**\n\n**1.-ATRIBUTOS O CAMPOS DEL PARAMS:**\n\n**1.1.-\"limit\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO. SE VA ENVIAR EL NUMERO LIMITE DE REGISTROS A CARGAR.\n\n**1.2.-\"skip\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO. SE VA ENVIAR EL NUMERO DE FILAS A SALTAR.\n\n**1.3.-\"show_inactive\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING. SE VA ENVIAR \"true\" o \"1\" PARA MOSTRAR LOS ARTICULOS INACTIVOS." }, "response": [ { "name": "Lista de Precios", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{API}}/api/v3/sales/sales_types?skip=0&limit=50", "host": [ "{{API}}" ], "path": [ "api", "v3", "sales", "sales_types" ], "query": [ { "key": "skip", "value": "0", "description": "Numero de fila a saltar" }, { "key": "limit", "value": "50", "description": "Limite de registros a cargar" }, { "key": "show_inactive", "value": "true", "description": "Mostrar items inactivos", "disabled": true } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Wed, 21 Dec 2022 22:28:19 GMT" }, { "key": "Server", "value": "Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.4.3" }, { "key": "Vary", "value": "Authorization" }, { "key": "X-Powered-By", "value": "PHP/7.4.3" }, { "key": "Expires", "value": "Thu, 19 Nov 1981 08:52:00 GMT" }, { "key": "Cache-Control", "value": "private" }, { "key": "Pragma", "value": "no-cache" }, { "key": "Content-Length", "value": "517" }, { "key": "Keep-Alive", "value": "timeout=5, max=100" }, { "key": "Connection", "value": "Keep-Alive" }, { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"version\": \"3.22.51\",\n \"total\": 3,\n \"limit\": 50,\n \"skip\": 0,\n \"data\": [\n {\n \"id\": \"1\",\n \"sales_type\": \"BASE\",\n \"tax_included\": \"0\",\n \"factor\": \"1\",\n \"inactive\": \"0\",\n \"subfactores\": []\n },\n {\n \"id\": \"2\",\n \"sales_type\": \"VIP\",\n \"tax_included\": \"0\",\n \"factor\": \"0.8\",\n \"inactive\": \"0\",\n \"subfactores\": [\n {\n \"sales_type_id\": \"2\",\n \"category_id\": \"1\",\n \"factor\": \"0.92\"\n },\n {\n \"sales_type_id\": \"2\",\n \"category_id\": \"10\",\n \"factor\": \"1.7\"\n },\n {\n \"sales_type_id\": \"2\",\n \"category_id\": \"4\",\n \"factor\": \"0.85\"\n }\n ]\n },\n {\n \"id\": \"3\",\n \"sales_type\": \"BUEN FIN\",\n \"tax_included\": \"0\",\n \"factor\": \"1\",\n \"inactive\": \"0\",\n \"subfactores\": []\n }\n ]\n}" } ] }, { "name": "Precios de Articulo Por Lista de Precios", "request": { "method": "GET", "header": [], "url": { "raw": "{{API}}/api/v3/sales/prices_list?skip=0&limit=50", "host": [ "{{API}}" ], "path": [ "api", "v3", "sales", "prices_list" ], "query": [ { "key": "skip", "value": "0", "description": "Numero de fila a saltar" }, { "key": "limit", "value": "50", "description": "Limite de registros a cargar" }, { "key": "stock_id", "value": "mouse", "description": "Busqueda por stock_id", "disabled": true }, { "key": "sales_type_id", "value": "1", "description": "Busqueda por Lista de Precios", "disabled": true } ] }, "description": "**INFORMACIÓN DEL ENDPOINT**\n\nESTE METODO GET SIRVE PARA CONSEGUIR UN LISTADO DETALLADO DE LOS PRECIOS DE ARTICULO POR LISTA DE PRECIOS ALMACENADOS EN SISTEMA.\n\n**\\*PARAMS:**\n\n**1.-ATRIBUTOS O CAMPOS DEL PARAMS:**\n\n**1.1.-\"limit\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO. SE VA ENVIAR EL NUMERO LIMITE DE REGISTROS A CARGAR.\n\n**1.2.-\"skip\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO. SE VA ENVIAR EL NUMERO DE FILAS A SALTAR.\n\n**1.3.-\"stock_id\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING. SE VA ENVIAR EL STOCK_ID DEL ARTICULO A BUSCAR.\n\n**1.4.-\"sales_type_id\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO. SE VA ENVIAR EL EL IDENTIFICADOR DE LA LISTA DE PRECIOS." }, "response": [ { "name": "Precios de Articulo Por Lista de Precios", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{API}}/api/v3/sales/price_list?skip=0&limit=50&stock_id=mouse", "host": [ "{{API}}" ], "path": [ "api", "v3", "sales", "price_list" ], "query": [ { "key": "skip", "value": "0", "description": "Numero de fila a saltar" }, { "key": "limit", "value": "50", "description": "Limite de registros a cargar" }, { "key": "stock_id", "value": "mouse", "description": "Busqueda por stock_id" }, { "key": "sales_type_id", "value": "1", "description": "Busqueda por Lista de Precios", "disabled": true } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Thu, 22 Dec 2022 00:42:50 GMT" }, { "key": "Server", "value": "Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.4.3" }, { "key": "Vary", "value": "Authorization" }, { "key": "X-Powered-By", "value": "PHP/7.4.3" }, { "key": "Expires", "value": "Thu, 19 Nov 1981 08:52:00 GMT" }, { "key": "Cache-Control", "value": "private" }, { "key": "Pragma", "value": "no-cache" }, { "key": "Content-Length", "value": "177" }, { "key": "Keep-Alive", "value": "timeout=5, max=100" }, { "key": "Connection", "value": "Keep-Alive" }, { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"version\": \"3.22.51\",\n \"total\": 1,\n \"limit\": 50,\n \"skip\": 0,\n \"data\": [\n {\n \"id\": \"1\",\n \"stock_id\": \"mouse\",\n \"sales_type_id\": \"1\",\n \"curr_abrev\": \"MXN\",\n \"price\": \"10\",\n \"discount\": \"0\",\n \"sales_type\": \"BASE\"\n }\n ]\n}" } ] } ] }, { "name": "Notas de Credito", "item": [ { "name": "Acreditar Nota", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": " {\n \"invoice_trans_no\": \"2270\", // trans_no de la factura por acreeditar\n \"shipper_id\": \"1\", // Catalogo compañía de transporte /api/v3/configs/shippers\n \"sucursal_id\": \"2\", // sucursal\n \"credit_type\": \"Return\", // Return = Devolver artículos al almacén | WriteOff = Anular artículos\n \"account_gl_code\": \"61\", // Cuenta contable de la NC\n \"location\": \"\", // CONDICIONAL Es obligatorio cuando credit_type=Return /api/v3/locations\n \"credit_text\": \"comentario\", // OPCIONAL comentario\n \"write_off_gl_code\": \"\", // Cuenta contable si es de tipo WriteOff para el valor anulado de los artículos\n \"sello_digital\": \"4\", // CONDICIONAL Sello de timbrado requerido si es timbrado\n \"serie_digital\": \"NC\", // CONDICIONAL Serie de timbrado requerido si es timbrado\n \"cfdi_regimen_fiscal\": \"616\", // OPCIONAL Si no se manda toma el del cliente\n \"cfdi_method_payment\": \"PUE\", // CONDICIONAL Metodo de pago requerido si es timbrado\n \"cfdi_form_payment\": \"01\", // CONDICIONAL Forma de pago requerido si es timbrado\n \"cfdi_exportacion\": \"01\", // CONDICIONAL Exportació requerido si es timbrado\n \"sat_uso_cfdi\": \"S01\", // CONDICIONAL Uso de CFDI requerido si es timbrado\n \"timbrado_sat\": \"1\", // OPCIONAL, default es 0=no timbrado y1=timbrado\n \"uuid_sat_manual\": \"393ea859-92cb-43e6-8f7f-e499c89fad15\", // CONDICIONAL Obligatorio solo no es timbrada\n \"items\": [\n {\n \"stock_id\": \"001\", // Stock ID del artículo a devolver o anular incluido en la factura\n \"stock_id_text\": \"Descripcion del Articulo de Ejemplo\", // Descripción\n \"accredited_qty\": \"3\" // Cantidad por acreditar, no puede exceder el monto de la factura t/o ya acreditado\n }\n ]\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API_LOCAL}}api/v3/sales/customers/customer_credit_invoice", "host": [ "{{API_LOCAL}}api" ], "path": [ "v3", "sales", "customers", "customer_credit_invoice" ] } }, "response": [] } ] }, { "name": "Carta de Porte (Complemento)", "item": [ { "name": "Carta de Porte 2.0 (DETALLE)", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n\t\"customer_id\": 1,\n\t\"branch_id\": 1,\n\t\"payment\": 1,\n \"sello_digital\":\"11\",\n \"serie_digital\":\"A\",\n \"cfdi_method_payment\":\"PPD\",\n \"cfdi_form_payment\":\"03\",\n \"sat_uso_cfdi\":\"G03\",\n\t\"items\": [\n\t\t\t\t{\n\t\t\t\t\t\"stock_id\": \"SER1\",\n\t\t\t\t\t\"stock_id_text\": \"Descripcion del Articulo de Ejemplo\",\n\t\t\t\t\t\"qty\": 1,\n\t\t\t\t\t\"price\": 0,\n\t\t\t\t\t\"Disc\": 0,\n\t\t\t\t\t\"noIdentificacion\": null,\n\t\t\t\t\t\"atributos\": null\n\t\t\t\t}\n\t\t\t],\n\t\"payments\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"date\": null,\n\t\t\t\t\t\t\"bank_account\": 4,\n\t\t\t\t\t\t\"amount\": 15000.00,\n\t\t\t\t\t\t\"method\": 3,\n\t\t\t\t\t\t\"discount\": 0,\n\t\t\t\t\t\t\"memo\": \"Transferido temprano el mismo dia\",\n\t\t\t\t\t\t\"bank_amount\": null,\n\t\t\t\t\t\t\"cheque\": null,\n\t\t\t\t\t\t\"benef_cheque\": null,\n\t\t\t\t\t\t\"banco_sat_emis_cheque\": null,\n\t\t\t\t\t\t\"cuenta_origen\": null,\n\t\t\t\t\t\t\"banco_sat_origen_transf\": null\n\t\t\t\t\t}\n\t\t\t\t],\n \"CartaPorte\": {\n \"tipo_comprobante\": \"[T|I]\", // REQUERIDO\n \"TranspInternac\": \"[Si|No]\", // REQUERIDO\n \"EntradaSalidaMerc\": \"[Entrada|Salida]\", // OPCIONAL\n \"ViaEntradaSalida\": \"[catCartaPorte:c_CveTransporte]\", // OPCIONAL\n \"TotalDistRec\": \"[MIN:0.01 | MAX: 99999]\", // OPCIONAL\n \"Ubicaciones\": [ // (1,1)\n {\n \"TipoEstacion\": \"[catCartaPorte:c_TipoEstacion]\", // OPCIONAL\n \"DistanciaRecorrida\": \"[MIN:0.01 | MAX: 99999]\", // OPCIONAL\n \"Origen\": { // (0,1)\n \"IDOrigen\": \"OR[0-9]{6}\", // OPCIONAL\n \"RFCRemitente\": \"tdCFDI:t_RFC\", // OPCIONAL\n \"NombreRemitente\": \"[^|]{1,254}\", // OPCIONAL\n \"NumRegIdTrib\": \"[^|]{6,40}\", // OPCIONAL\n \"ResidenciaFiscal\": \"[catCFDI:c_Pais] ISO 3166-1\", // OPCIONAL\n \"NumEstacion\": \"[catCartaPorte:c_Estaciones]\", // OPCIONAL\n \"NombreEstacion\": \"[^|]{1,50}\", // OPCIONAL\n \"NavegacionTrafico\": \"[Altura|Cabotaje]\", // OPCIONAL\n \"FechaHoraSalida\": \"[tdCFDI:t_FechaH] AAAA-MM-DDThh:mm:ss\", // REQUERIDO\n \"Domicilio\": { // (0,1)\n \"Calle\": \"tdCFDI:t_Descrip100\", // REQUERIDO\n \"NumeroExterior\": \"tdCFDI:t_NumeroDomicilio\", // OPCIONAL\n \"NumeroInterior\": \"tdCFDI:t_NumeroDomicilio\", // OPCIONAL\n \"Colonia\": \"tdCFDI:t_Descrip120\", // OPCIONAL\n \"Localidad\": \"tdCFDI:t_Descrip120\", // OPCIONAL\n \"Referencia\": \"tdCFDI:t_Referencia\", // OPCIONAL - COORDENADAS GPS\n \"Municipio\": \"tdCFDI:t_Descrip120\", // OPCIONAL\n \"Estado\": \"[^|]{1,30} ISO 3166-2\", // REQUERIDO\n \"Pais\": \"[catCFDI:c_Pais] ISO 3166-1\", // REQUERIDO\n \"CodigoPostal\": \"[MIN:1 | MAX:12 digitos]\" // REQUERIDO\n }\n },\n \"Destino\": { // (0,1)\n \"IDDestino\": \"DE[0-9]{6}\", // OPCIONAL\n \"RFCDestinatario\": \"tdCFDI:t_RFC\", // OPCIONAL\n \"NombreDestinatario\": \"[^|]{1,254}\", // OPCIONAL\n \"NumRegIdTrib\": \"[^|]{6,40}\", // OPCIONAL\n \"ResidenciaFiscal\": \"[catCFDI:c_Pais] ISO 3166-1\", // OPCIONAL\n \"NumEstacion\": \"[catCartaPorte:c_Estaciones]\", // OPCIONAL\n \"NombreEstacion\": \"[^|]{1,50}\", // OPCIONAL\n \"NavegacionTrafico\": \"[Altura|Cabotaje]\", // OPCIONAL\n \"FechaHoraProgLlegada\": \"[tdCFDI:t_FechaH] AAAA-MM- DDThh:mm:ss\", // REQUERIDO\n \"Domicilio\": { // (0,1)\n \"Calle\": \"tdCFDI:t_Descrip100\", // REQUERIDO\n \"NumeroExterior\": \"tdCFDI:t_NumeroDomicilio\", // OPCIONAL\n \"NumeroInterior\": \"tdCFDI:t_NumeroDomicilio\", // OPCIONAL\n \"Colonia\": \"tdCFDI:t_Descrip120\", // OPCIONAL\n \"Localidad\": \"tdCFDI:t_Descrip120\", // OPCIONAL\n \"Referencia\": \"tdCFDI:t_Referencia\", // OPCIONAL - COORDENADAS GPS\n \"Municipio\": \"tdCFDI:t_Descrip120\", // OPCIONAL\n \"Estado\": \"[^|]{1,30} ISO 3166-2\", // REQUERIDO\n \"Pais\": \"[catCFDI:c_Pais] ISO 3166-1\", // REQUERIDO\n \"CodigoPostal\": \"[MIN:1 | MAX:12 digitos]\" // REQUERIDO\n }\n }\n }\n ],\n \"Mercancias\": { // (1,1)\n \"PesoBrutoTotal\": \"MIN: 0.001\", // OPCIONAL\n \"UnidadPeso\": \"[catCartaPorte:c_ClaveUnidadPeso]\", // OPCIONAL\n \"PesoNetoTotal\": \"MIN: 0.001\", // OPCIONAL\n \"NumTotalMercancias\": \"MIN: 1\", // REQUERIDO - SI NO SE ENVIA SE CALCULA EN AUTOMATICO\n \"CargoPorTasacion\": \"tdCFDI:t_Importe\", // OPCIONAL\n \"Mercancias\": [ // (1,ILIMITADO)\n {\n \"BienesTransp\": \"[catCartaPorte:c_ClaveProdServCP]\", // OPCIONAL\n \"ClaveSTCC\": \"[catCartaPorte:c_ClaveProdSTCC]\", // OPCIONAL\n \"Descripcion\": \"[^|]{1,1000}\", // OPCIONAL\n \"Cantidad\": \"MIN: 0.000001\", // OPCIONAL\n \"ClaveUnidad\": \"[catCFDI:c_ClaveUnidad]\", // OPCIONAL\n \"Unidad\": \"[^|]{1,20}\", // OPCIONAL\n \"Dimensiones\": \"[0-9]{2}[/]{1}[0-9]{2}[/]{1}[0-9]{2}cm|[0-9]{2}[/]{1}[0-9]{2}[/]{1}[0-9]{2}plg\", // OPCIONAL\n \"MaterialPeligroso\": \"[Si|No]\", // OPCIONAL\n \"CveMaterialPeligroso\": \"[catCartaPorte:c_MaterialPeligroso]\", // OPCIONAL\n \"Embalaje\": \"[catCartaPorte:c_TipoEmbalaje]\", // OPCIONAL\n \"DescripEmbalaje\": \"[^|]{1,100}\", // OPCIONAL\n \"PesoEnKg\": \"MIN: 0.001\", // REQUERIDO\n \"ValorMercancia\": \"tdCFDI:t_Importe\", // OPCIONAL\n \"Moneda\": \"[catCFDI:c_Moneda] ISO 4217\", // OPCIONAL\n \"FraccionArancelaria\": \"[catComExt:c_FraccionArancelaria]\", // OPCIONAL\n \"UUIDComercioExt\": \"[a-f0-9A-F]{8}-[a-f0-9A-F]{4}-[a-f0-9A-F]{4}-[a-f0-9A-F]{4}-[a-f0-9A-F]{12}\", // OPCIONAL\n \"CantidadTransporta\": [ // (0,ILIMITADO)\n {\n \"Cantidad\": \"MIN: 0.000001\", // REQUERIDO\n \"IDOrigen\": \"OR[0-9]{6}\", // REQUERIDO\n \"IDDestino\": \"DE[0-9]{6}\", // REQUERIDO\n \"CvesTransporte\": \"[catCartaPorte:c_CveTransporte]\" // OPCIONAL Y EXCEPTO 05=DUCTO\n }\n ],\n \"DetalleMercancia\": { // (0,1)\n \"UnidadPeso\": \"[catCartaPorte:c_ClaveUnidadPeso]\", // REQUERIDO\n \"PesoBruto\": \"[MIN:0.001]\", // REQUERIDO\n \"PesoNeto\": \"[MIN:0.001]\", // REQUERIDO\n \"PesoTara\": \"[MIN:0.001]\", // REQUERIDO\n \"NumPiezas\": \"[MIN:1]\" // OPCIONAL\n }\n }\n ],\n \"AutotransporteFederal\": { // (0,1)\n \"PermSCT\": \"[catCartaPorte:c_TipoPermiso]\", // REQUERIDO\n \"NumPermisoSCT\": \"[^|]{1,50}\", // REQUERIDO\n \"NombreAseg\": \"[^|]{3,50}\", // REQUERIDO\n \"NumPolizaSeguro\": \"[^|]{3,30}\", // REQUERIDO\n \"IdentificacionVehicular\": { // (1,1)\n \"ConfigVehicular\": \"[catCartaPorte:c_ConfigAutotransporte]\", // REQUERIDO\n \"PlacaVM\": \"[^]{6,7}\", // REQUERIDO\n \"AnioModeloVM\": \"(19[0-9]{2}|20[0-9]{2})\" // REQUERIDO\n },\n \"Remolques\": [ // (0,1) - OPCIONAL\n { // (0,2)\n \"SubTipoRem\": \"[catCartaPorte:c_SubTipoRem]\", // REQUERIDO\n \"Placa\": \"[^]{6,7}\" // REQUERIDO\n }\n ]\n }\n },\n \"FiguraTransporte\": { // (0,1)\n \"CveTransporte\": \"[catCartaPorte:c_CveTransporte]\", // REQUERIDO\n \"Operadores\": [ // (0,ILIMITADO)\n {\n \"RFCOperador\": \"tdCFDI:t_RFC_PF\", // OPCIONAL\n \"NumLicencia\": \"[^|]{6,16}\", // OPCIONAL\n \"NombreOperador\": \"[^|]{1,254}\", // OPCIONAL\n \"NumRegIdTribOperador\": \"[^|]{6,40}\", // OPCIONAL\n \"ResidenciaFiscalOperador\": \"[catCFDI:c_Pais] ISO 3166-1\", // OPCIONAL\n \"Domicilio\": { // (0,1)\n \"Calle\": \"tdCFDI:t_Descrip100\", // REQUERIDO\n \"NumeroExterior\": \"tdCFDI:t_NumeroDomicilio\", // OPCIONAL\n \"NumeroInterior\": \"tdCFDI:t_NumeroDomicilio\", // OPCIONAL\n \"Colonia\": \"tdCFDI:t_Descrip120\", // OPCIONAL\n \"Localidad\": \"tdCFDI:t_Descrip120\", // OPCIONAL\n \"Referencia\": \"tdCFDI:t_Referencia\", // OPCIONAL - COORDENADAS GPS\n \"Municipio\": \"tdCFDI:t_Descrip120\", // OPCIONAL\n \"Estado\": \"[^|]{1,30} ISO 3166-2\", // REQUERIDO\n \"Pais\": \"[catCFDI:c_Pais] ISO 3166-1\", // REQUERIDO\n \"CodigoPostal\": \"[MIN:1 | MAX:12 digitos]\" // REQUERIDO\n }\n }\n ]\n }\n },\n \"addenda\": \"\"\n\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/sales/carta_porte", "host": [ "{{API}}" ], "path": [ "api", "v3", "sales", "carta_porte" ] } }, "response": [ { "name": "Carta de Porte Cfdi Relacionado", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n\t\"customer_id\": \"1\",\n \"branch_id\": \"1\",\n \"sucursal_id\": \"1\",\n \"user\": \"2\",\n \"payment\": 3,\n \"sello_digital\":\"1\",\n \"serie_digital\":\"LOCALTESTRODRIGO\",\n \"cfdi_regimen_fiscal\":\"616\",\n \"cfdi_method_payment\":\"PUE\",\n \"cfdi_form_payment\":\"01\",\n \"sat_uso_cfdi\":\"S01\",\n \"cfdi_exportacion\":\"01\",\n \"items\": [\n {\n \"stock_id\": \"articulo_nuevo\",\n \"stock_id_text\": \"este es un articulo nuevo\",\n \"qty\": 1,\n \"price\": 9.4,\n \"Disc\": 0,\n \"OnLocation\": 6905\n }\n ],\n \"payments\": [\n {\n \"bank_account\": \"2\",\n \"amount\": 9.40,\n \"method\": \"1\",\n \"name\": \"Efectivo\"\n }\n ],\n \"CartaPorte\": {\n \"FiguraTransporte\": [\n {\n \"Domicilio\": {\n \"Calle\": \"PRUEBA1\",\n \"CodigoPostal\": 85000,\n \"Estado\": \"SON\",\n \"NumeroExterior\": \"1111\",\n \"Pais\": \"MEX\"\n },\n \"NombreFigura\": \"TRNASPORTISTA RUBEN\",\n \"NumLicencia\": \"SON12221111\",\n \"RFCFigura\": \"FUNK671228PH6\",\n \"TipoFigura\": \"01\"\n }\n ],\n \"Mercancias\": {\n \"Autotransporte\": {\n \"IdentificacionVehicular\": {\n \"AnioModeloVM\": \"2013\",\n \"ConfigVehicular\": \"T3S2R2\",\n \"PlacaVM\": \"123456\"\n },\n \"NumPermisoSCT\": \"1234567\",\n \"PermSCT\": \"TPAF08\",\n \"Remolques\": [\n {\n \"Placa\": \"123451\",\n \"SubTipoRem\": \"CTR021\"\n },\n {\n \"Placa\": \"123458\",\n \"SubTipoRem\": \"CTR021\"\n }\n ],\n \"Seguros\": {\n \"AseguraRespCivil\": \"EL SEGURO\",\n \"PolizaRespCivil\": \"1234567891\",\n \"PrimaSeguro\": \"5000\"\n }\n },\n \"Mercancia\": [\n {\n \"BienesTransp\": \"30111601\",\n \"Cantidad\": \"56\",\n \"CantidadTransporta\": [\n {\n \"Cantidad\": \"56\",\n \"IDDestino\": \"DE000002\",\n \"IDOrigen\": \"OR000001\"\n }\n ],\n \"ValorMercancia\": \"2222\",\n \"ClaveUnidad\": \"TNE\",\n \"Descripcion\": \"PRUEBA DESCRIPCION\",\n \"Moneda\": \"MXN\",\n \"PesoEnKg\": 56000,\n \"Unidad\": \"BT\"\n }\n ],\n \"NumTotalMercancias\": 1,\n \"NumberOfNodesTransports\": 1,\n \"PesoBrutoTotal\": 56000,\n \"PesoNetoTotal\": 56000,\n \"UnidadPeso\": \"KGM\"\n },\n \"TipoComprobante\":\"I\",\n \"TotalDistRec\": \"278\",\n \"TranspInternac\": \"No\",\n \"Ubicaciones\": [\n {\n \"DistanciaRecorrida\": \"278\",\n \"Domicilio\": {\n \"Calle\": \"DIRECCION DESTINO.\",\n \"CodigoPostal\": \"83000\",\n \"Estado\": \"SON\",\n \"NumeroExterior\": \"123\",\n \"Pais\": \"MEX\",\n \"Referencia\": \"sin referencias\"\n },\n \"FechaHoraSalidaLlegada\": \"2022-03-05T13:23:00\",\n \"IDUbicacion\": \"DE000002\",\n \"NombreRemitenteDestinatario\": \"UNIVERSIDAD ROBOTICA ESPAÑOLA SA DE CV\",\n \"RFCRemitenteDestinatario\": \"URE180429TM6\",\n \"TipoUbicacion\": \"Destino\"\n },\n {\n \"Domicilio\": {\n \"Calle\": \"DIRECCION ORIGEN\",\n \"CodigoPostal\": \"85000\",\n \"Estado\": \"SON\",\n \"NumeroExterior\": \"1234\",\n \"Pais\": \"MEX\",\n \"Referencia\": \"Sin referencia\"\n },\n \"FechaHoraSalidaLlegada\": \"2022-03-04T13:23:00\",\n \"IDUbicacion\": \"OR000001\",\n \"NombreRemitenteDestinatario\": \"INGRID XODAR JIMENEZ\",\n \"RFCRemitenteDestinatario\": \"XOJI740919U48\",\n \"TipoUbicacion\": \"Origen\"\n }\n ]\n },\n \"tax\": 1.5,\n \"subtotal\": 9.4,\n \"total\": 10.9,\n \"pending_delivery\": true,\n \"ref\": \"APICFDIV4CARTAPORTE_2\",\n \"location\": \"DEF\",\n \"location_name\": \"Almacen Nuevo\",\n \"CfdiRelacionados\": {\n \"TipoRelacion\": \"04\",\n \"UUIDs\": [\"b4327f4e-4757-4972-b35b-74a3fe7cce4a\", \"b4327f4e-4757-4972-b35b-74a3fe7cce4a\", \"5be6cf04-ffc2-4746-b4cc-ac07a9db41a9\",\"5be6cf04-ffc2-4746-b4cc-ac07a9db41a9\"]\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/sales/carta_porte", "host": [ "{{API}}" ], "path": [ "api", "v3", "sales", "carta_porte" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Tue, 28 Jun 2022 01:20:20 GMT", "description": "", "type": "text" }, { "key": "Server", "value": "Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.4.1", "description": "", "type": "text" }, { "key": "Vary", "value": "Authorization", "description": "", "type": "text" }, { "key": "X-Powered-By", "value": "PHP/7.4.1", "description": "", "type": "text" }, { "key": "Expires", "value": "Thu, 19 Nov 1981 08:52:00 GMT", "description": "", "type": "text" }, { "key": "Cache-Control", "value": "private", "description": "", "type": "text" }, { "key": "Pragma", "value": "no-cache", "description": "", "type": "text" }, { "key": "Content-Length", "value": "723", "description": "", "type": "text" }, { "key": "Keep-Alive", "value": "timeout=5, max=100", "description": "", "type": "text" }, { "key": "Connection", "value": "Keep-Alive", "description": "", "type": "text" }, { "key": "Content-Type", "value": "application/json", "description": "", "type": "text" } ], "cookie": [], "body": "{\n \"messages\": [\n \"Invoice insertado exitósamente\",\n \"Pago #534 Referencia: 453 insertado\",\n \"insert_metodo_de_pago_cfdi = #586 insertado\",\n \"Asignando 9.4 a la factura #638\"\n ],\n \"result\": true,\n \"version\": \"3.22.25\",\n \"factura_no\": 638,\n \"url_pdf\": \"http://127.0.0.1/admin/cfdi/api/v2/get_pdf?trans_no=638&trans_type=10\",\n \"url_xml\": \"http://127.0.0.1/admin/cfdi/api/v2/get_xml?trans_no=638&trans_type=10\",\n \"process_timbrado\": {\n \"success\": true,\n \"msg\": \"Timbrado OK.\",\n \"trans_no\": 638,\n \"trans_type\": 10,\n \"uuid\": \"3d008017-94dd-42c2-94a0-eb4380de27e7\",\n \"serie\": \"LOCALTESTRODRIGO\",\n \"folio\": \"223\",\n \"fecha_timbrado\": \"2022-06-27T20:20:25\"\n },\n \"added_trans_type\": 10,\n \"added_trans_no\": 638,\n \"payment_no\": [\n 534\n ],\n \"insert_metodo_de_pago_cfdi\": 586,\n \"success\": true\n}" } ] }, { "name": "CP2.0 Trans. Internacional NO", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n\t\"customer_id\": 1,\n\t\"branch_id\": 1,\n\t\"payment\": 1,\n \"sello_digital\":\"11\",\n \"serie_digital\":\"A\",\n \"cfdi_method_payment\":\"PPD\",\n \"cfdi_form_payment\":\"03\",\n \"sat_uso_cfdi\":\"G03\",\n\t\"items\": [\n\t\t\t\t{\n\t\t\t\t\t\"stock_id\": \"SER1\",\n\t\t\t\t\t\"stock_id_text\": \"Descripcion del Articulo de Ejemplo\",\n\t\t\t\t\t\"qty\": 1,\n\t\t\t\t\t\"price\": 300,\n\t\t\t\t\t\"Disc\": 0,\n\t\t\t\t\t\"noIdentificacion\": null,\n\t\t\t\t\t\"atributos\": null\n\t\t\t\t}\n\t\t\t],\n\t\"payments\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"date\": null,\n\t\t\t\t\t\t\"bank_account\": 4,\n\t\t\t\t\t\t\"amount\": 15000.00,\n\t\t\t\t\t\t\"method\": 3,\n\t\t\t\t\t\t\"discount\": 0,\n\t\t\t\t\t\t\"memo\": \"Transferido temprano el mismo dia\",\n\t\t\t\t\t\t\"bank_amount\": null,\n\t\t\t\t\t\t\"cheque\": null,\n\t\t\t\t\t\t\"benef_cheque\": null,\n\t\t\t\t\t\t\"banco_sat_emis_cheque\": null,\n\t\t\t\t\t\t\"cuenta_origen\": null,\n\t\t\t\t\t\t\"banco_sat_origen_transf\": null\n\t\t\t\t\t}\n\t\t\t\t],\n \"CartaPorte\": {\n \"TipoComprobante\": \"T\",\n \"TranspInternac\": \"No\",\n \"TotalDistRec\": 2.00,\n \"Ubicaciones\": [\n {\n \"TipoEstacion\": \"01\",\n \"DistanciaRecorrida\": 1.00,\n \"Origen\": {\n \"RFCRemitente\": \"URE180429TM6\",\n \"NombreRemitente\": \"Testename\",\n \"FechaHoraSalida\": \"2021-07-19T10:00:00\",\n \"Domicilio\": {\n \"Calle\": \"Calle Origen\",\n \"Colonia\": \"0347\",\n \"Estado\": \"COA\",\n \"Municipio\": \"004\",\n \"NumeroExterior\": \"28\",\n \"Localidad\": \"23\",\n \"Pais\": \"MEX\",\n \"CodigoPostal\": \"25350\"\n }\n }\n },\n {\n \"TipoEstacion\": \"01\",\n \"DistanciaRecorrida\": 1.00,\n \"Destino\": {\n \"NumRegIdTrib\": \"121585958\",\n \"ResidenciaFiscal\": \"ARG\",\n \"NombreDestinatario\": \"DESTINATARIO\",\n \"FechaHoraProgLlegada\": \"2021-07-19T10:35:00\",\n \"Domicilio\": {\n \"Calle\": \"Calle Destino\",\n \"Colonia\": \"002\",\n \"Estado\": \"ZAC\",\n \"Pais\": \"ARG\",\n \"Localidad\": \"0002\",\n \"Municipio\": \"000005\",\n \"NumeroExterior\": 211,\n \"Referencia\": \"casa blanca\",\n \"CodigoPostal\": \"99056\"\n }\n }\n }\n ],\n \"Mercancias\": {\n \"PesoNetoTotal\": 1.00,\n \"NumTotalMercancias\": 1,\n \"CargoPorTasacion\": 100.00,\n \"Mercancias\": [\n {\n \"BienesTransp\": \"12164501\",\n \"Descripcion\": \"ROSAL VIVO\",\n \"Cantidad\": 1.00,\n \"ClaveUnidad\": \"H87\",\n \"Unidad\": \"PZA\",\n \"Dimensiones\": \"12/34/56cm\",\n \"DescripEmbalaje\": \"EMBALAJE1\",\n \"PesoEnKg\": 1.00,\n \"ValorMercancia\": 100.00,\n \"Moneda\": \"MXN\"\n }\n ],\n \"AutotransporteFederal\": {\n \"PermSCT\": \"TPAF01\",\n \"NumPermisoSCT\": \"123\",\n \"NombreAseg\": \"QUALITAS\",\n \"NumPolizaSeguro\": \"POL123\",\n \"IdentificacionVehicular\": {\n \"ConfigVehicular\": \"C2\",\n \"PlacaVM\": \"123456\",\n \"AnioModeloVM\": \"1999\"\n }\n }\n },\n \"FiguraTransporte\": {\n \"CveTransporte\": \"01\",\n \"Operadores\": [\n {\n \"RFCOperador\": \"VAAM130719H60\",\n \"NumLicencia\": \"a234567890\",\n \"NombreOperador\": \"OPERADOR JUANITO\",\n \"ResidenciaFiscalOperador\": \"MEX\",\n \"Domicilio\": {\n \"Calle\": \"Calle Operador\",\n \"Colonia\": \"0347\",\n \"Estado\": \"COA\",\n \"Municipio\": \"004\",\n \"NumeroExterior\": \"28\",\n \"Localidad\": \"23\",\n \"Pais\": \"MEX\",\n \"CodigoPostal\": \"25350\"\n }\n }\n ]\n }\n },\n \"addenda\": \"\"\n\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/sales/carta_porte", "host": [ "{{API}}" ], "path": [ "api", "v3", "sales", "carta_porte" ] } }, "response": [] }, { "name": "CP2.0 Trans. Internacional SI", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n\t\"customer_id\": 1,\n\t\"branch_id\": 1,\n\t\"payment\": 1,\n \"sello_digital\":\"11\",\n \"serie_digital\":\"A\",\n \"cfdi_method_payment\":\"PPD\",\n \"cfdi_form_payment\":\"03\",\n \"sat_uso_cfdi\":\"G03\",\n\t\"items\": [\n\t\t\t\t{\n\t\t\t\t\t\"stock_id\": \"SER1\",\n\t\t\t\t\t\"stock_id_text\": \"Descripcion del Articulo de Ejemplo\",\n\t\t\t\t\t\"qty\": 1,\n\t\t\t\t\t\"price\": 0,\n\t\t\t\t\t\"Disc\": 0,\n\t\t\t\t\t\"noIdentificacion\": null,\n\t\t\t\t\t\"atributos\": null,\n \"InformacionAduanera\":[\n {\"NumeroPedimento\":\"21 47 3807 8003832\"}\n ]\n\t\t\t\t}\n\t\t\t],\n\t\"payments\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"date\": null,\n\t\t\t\t\t\t\"bank_account\": 4,\n\t\t\t\t\t\t\"amount\": 15000.00,\n\t\t\t\t\t\t\"method\": 3,\n\t\t\t\t\t\t\"discount\": 0,\n\t\t\t\t\t\t\"memo\": \"Transferido temprano el mismo dia\",\n\t\t\t\t\t\t\"bank_amount\": null,\n\t\t\t\t\t\t\"cheque\": null,\n\t\t\t\t\t\t\"benef_cheque\": null,\n\t\t\t\t\t\t\"banco_sat_emis_cheque\": null,\n\t\t\t\t\t\t\"cuenta_origen\": null,\n\t\t\t\t\t\t\"banco_sat_origen_transf\": null\n\t\t\t\t\t}\n\t\t\t\t],\n \"CartaPorte\": {\n \"TipoComprobante\": \"T\",\n \"EntradaSalidaMerc\":\"Salida\",\n \"TranspInternac\": \"Sí\",\n \"TotalDistRec\": 2.00,\n \"ViaEntradaSalida\":\"01\",\n \"Ubicaciones\": [\n {\n \"TipoEstacion\": \"01\",\n \"DistanciaRecorrida\": 1.00,\n \"Origen\": {\n \"RFCRemitente\": \"URE180429TM6\",\n \"NombreRemitente\": \"Testename\",\n \"FechaHoraSalida\": \"2021-07-19T10:00:00\",\n \"Domicilio\": {\n \"Calle\": \"Calle Origen\",\n \"Colonia\": \"0347\",\n \"Estado\": \"COA\",\n \"Municipio\": \"004\",\n \"NumeroExterior\": \"28\",\n \"Localidad\": \"23\",\n \"Pais\": \"MEX\",\n \"CodigoPostal\": \"25350\"\n }\n }\n },\n {\n \"DistanciaRecorrida\": 1.00,\n \"Destino\": {\n \"NumRegIdTrib\": \"121585958\",\n \"ResidenciaFiscal\": \"ARG\",\n \"NombreDestinatario\": \"DESTINATARIO\",\n \"FechaHoraProgLlegada\": \"2021-07-19T10:35:00\",\n \"Domicilio\": {\n \"Calle\": \"Calle Destino\",\n \"Colonia\": \"002\",\n \"Estado\": \"ZAC\",\n \"Pais\": \"ARG\",\n \"Localidad\": \"0002\",\n \"Municipio\": \"000005\",\n \"NumeroExterior\": 211,\n \"Referencia\": \"casa blanca\",\n \"CodigoPostal\": \"99056\"\n }\n }\n }\n ],\n \"Mercancias\": {\n \"NumTotalMercancias\": 1,\n \"Mercancias\": [\n {\n \"BienesTransp\": \"12164501\",\n \"FraccionArancelaria\":\"0302140100\",\n \"Descripcion\": \"ROSAL VIVO\",\n \"Cantidad\": 1.00,\n \"ClaveUnidad\": \"XNG\",\n \"Unidad\": \"PZA\",\n \"Dimensiones\": \"12/34/56cm\",\n \"DescripEmbalaje\": \"EMBALAJE1\",\n \"PesoEnKg\": 1.00,\n \"ValorMercancia\": 100.00,\n \"Moneda\": \"MXN\",\n \"UUIDComercioExt\":\"182fe8c7-bf27-43e6-b21b-b1a59eaa8399\"\n }\n ],\n \"AutotransporteFederal\": {\n \"PermSCT\": \"TPAF01\",\n \"NumPermisoSCT\": \"123\",\n \"NombreAseg\": \"QUALITAS\",\n \"NumPolizaSeguro\": \"POL123\",\n \"IdentificacionVehicular\": {\n \"ConfigVehicular\": \"C2\",\n \"PlacaVM\": \"123456\",\n \"AnioModeloVM\": \"1999\"\n }\n }\n },\n \"FiguraTransporte\": {\n \"CveTransporte\": \"01\",\n \"Operadores\": [\n {\n \"RFCOperador\": \"VAAM130719H60\",\n \"NumLicencia\": \"a234567890\",\n \"NombreOperador\": \"OPERADOR JUANITO\",\n \"ResidenciaFiscalOperador\": \"MEX\",\n \"Domicilio\": {\n \"Calle\": \"Calle Operador\",\n \"Colonia\": \"0347\",\n \"Estado\": \"COA\",\n \"Municipio\": \"004\",\n \"NumeroExterior\": \"28\",\n \"Localidad\": \"23\",\n \"Pais\": \"MEX\",\n \"CodigoPostal\": \"25350\"\n }\n }\n ]\n }\n },\n \"addenda\": \"\"\n\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/sales/carta_porte", "host": [ "{{API}}" ], "path": [ "api", "v3", "sales", "carta_porte" ] } }, "response": [] }, { "name": "CP3.0 Autotransporte Nacional", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n\t\"customer_id\": 1,\n\t\"branch_id\": 1,\n\t\"payment\": 1,\n \"sello_digital\":\"11\",\n \"serie_digital\":\"A\",\n \"cfdi_method_payment\":\"PPD\",\n \"cfdi_form_payment\":\"99\",\n \"sat_uso_cfdi\":\"G03\",\n\t\"items\": [\n\t\t\t\t{\n\t\t\t\t\t\"stock_id\": \"SER1\",\n\t\t\t\t\t\"stock_id_text\": \"Descripcion del Articulo de Ejemplo\",\n\t\t\t\t\t\"qty\": 1,\n\t\t\t\t\t\"price\": 200,\n\t\t\t\t\t\"Disc\": 0,\n\t\t\t\t\t\"noIdentificacion\": null,\n\t\t\t\t\t\"atributos\": null\n\t\t\t\t}\n\t\t\t],\n\t\"payments\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"date\": null,\n\t\t\t\t\t\t\"bank_account\": 4,\n\t\t\t\t\t\t\"amount\": 15000.00,\n\t\t\t\t\t\t\"method\": 3,\n\t\t\t\t\t\t\"discount\": 0,\n\t\t\t\t\t\t\"memo\": \"Transferido temprano el mismo dia\",\n\t\t\t\t\t\t\"bank_amount\": null,\n\t\t\t\t\t\t\"cheque\": null,\n\t\t\t\t\t\t\"benef_cheque\": null,\n\t\t\t\t\t\t\"banco_sat_emis_cheque\": null,\n\t\t\t\t\t\t\"cuenta_origen\": null,\n\t\t\t\t\t\t\"banco_sat_origen_transf\": null\n\t\t\t\t\t}\n\t\t\t\t],\n \"CartaPorte30\": {\n \"TipoComprobante\": \"T\",\n \"IdCCP\": \"CCCBCD94-870A-4332-A52A-A52AA52AA52A\",\n \"TranspInternac\": \"No\",\n \"TotalDistRec\": \"1\",\n \"RegistroISTMO\": \"Sí\",\n \"UbicacionPoloOrigen\": \"01\",\n \"UbicacionPoloDestino\": \"01\",\n \"Ubicaciones\": [\n {\n \"TipoUbicacion\": \"Origen\",\n \"IDUbicacion\": \"OR101010\",\n \"RFCRemitenteDestinatario\": \"EKU9003173C9\",\n \"NombreRemitenteDestinatario\": \"NombreRemitenteDestinatario1\",\n \"FechaHoraSalidaLlegada\": \"2023-08-01T00:00:00\",\n \"Domicilio\": {\n \"Calle\": \"Calle1\",\n \"NumeroExterior\": \"211\",\n \"NumeroInterior\": \"212\",\n \"Colonia\": \"1957\",\n \"Localidad\": \"13\",\n \"Referencia\": \"casa blanca\",\n \"Municipio\": \"011\",\n \"Estado\": \"CMX\",\n \"Pais\": \"MEX\",\n \"CodigoPostal\": \"13250\"\n }\n },\n {\n \"TipoUbicacion\": \"Destino\",\n \"IDUbicacion\": \"DE202020\",\n \"RFCRemitenteDestinatario\": \"EKU9003173C9\",\n \"NombreRemitenteDestinatario\": \"NombreRemitenteDestinatario2\",\n \"FechaHoraSalidaLlegada\": \"2023-08-01T00:00:01\",\n \"DistanciaRecorrida\": \"1\",\n \"Domicilio\": {\n \"Calle\": \"Calle2\",\n \"NumeroExterior\": \"214\",\n \"NumeroInterior\": \"215\",\n \"Colonia\": \"0347\",\n \"Localidad\": \"23\",\n \"Referencia\": \"casa negra\",\n \"Municipio\": \"004\",\n \"Estado\": \"COA\",\n \"Pais\": \"MEX\",\n \"CodigoPostal\": \"25350\"\n }\n }\n ],\n \"Mercancias\": {\n \"PesoBrutoTotal\": \"1.0\",\n \"UnidadPeso\": \"XBX\",\n \"PesoNetoTotal\": \"1\",\n \"NumTotalMercancias\": \"1\",\n \"LogisticaInversaRecoleccionDevolucion\": \"Sí\",\n \"Mercancia\": [\n {\n \"BienesTransp\": \"11121900\",\n \"Descripcion\": \"Accesorios de equipo de telefonía\",\n \"SectorCOFEPRIS\": \"01\",\n \"Cantidad\": \"1.0\",\n \"ClaveUnidad\": \"XBX\",\n \"MaterialPeligroso\": \"No\",\n \"PesoEnKg\": \"1\",\n \"DenominacionGenericaProd\": \"DenominacionGenericaProd1\",\n \"DenominacionDistintivaProd\": \"DenominacionDistintivaProd1\",\n \"Fabricante\": \"Fabricante1\",\n \"FechaCaducidad\": \"2028-01-01\",\n \"LoteMedicamento\": \"LoteMedic1\",\n \"FormaFarmaceutica\": \"01\",\n \"CondicionesEspTransp\": \"01\",\n \"RegistroSanitarioFolioAutorizacion\": \"RegistroSanita1\",\n \"CantidadTransporta\": [\n {\n \"Cantidad\": \"1\",\n \"IDOrigen\": \"OR101010\",\n \"IDDestino\": \"DE202020\"\n }\n ]\n }\n ],\n \"Autotransporte\": {\n \"PermSCT\": \"TPAF01\",\n \"NumPermisoSCT\": \"NumPermisoSCT1\",\n \"IdentificacionVehicular\": {\n \"ConfigVehicular\": \"VL\",\n \"PesoBrutoVehicular\": \"1\",\n \"PlacaVM\": \"plac892\",\n \"AnioModeloVM\": \"2020\"\n },\n \"Seguros\": {\n \"AseguraRespCivil\": \"AseguraRespCivil\",\n \"PolizaRespCivil\": \"123456789\"\n },\n \"Remolques\": [\n {\n \"SubTipoRem\": \"CTR004\",\n \"Placa\": \"VL45K98\"\n }\n ]\n }\n },\n \"FiguraTransporte\": [\n {\n \"TipoFigura\": \"01\",\n \"NombreFigura\": \"NombreFigura\",\n \"RFCFigura\": \"CACX7605101P8\",\n \"NumLicencia\": \"a234567890\"\n }\n ]\n },\n \"addenda\": \"\"\n\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/sales/carta_porte", "host": [ "{{API}}" ], "path": [ "api", "v3", "sales", "carta_porte" ] } }, "response": [] }, { "name": "CP3.0 Autotransporte Internacional Aduanera", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n\t\"customer_id\": 1,\n\t\"branch_id\": 1,\n\t\"payment\": 1,\n \"sello_digital\":\"11\",\n \"serie_digital\":\"A\",\n \"cfdi_method_payment\":\"PPD\",\n \"cfdi_form_payment\":\"99\",\n \"sat_uso_cfdi\":\"G03\",\n\t\"items\": [\n\t\t\t\t{\n\t\t\t\t\t\"stock_id\": \"SER1\",\n\t\t\t\t\t\"stock_id_text\": \"Descripcion del Articulo de Ejemplo\",\n\t\t\t\t\t\"qty\": 1,\n\t\t\t\t\t\"price\": 200,\n\t\t\t\t\t\"Disc\": 0,\n\t\t\t\t\t\"noIdentificacion\": null,\n\t\t\t\t\t\"atributos\": null\n\t\t\t\t}\n\t\t\t],\n\t\"payments\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"date\": null,\n\t\t\t\t\t\t\"bank_account\": 4,\n\t\t\t\t\t\t\"amount\": 15000.00,\n\t\t\t\t\t\t\"method\": 3,\n\t\t\t\t\t\t\"discount\": 0,\n\t\t\t\t\t\t\"memo\": \"Transferido temprano el mismo dia\",\n\t\t\t\t\t\t\"bank_amount\": null,\n\t\t\t\t\t\t\"cheque\": null,\n\t\t\t\t\t\t\"benef_cheque\": null,\n\t\t\t\t\t\t\"banco_sat_emis_cheque\": null,\n\t\t\t\t\t\t\"cuenta_origen\": null,\n\t\t\t\t\t\t\"banco_sat_origen_transf\": null\n\t\t\t\t\t}\n\t\t\t\t],\n \"CartaPorte30\": {\n \"TipoComprobante\": \"T\",\n \"ViaEntradaSalida\": \"01\",\n \"RegistroISTMO\": \"Sí\",\n \"RegimenAduanero\": \"IMD\",\n \"EntradaSalidaMerc\": \"Entrada\",\n \"PaisOrigenDestino\": \"AFG\",\n \"UbicacionPoloOrigen\": \"01\",\n \"UbicacionPoloDestino\": \"01\",\n \"Version\": \"3.0\",\n \"IdCCP\": \"CCCBCD94-870A-4332-A52A-A52AA52AA52A\",\n \"TranspInternac\": \"Sí\",\n \"TotalDistRec\": \"1\",\n \"Ubicaciones\": [\n {\n \"TipoUbicacion\": \"Origen\",\n \"IDUbicacion\": \"OR101010\",\n \"RFCRemitenteDestinatario\": \"EKU9003173C9\",\n \"NombreRemitenteDestinatario\": \"NombreRemitenteDestinatario1\",\n \"FechaHoraSalidaLlegada\": \"2023-08-01T00:00:00\",\n \"Domicilio\": {\n \"Calle\": \"Calle1\",\n \"NumeroExterior\": \"211\",\n \"NumeroInterior\": \"212\",\n \"Colonia\": \"1957\",\n \"Localidad\": \"13\",\n \"Referencia\": \"casa blanca\",\n \"Municipio\": \"011\",\n \"Estado\": \"CMX\",\n \"Pais\": \"MEX\",\n \"CodigoPostal\": \"13250\"\n }\n },\n {\n \"TipoUbicacion\": \"Destino\",\n \"IDUbicacion\": \"DE202020\",\n \"RFCRemitenteDestinatario\": \"EKU9003173C9\",\n \"NombreRemitenteDestinatario\": \"NombreRemitenteDestinatario2\",\n \"FechaHoraSalidaLlegada\": \"2023-08-01T00:00:01\",\n \"DistanciaRecorrida\": \"1\",\n \"Domicilio\": {\n \"Calle\": \"Calle2\",\n \"NumeroExterior\": \"214\",\n \"NumeroInterior\": \"215\",\n \"Colonia\": \"0347\",\n \"Localidad\": \"23\",\n \"Referencia\": \"casa negra\",\n \"Municipio\": \"004\",\n \"Estado\": \"COA\",\n \"Pais\": \"MEX\",\n \"CodigoPostal\": \"25350\"\n }\n }\n ],\n \"Mercancias\": {\n \"PesoBrutoTotal\": \"1.0\",\n \"UnidadPeso\": \"XBX\",\n \"PesoNetoTotal\": \"1\",\n \"NumTotalMercancias\": \"1\",\n \"LogisticaInversaRecoleccionDevolucion\": \"Sí\",\n \"Mercancia\": [\n {\n \"FraccionArancelaria\": \"0101909900\",\n \"FolioImpoVUCEM\": \"1\",\n \"PermisoImportacion\": \"2\",\n \"SectorCOFEPRIS\": \"01\",\n \"TipoMateria\": \"05\",\n \"DescripcionMateria\": \"otramateria\",\n \"BienesTransp\": \"11121900\",\n \"Descripcion\": \"Accesorios de equipo de telefonía\",\n \"Cantidad\": \"1.0\",\n \"ClaveUnidad\": \"XBX\",\n \"MaterialPeligroso\": \"No\",\n \"PesoEnKg\": \"1\",\n \"DenominacionGenericaProd\": \"DenominacionGenericaProd1\",\n \"DenominacionDistintivaProd\": \"DenominacionDistintivaProd1\",\n \"Fabricante\": \"Fabricante1\",\n \"FechaCaducidad\": \"2003-04-02\",\n \"LoteMedicamento\": \"LoteMedic1\",\n \"FormaFarmaceutica\": \"01\",\n \"CondicionesEspTransp\": \"01\",\n \"RegistroSanitarioFolioAutorizacion\": \"RegistroSanita1\",\n \"DocumentacionAduanera\": [\n {\n \"TipoDocumento\": \"01\",\n \"NumPedimento\": \"23 43 0472 8000448\",\n \"RFCImpo\": \"EKU9003173C9\"\n }\n ],\n \"CantidadTransporta\": [\n {\n \"Cantidad\": \"1\",\n \"IDOrigen\": \"OR101010\",\n \"IDDestino\": \"DE202020\"\n }\n ]\n }\n ],\n \"Autotransporte\": {\n \"PermSCT\": \"TPAF01\",\n \"NumPermisoSCT\": \"NumPermisoSCT1\",\n \"IdentificacionVehicular\": {\n \"ConfigVehicular\": \"VL\",\n \"PesoBrutoVehicular\": \"1\",\n \"PlacaVM\": \"plac892\",\n \"AnioModeloVM\": \"2020\"\n },\n \"Seguros\": {\n \"AseguraRespCivil\": \"AseguraRespCivil\",\n \"PolizaRespCivil\": \"123456789\"\n },\n \"Remolques\": [\n {\n \"SubTipoRem\": \"CTR004\",\n \"Placa\": \"VL45K98\"\n }\n ]\n }\n },\n \"FiguraTransporte\": [\n {\n \"TipoFigura\": \"01\",\n \"RFCFigura\": \"EKU9003173C9\",\n \"NumLicencia\": \"NumLicencia1\",\n \"NombreFigura\": \"NombreFigura1\",\n \"Domicilio\": {\n \"Calle\": \"Calle1\",\n \"NumeroExterior\": \"NumeroExterior1\",\n \"NumeroInterior\": \"NumeroInterior1\",\n \"Colonia\": \"Colonia1\",\n \"Localidad\": \"Localidad1\",\n \"Referencia\": \"Referencia1\",\n \"Municipio\": \"Municipio1\",\n \"Estado\": \"Estado1\",\n \"Pais\": \"AFG\",\n \"CodigoPostal\": \"CodigoPosta1\"\n }\n }\n ]\n },\n \"addenda\": \"\"\n\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{API}}/api/v3/sales/carta_porte", "host": [ "{{API}}" ], "path": [ "api", "v3", "sales", "carta_porte" ] } }, "response": [] } ] }, { "name": "Transactions", "request": { "method": "GET", "header": [], "url": { "raw": "{{API}}/api/v3/sales/transactions?since_date=2022-05-01&until_date=2022-05-30&skip=0&limit=25", "host": [ "{{API}}" ], "path": [ "api", "v3", "sales", "transactions" ], "query": [ { "key": "trans_no", "value": "5", "description": "Numero de transaccion", "disabled": true }, { "key": "ref_no", "value": "0", "description": "Referencia", "disabled": true }, { "key": "customer_id", "value": "0", "description": "Cliente", "disabled": true }, { "key": "since_date", "value": "2022-05-01", "description": "Fecha Desde" }, { "key": "until_date", "value": "2022-05-30", "description": "Fecha Hasta" }, { "key": "filterType", "value": "", "description": "Tipo de Filtro o tipo de transaccion (10,11,13,30,32)", "disabled": true }, { "key": "skip", "value": "0", "description": "Numero de filas a saltar" }, { "key": "limit", "value": "25", "description": "Numero limite de registros a cargar " } ] }, "description": "**INFORMACIÓN DEL ENDPOINT**\n\nESTE METODO GET SIRVE PARA CONSEGUIR UN LISTADO DETALLADO DE LAS TRANSACCIONES.\n\n***PARAMS:**\n\n**1.-ATRIBUTOS O CAMPOS DEL PARAMS:**\n\n**1.1.-\"trans_no\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO. SE VA ENVIAR EL NUMERO DE LA TRANSACCION.\n\n**1.2.-\"ref_no\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING. SE VA ENVIAR LA REFERENCIA DEL CLIENTE.\n\n**1.3.-\"customer_id\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO O STRING. SE VA ENVIAR EL ID O IDENTIFICADOR DEL CLIENTE.\n\n**1.4.-\"since_date\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING. SE VA ENVIAR LA FECHA DESDE QUE HACER LA BUSQUEDA Y TIENE QUE UTILIZAR EL FORMATO DE FECHA \"YYYY-MM-DD\".\n\n**1.5.-\"until_date\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO STRING. SE VA ENVIAR LA FECHA HASTA QUE HACER LA BUSQUEDA Y TIENE QUE UTILIZAR EL FORMATO DE FECHA \"YYYY-MM-DD\".\n\n**1.6.-\"until_date\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO. SE VA ENVIAR EL TIPO DE FILTRO DE LAS TRANSACCIONES(1,2,3,4,5) O EL TIPO DE TRANSACCION(10,11,13,30,32).\n\n**1.7.-\"limit\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO. SE VA ENVIAR EL NUMERO LIMITE DE REGISTROS A CARGAR.\n\n**1.8.-\"skip\"=** ES UN CAMPO OPCIONAL Y ES DE TIPO NUMERICO. SE VA ENVIAR EL NUMERO DE FILAS A SALTAR." }, "response": [ { "name": "Transactions", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{API}}/api/v3/sales/transactions?since_date=2022-05-01&until_date=2022-05-30&skip=0&limit=25", "host": [ "{{API}}" ], "path": [ "api", "v3", "sales", "transactions" ], "query": [ { "key": "trans_no", "value": "5", "description": "Numero de transaccion", "disabled": true }, { "key": "ref_no", "value": "0", "description": "Referencia", "disabled": true }, { "key": "customer_id", "value": "0", "description": "Cliente", "disabled": true }, { "key": "since_date", "value": "2022-05-01", "description": "Fecha Desde" }, { "key": "until_date", "value": "2022-05-30", "description": "Fecha Hasta" }, { "key": "filterType", "value": "", "description": "Tipo de Filtro o tipo de transaccion (10,11,13,30,32)", "disabled": true }, { "key": "skip", "value": "0", "description": "Numero de filas a saltar" }, { "key": "limit", "value": "25", "description": "Numero limite de registros a cargar " } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Thu, 01 Sep 2022 02:54:23 GMT" }, { "key": "Server", "value": "Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.4.1" }, { "key": "Vary", "value": "Authorization" }, { "key": "X-Powered-By", "value": "PHP/7.4.1" }, { "key": "Expires", "value": "Thu, 19 Nov 1981 08:52:00 GMT" }, { "key": "Cache-Control", "value": "private" }, { "key": "Pragma", "value": "no-cache" }, { "key": "Keep-Alive", "value": "timeout=5, max=100" }, { "key": "Connection", "value": "Keep-Alive" }, { "key": "Transfer-Encoding", "value": "chunked" }, { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"version\": \"3.22.35\",\n \"filters\": {\n \"trans_no\": \"\",\n \"ref_no\": \"\",\n \"customer_id\": \"\",\n \"TransAfterDate\": \"2022-05-01\",\n \"TransToDate\": \"2022-05-30\",\n \"filterType\": \"\"\n },\n \"total\": 164,\n \"limit\": 25,\n \"skip\": 0,\n \"data\": [\n {\n \"type\": \"10\",\n \"trans_no\": \"495\",\n \"order_\": \"495\",\n \"reference\": \"LOCALTESTRODRIGO158\",\n \"tran_date\": \"2022-05-02\",\n \"due_date\": \"2022-05-12\",\n \"name\": \"PUBLICO EN GENERAL\",\n \"br_name\": \"PUBLICO EN GENERAL\",\n \"curr_code\": \"MXN\",\n \"total_amount\": \"10.9\",\n \"allocated\": \"10.9\",\n \"over_due\": \"1\",\n \"outstanding\": \"1\",\n \"tax_id\": \"XAXX010101000\",\n \"debtor_no\": \"1\",\n \"uuid_sat_manual\": \"f5dbb32b-f3f8-44cc-83f7-814680bc81db\",\n \"digital\": \"1\",\n \"rate\": \"1\",\n \"type_carta_porte\": \"0\"\n },\n {\n \"type\": \"10\",\n \"trans_no\": \"496\",\n \"order_\": \"496\",\n \"reference\": \"PDV1_2l2ow0266\",\n \"tran_date\": \"2022-05-02\",\n \"due_date\": \"2022-05-12\",\n \"name\": \"PUBLICO EN GENERAL\",\n \"br_name\": \"PUBLICO EN GENERAL\",\n \"curr_code\": \"MXN\",\n \"total_amount\": \"10.9\",\n \"allocated\": \"10.9\",\n \"over_due\": \"1\",\n \"outstanding\": \"1\",\n \"tax_id\": \"XAXX010101000\",\n \"debtor_no\": \"1\",\n \"uuid_sat_manual\": \"\",\n \"digital\": \"0\",\n \"rate\": \"1\",\n \"type_carta_porte\": \"0\"\n },\n {\n \"type\": \"10\",\n \"trans_no\": \"497\",\n \"order_\": \"497\",\n \"reference\": \"LOCALTESTRODRIGO159\",\n \"tran_date\": \"2022-05-02\",\n \"due_date\": \"2022-05-12\",\n \"name\": \"PUBLICO EN GENERAL\",\n \"br_name\": \"PUBLICO EN GENERAL\",\n \"curr_code\": \"MXN\",\n \"total_amount\": \"21.810000000000002\",\n \"allocated\": \"21.8\",\n \"over_due\": \"1\",\n \"outstanding\": \"2\",\n \"tax_id\": \"XAXX010101000\",\n \"debtor_no\": \"1\",\n \"uuid_sat_manual\": \"c1c825c0-2620-446b-80bb-4de40e6d7402\",\n \"digital\": \"1\",\n \"rate\": \"1\",\n \"type_carta_porte\": \"0\"\n },\n {\n \"type\": \"10\",\n \"trans_no\": \"498\",\n \"order_\": \"498\",\n \"reference\": \"LOCALTESTRODRIGO244\",\n \"tran_date\": \"2022-05-02\",\n \"due_date\": \"2022-05-12\",\n \"name\": \"PUBLICO EN GENERAL\",\n \"br_name\": \"PUBLICO EN GENERAL\",\n \"curr_code\": \"MXN\",\n \"total_amount\": \"10.9\",\n \"allocated\": \"10.9\",\n \"over_due\": \"1\",\n \"outstanding\": \"1\",\n \"tax_id\": \"XAXX010101000\",\n \"debtor_no\": \"1\",\n \"uuid_sat_manual\": \"e38f6fb8-928a-47b1-8ee4-6fd40a6542a7\",\n \"digital\": \"1\",\n \"rate\": \"1\",\n \"type_carta_porte\": \"0\"\n },\n {\n \"type\": \"10\",\n \"trans_no\": \"499\",\n \"order_\": \"499\",\n \"reference\": \"LOCALTESTRODRIGO244\",\n \"tran_date\": \"2022-05-02\",\n \"due_date\": \"2022-05-12\",\n \"name\": \"PUBLICO EN GENERAL\",\n \"br_name\": \"PUBLICO EN GENERAL\",\n \"curr_code\": \"MXN\",\n \"total_amount\": \"10.9\",\n \"allocated\": \"10.9\",\n \"over_due\": \"1\",\n \"outstanding\": \"1\",\n \"tax_id\": \"XAXX010101000\",\n \"debtor_no\": \"1\",\n \"uuid_sat_manual\": \"e38f6fb8-928a-47b1-8ee4-6fd40a6542a7\",\n \"digital\": \"1\",\n \"rate\": \"1\",\n \"type_carta_porte\": \"0\"\n },\n {\n \"type\": \"10\",\n \"trans_no\": \"500\",\n \"order_\": \"500\",\n \"reference\": \"LOCALTESTRODRIGO244\",\n \"tran_date\": \"2022-05-02\",\n \"due_date\": \"2022-05-12\",\n \"name\": \"PUBLICO EN GENERAL\",\n \"br_name\": \"PUBLICO EN GENERAL\",\n \"curr_code\": \"MXN\",\n \"total_amount\": \"10.9\",\n \"allocated\": \"10.9\",\n \"over_due\": \"1\",\n \"outstanding\": \"1\",\n \"tax_id\": \"XAXX010101000\",\n \"debtor_no\": \"1\",\n \"uuid_sat_manual\": \"e38f6fb8-928a-47b1-8ee4-6fd40a6542a7\",\n \"digital\": \"1\",\n \"rate\": \"1\",\n \"type_carta_porte\": \"0\"\n },\n {\n \"type\": \"10\",\n \"trans_no\": \"501\",\n \"order_\": \"501\",\n \"reference\": \"LOCALTESTRODRIGO244\",\n \"tran_date\": \"2022-05-02\",\n \"due_date\": \"2022-05-12\",\n \"name\": \"PUBLICO EN GENERAL\",\n \"br_name\": \"PUBLICO EN GENERAL\",\n \"curr_code\": \"MXN\",\n \"total_amount\": \"10.9\",\n \"allocated\": \"10.9\",\n \"over_due\": \"1\",\n \"outstanding\": \"1\",\n \"tax_id\": \"XAXX010101000\",\n \"debtor_no\": \"1\",\n \"uuid_sat_manual\": \"e38f6fb8-928a-47b1-8ee4-6fd40a6542a7\",\n \"digital\": \"1\",\n \"rate\": \"1\",\n \"type_carta_porte\": \"0\"\n },\n {\n \"type\": \"10\",\n \"trans_no\": \"502\",\n \"order_\": \"502\",\n \"reference\": \"LOCALTESTRODRIGO244\",\n \"tran_date\": \"2022-05-02\",\n \"due_date\": \"2022-05-12\",\n \"name\": \"PUBLICO EN GENERAL\",\n \"br_name\": \"PUBLICO EN GENERAL\",\n \"curr_code\": \"MXN\",\n \"total_amount\": \"10.9\",\n \"allocated\": \"10.9\",\n \"over_due\": \"1\",\n \"outstanding\": \"1\",\n \"tax_id\": \"XAXX010101000\",\n \"debtor_no\": \"1\",\n \"uuid_sat_manual\": \"e38f6fb8-928a-47b1-8ee4-6fd40a6542a7\",\n \"digital\": \"1\",\n \"rate\": \"1\",\n \"type_carta_porte\": \"0\"\n },\n {\n \"type\": \"10\",\n \"trans_no\": \"503\",\n \"order_\": \"503\",\n \"reference\": \"LOCALTESTRODRIGO244\",\n \"tran_date\": \"2022-05-05\",\n \"due_date\": \"2022-05-15\",\n \"name\": \"PUBLICO EN GENERAL\",\n \"br_name\": \"PUBLICO EN GENERAL\",\n \"curr_code\": \"MXN\",\n \"total_amount\": \"10.9\",\n \"allocated\": \"0\",\n \"over_due\": \"1\",\n \"outstanding\": \"1\",\n \"tax_id\": \"XAXX010101000\",\n \"debtor_no\": \"1\",\n \"uuid_sat_manual\": \"e38f6fb8-928a-47b1-8ee4-6fd40a6542a7\",\n \"digital\": \"1\",\n \"rate\": \"1\",\n \"type_carta_porte\": \"0\"\n },\n {\n \"type\": \"10\",\n \"trans_no\": \"504\",\n \"order_\": \"504\",\n \"reference\": \"LOCALTESTRODRIGO244\",\n \"tran_date\": \"2022-05-05\",\n \"due_date\": \"2022-05-15\",\n \"name\": \"PUBLICO EN GENERAL\",\n \"br_name\": \"PUBLICO EN GENERAL\",\n \"curr_code\": \"MXN\",\n \"total_amount\": \"10.9\",\n \"allocated\": \"0\",\n \"over_due\": \"1\",\n \"outstanding\": \"1\",\n \"tax_id\": \"XAXX010101000\",\n \"debtor_no\": \"1\",\n \"uuid_sat_manual\": \"e38f6fb8-928a-47b1-8ee4-6fd40a6542a7\",\n \"digital\": \"1\",\n \"rate\": \"1\",\n \"type_carta_porte\": \"0\"\n },\n {\n \"type\": \"10\",\n \"trans_no\": \"505\",\n \"order_\": \"505\",\n \"reference\": \"LOCALTESTRODRIGO244\",\n \"tran_date\": \"2022-05-09\",\n \"due_date\": \"2022-05-19\",\n \"name\": \"PUBLICO EN GENERAL\",\n \"br_name\": \"PUBLICO EN GENERAL\",\n \"curr_code\": \"MXN\",\n \"total_amount\": \"10.9\",\n \"allocated\": \"10.9\",\n \"over_due\": \"1\",\n \"outstanding\": \"1\",\n \"tax_id\": \"XAXX010101000\",\n \"debtor_no\": \"1\",\n \"uuid_sat_manual\": \"e38f6fb8-928a-47b1-8ee4-6fd40a6542a7\",\n \"digital\": \"1\",\n \"rate\": \"1\",\n \"type_carta_porte\": \"0\"\n },\n {\n \"type\": \"10\",\n \"trans_no\": \"506\",\n \"order_\": \"506\",\n \"reference\": \"LOCALTESTRODRIGO244\",\n \"tran_date\": \"2022-05-09\",\n \"due_date\": \"2022-05-19\",\n \"name\": \"PUBLICO EN GENERAL\",\n \"br_name\": \"PUBLICO EN GENERAL\",\n \"curr_code\": \"MXN\",\n \"total_amount\": \"10.9\",\n \"allocated\": \"10.9\",\n \"over_due\": \"1\",\n \"outstanding\": \"1\",\n \"tax_id\": \"XAXX010101000\",\n \"debtor_no\": \"1\",\n \"uuid_sat_manual\": \"e38f6fb8-928a-47b1-8ee4-6fd40a6542a7\",\n \"digital\": \"1\",\n \"rate\": \"1\",\n \"type_carta_porte\": \"0\"\n },\n {\n \"type\": \"10\",\n \"trans_no\": \"507\",\n \"order_\": \"507\",\n \"reference\": \"LOCALTESTRODRIGO244\",\n \"tran_date\": \"2022-05-09\",\n \"due_date\": \"2022-05-19\",\n \"name\": \"PUBLICO EN GENERAL\",\n \"br_name\": \"PUBLICO EN GENERAL\",\n \"curr_code\": \"MXN\",\n \"total_amount\": \"32.71\",\n \"allocated\": \"32.7\",\n \"over_due\": \"1\",\n \"outstanding\": \"3\",\n \"tax_id\": \"XAXX010101000\",\n \"debtor_no\": \"1\",\n \"uuid_sat_manual\": \"e38f6fb8-928a-47b1-8ee4-6fd40a6542a7\",\n \"digital\": \"1\",\n \"rate\": \"1\",\n \"type_carta_porte\": \"0\"\n },\n {\n \"type\": \"10\",\n \"trans_no\": \"508\",\n \"order_\": \"508\",\n \"reference\": \"LOCALTESTRODRIGO244\",\n \"tran_date\": \"2022-05-09\",\n \"due_date\": \"2022-05-19\",\n \"name\": \"PUBLICO EN GENERAL\",\n \"br_name\": \"PUBLICO EN GENERAL\",\n \"curr_code\": \"MXN\",\n \"total_amount\": \"10.9\",\n \"allocated\": \"10.9\",\n \"over_due\": \"1\",\n \"outstanding\": \"1\",\n \"tax_id\": \"XAXX010101000\",\n \"debtor_no\": \"1\",\n \"uuid_sat_manual\": \"e38f6fb8-928a-47b1-8ee4-6fd40a6542a7\",\n \"digital\": \"1\",\n \"rate\": \"1\",\n \"type_carta_porte\": \"0\"\n },\n {\n \"type\": \"10\",\n \"trans_no\": \"509\",\n \"order_\": \"509\",\n \"reference\": \"LOCALTESTRODRIGO244\",\n \"tran_date\": \"2022-05-09\",\n \"due_date\": \"2022-05-19\",\n \"name\": \"PUBLICO EN GENERAL\",\n \"br_name\": \"PUBLICO EN GENERAL\",\n \"curr_code\": \"MXN\",\n \"total_amount\": \"95.12\",\n \"allocated\": \"95.12\",\n \"over_due\": \"1\",\n \"outstanding\": \"1\",\n \"tax_id\": \"XAXX010101000\",\n \"debtor_no\": \"1\",\n \"uuid_sat_manual\": \"e38f6fb8-928a-47b1-8ee4-6fd40a6542a7\",\n \"digital\": \"1\",\n \"rate\": \"1\",\n \"type_carta_porte\": \"0\"\n },\n {\n \"type\": \"10\",\n \"trans_no\": \"510\",\n \"order_\": \"510\",\n \"reference\": \"LOCALTESTRODRIGO244\",\n \"tran_date\": \"2022-05-09\",\n \"due_date\": \"2022-05-19\",\n \"name\": \"PUBLICO EN GENERAL\",\n \"br_name\": \"PUBLICO EN GENERAL\",\n \"curr_code\": \"MXN\",\n \"total_amount\": \"95.12\",\n \"allocated\": \"95.12\",\n \"over_due\": \"1\",\n \"outstanding\": \"1\",\n \"tax_id\": \"XAXX010101000\",\n \"debtor_no\": \"1\",\n \"uuid_sat_manual\": \"e38f6fb8-928a-47b1-8ee4-6fd40a6542a7\",\n \"digital\": \"1\",\n \"rate\": \"1\",\n \"type_carta_porte\": \"0\"\n },\n {\n \"type\": \"10\",\n \"trans_no\": \"511\",\n \"order_\": \"511\",\n \"reference\": \"LOCALTESTRODRIGO244\",\n \"tran_date\": \"2022-05-09\",\n \"due_date\": \"2022-05-19\",\n \"name\": \"PUBLICO EN GENERAL\",\n \"br_name\": \"PUBLICO EN GENERAL\",\n \"curr_code\": \"MXN\",\n \"total_amount\": \"10.9\",\n \"allocated\": \"10.9\",\n \"over_due\": \"1\",\n \"outstanding\": \"1\",\n \"tax_id\": \"XAXX010101000\",\n \"debtor_no\": \"1\",\n \"uuid_sat_manual\": \"e38f6fb8-928a-47b1-8ee4-6fd40a6542a7\",\n \"digital\": \"1\",\n \"rate\": \"1\",\n \"type_carta_porte\": \"0\"\n },\n {\n \"type\": \"10\",\n \"trans_no\": \"512\",\n \"order_\": \"512\",\n \"reference\": \"LOCALTESTRODRIGO176\",\n \"tran_date\": \"2022-05-10\",\n \"due_date\": \"2022-05-20\",\n \"name\": \"PUBLICO EN GENERAL\",\n \"br_name\": \"PUBLICO EN GENERAL\",\n \"curr_code\": \"MXN\",\n \"total_amount\": \"21.810000000000002\",\n \"allocated\": \"21.8\",\n \"over_due\": \"1\",\n \"outstanding\": \"2\",\n \"tax_id\": \"XAXX010101000\",\n \"debtor_no\": \"1\",\n \"uuid_sat_manual\": \"3ab2d15a-325e-4007-a2da-7648723ae674\",\n \"digital\": \"1\",\n \"rate\": \"1\",\n \"type_carta_porte\": \"0\"\n },\n {\n \"type\": \"10\",\n \"trans_no\": \"513\",\n \"order_\": \"513\",\n \"reference\": \"LOCALTESTRODRIGO244\",\n \"tran_date\": \"2022-05-10\",\n \"due_date\": \"2022-05-20\",\n \"name\": \"Prueba Publico Update\",\n \"br_name\": \"Antonio\",\n \"curr_code\": \"MXN\",\n \"total_amount\": \"10.9\",\n \"allocated\": \"10.9\",\n \"over_due\": \"1\",\n \"outstanding\": \"1\",\n \"tax_id\": \"XAXX010101000\",\n \"debtor_no\": \"3\",\n \"uuid_sat_manual\": \"e38f6fb8-928a-47b1-8ee4-6fd40a6542a7\",\n \"digital\": \"1\",\n \"rate\": \"1\",\n \"type_carta_porte\": \"0\"\n },\n {\n \"type\": \"10\",\n \"trans_no\": \"514\",\n \"order_\": \"514\",\n \"reference\": \"PDV2_1l3080not\",\n \"tran_date\": \"2022-05-10\",\n \"due_date\": \"2022-05-20\",\n \"name\": \"Prueba Publico Update\",\n \"br_name\": \"Antonio\",\n \"curr_code\": \"MXN\",\n \"total_amount\": \"10.9\",\n \"allocated\": \"10.9\",\n \"over_due\": \"1\",\n \"outstanding\": \"1\",\n \"tax_id\": \"XAXX010101000\",\n \"debtor_no\": \"3\",\n \"uuid_sat_manual\": \"\",\n \"digital\": \"0\",\n \"rate\": \"1\",\n \"type_carta_porte\": \"0\"\n },\n {\n \"type\": \"10\",\n \"trans_no\": \"515\",\n \"order_\": \"515\",\n \"reference\": \"PDV2_1l3089mwt\",\n \"tran_date\": \"2022-05-10\",\n \"due_date\": \"2022-05-20\",\n \"name\": \"Prueba Publico Update\",\n \"br_name\": \"Antonio\",\n \"curr_code\": \"MXN\",\n \"total_amount\": \"10.9\",\n \"allocated\": \"10.9\",\n \"over_due\": \"1\",\n \"outstanding\": \"1\",\n \"tax_id\": \"XAXX010101000\",\n \"debtor_no\": \"3\",\n \"uuid_sat_manual\": \"\",\n \"digital\": \"0\",\n \"rate\": \"1\",\n \"type_carta_porte\": \"0\"\n },\n {\n \"type\": \"10\",\n \"trans_no\": \"516\",\n \"order_\": \"516\",\n \"reference\": \"PDV2_1l308djxg\",\n \"tran_date\": \"2022-05-10\",\n \"due_date\": \"2022-05-20\",\n \"name\": \"Prueba Publico Update\",\n \"br_name\": \"Antonio\",\n \"curr_code\": \"MXN\",\n \"total_amount\": \"21.810000000000002\",\n \"allocated\": \"21.8\",\n \"over_due\": \"1\",\n \"outstanding\": \"2\",\n \"tax_id\": \"XAXX010101000\",\n \"debtor_no\": \"3\",\n \"uuid_sat_manual\": \"\",\n \"digital\": \"0\",\n \"rate\": \"1\",\n \"type_carta_porte\": \"0\"\n },\n {\n \"type\": \"10\",\n \"trans_no\": \"517\",\n \"order_\": \"517\",\n \"reference\": \"PDV2_1l308g9w4\",\n \"tran_date\": \"2022-05-10\",\n \"due_date\": \"2022-05-20\",\n \"name\": \"Prueba Publico Update\",\n \"br_name\": \"Antonio\",\n \"curr_code\": \"MXN\",\n \"total_amount\": \"21.810000000000002\",\n \"allocated\": \"21.8\",\n \"over_due\": \"1\",\n \"outstanding\": \"2\",\n \"tax_id\": \"XAXX010101000\",\n \"debtor_no\": \"3\",\n \"uuid_sat_manual\": \"\",\n \"digital\": \"0\",\n \"rate\": \"1\",\n \"type_carta_porte\": \"0\"\n },\n {\n \"type\": \"10\",\n \"trans_no\": \"518\",\n \"order_\": \"518\",\n \"reference\": \"PDV2_1l308hmed\",\n \"tran_date\": \"2022-05-10\",\n \"due_date\": \"2022-05-20\",\n \"name\": \"Prueba Publico Update\",\n \"br_name\": \"Antonio\",\n \"curr_code\": \"MXN\",\n \"total_amount\": \"10.9\",\n \"allocated\": \"10.9\",\n \"over_due\": \"1\",\n \"outstanding\": \"1\",\n \"tax_id\": \"XAXX010101000\",\n \"debtor_no\": \"3\",\n \"uuid_sat_manual\": \"\",\n \"digital\": \"0\",\n \"rate\": \"1\",\n \"type_carta_porte\": \"0\"\n },\n {\n \"type\": \"10\",\n \"trans_no\": \"519\",\n \"order_\": \"519\",\n \"reference\": \"PDV2_1l308k75w\",\n \"tran_date\": \"2022-05-10\",\n \"due_date\": \"2022-05-20\",\n \"name\": \"Prueba Publico Update\",\n \"br_name\": \"Antonio\",\n \"curr_code\": \"MXN\",\n \"total_amount\": \"10.9\",\n \"allocated\": \"10.9\",\n \"over_due\": \"1\",\n \"outstanding\": \"1\",\n \"tax_id\": \"XAXX010101000\",\n \"debtor_no\": \"3\",\n \"uuid_sat_manual\": \"\",\n \"digital\": \"0\",\n \"rate\": \"1\",\n \"type_carta_porte\": \"0\"\n }\n ]\n}" } ] }, { "name": "Transaction", "request": { "method": "GET", "header": [], "url": { "raw": "{{API}}/api/v3/sales/transaction?trans_type=10&trans_no=1", "host": [ "{{API}}" ], "path": [ "api", "v3", "sales", "transaction" ], "query": [ { "key": "trans_type", "value": "10", "description": "Tipo de Transaccion (Obligatorio)" }, { "key": "trans_no", "value": "1", "description": "Número de Transaccion (Obligatorio si no hay referencia)" }, { "key": "reference", "value": "CALIDAD1001", "description": "Referencia (Obligatorio si no hay número de transaccion)", "disabled": true } ] }, "description": "**INFORMACIÓN DEL ENDPOINT**\n\nESTE METODO GET SIRVE PARA CONSEGUIR INFORMACION DETALLADA DE UNA TRANSACCION.\n\n***PARAMS:**\n\n**1.-ATRIBUTOS O CAMPOS DEL PARAMS:**\n\n**1.1.-\"trans_no\"=** ES UN CAMPO OBLIGATORIO SI NO HAY REFERENCIA Y ES DE TIPO NUMERICO. SE VA ENVIAR EL NUMERO DE LA TRANSACCION.\n\n**1.2.-\"trans_type\"=** ES UN CAMPO OBLIGATORIO Y ES DE TIPO NUMERICO. SE VA ENVIAR EL TIPO DE TRANSACCION.\n\n**1.3.-\"reference\"=** ES UN CAMPO OBLIGATORIO SI NO HAY NUMERO DE TRANSACCION Y ES DE TIPO STRING. SE VA ENVIAR LA REFERENCIA DE LA TRANSACCION." }, "response": [ { "name": "Transaction", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{API}}/api/v3/sales/transaction?trans_type=10&trans_no=1", "host": [ "{{API}}" ], "path": [ "api", "v3", "sales", "transaction" ], "query": [ { "key": "trans_type", "value": "10", "description": "Tipo de Transaccion (Obligatorio)" }, { "key": "trans_no", "value": "1", "description": "Número de Transaccion (Obligatorio si no hay referencia)" }, { "key": "reference", "value": "CALIDAD1001", "description": "Referencia (Obligatorio si no hay número de transaccion)", "disabled": true } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Thu, 01 Sep 2022 02:55:02 GMT" }, { "key": "Server", "value": "Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.4.1" }, { "key": "Vary", "value": "Authorization" }, { "key": "X-Powered-By", "value": "PHP/7.4.1" }, { "key": "Expires", "value": "Thu, 19 Nov 1981 08:52:00 GMT" }, { "key": "Cache-Control", "value": "private" }, { "key": "Pragma", "value": "no-cache" }, { "key": "Content-Length", "value": "1936" }, { "key": "Keep-Alive", "value": "timeout=5, max=100" }, { "key": "Connection", "value": "Keep-Alive" }, { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"version\": \"3.22.35\",\n \"trans_no\": \"1\",\n \"type\": \"10\",\n \"debtor_no\": \"1\",\n \"branch_code\": \"1\",\n \"tran_date\": \"2021-10-15\",\n \"due_date\": \"2021-10-25\",\n \"reference\": \"DEF_26169dd4c489cd\",\n \"tpe\": \"1\",\n \"order_\": \"1\",\n \"ov_amount\": \"200\",\n \"ov_gst\": \"32\",\n \"ov_freight\": \"0\",\n \"ov_freight_tax\": \"0\",\n \"ov_discount\": \"0\",\n \"alloc\": \"232\",\n \"rate\": \"1\",\n \"ship_via\": \"1\",\n \"dimension_id\": \"0\",\n \"dimension2_id\": \"0\",\n \"dimension3_id\": \"0\",\n \"dimension4_id\": \"0\",\n \"dimension5_id\": \"0\",\n \"dimension6_id\": \"0\",\n \"payment_terms\": \"3\",\n \"digital\": \"0\",\n \"uuid_sat_manual\": \"\",\n \"metodo_de_pago\": \"\",\n \"payment_date\": \"2021-10-25\",\n \"pdv_metodo_pago_cfdi\": \"\",\n \"type_carta_porte\": \"0\",\n \"Total\": \"232\",\n \"DebtorName\": \"PUBLICO EN GENERAL\",\n \"address\": \" #, , 64000, , , \",\n \"curr_code\": \"MXN\",\n \"tax_id\": \"XAXX010101000\",\n \"memo_\": \"\",\n \"shipper_name\": \"Default\",\n \"sales_type\": \"PÚBLICO\",\n \"tax_included\": \"0\",\n \"br_name\": \"PUBLICO EN GENERAL\",\n \"branch_ref\": \"PUBLICO EN GENERAL\",\n \"br_address\": \" \",\n \"area\": \"1\",\n \"salesman\": \"1\",\n \"contact_name\": \"\",\n \"default_location\": \"DEF\",\n \"tax_group_id\": \"2\",\n \"sales_account\": \"\",\n \"sales_discount_account\": \"402.01.001\",\n \"receivables_account\": \"105.01.001\",\n \"payment_discount_account\": \"402.01.001\",\n \"default_ship_via\": \"1\",\n \"disable_trans\": \"0\",\n \"br_post_address\": \" \",\n \"group_no\": \"0\",\n \"notes\": \"\",\n \"inactive\": \"0\",\n \"dist_km\": \"0\",\n \"discount\": \"0.1\",\n \"tax_group_name\": \"Con Impuestos\",\n \"branch\": {\n \"branch_code\": \"1\",\n \"debtor_no\": \"1\",\n \"br_name\": \"PUBLICO EN GENERAL\",\n \"branch_ref\": \"PUBLICO EN GENERAL\",\n \"br_address\": \" \",\n \"area\": \"1\",\n \"salesman\": \"1\",\n \"contact_name\": \"\",\n \"default_location\": \"DEF\",\n \"tax_group_id\": \"2\",\n \"sales_account\": \"\",\n \"sales_discount_account\": \"402.01.001\",\n \"receivables_account\": \"105.01.001\",\n \"payment_discount_account\": \"402.01.001\",\n \"default_ship_via\": \"1\",\n \"disable_trans\": \"0\",\n \"br_post_address\": \" \",\n \"group_no\": \"0\",\n \"notes\": \"\",\n \"inactive\": \"0\",\n \"dist_km\": \"0\",\n \"salesman_name\": \"Vendedor 1\"\n },\n \"items\": [\n {\n \"stock_id\": \"SALDOS\",\n \"StockDescription\": \"SALDO_INICIAL\",\n \"quantity\": \"2\",\n \"units\": \"SRV\",\n \"unit_price\": \"100\",\n \"descuento\": 0,\n \"value\": \"200\"\n }\n ],\n \"subtotal\": 200\n}" } ] } ] }, { "name": "Accounting", "item": [ { "name": "Cuentas de Banco", "request": { "method": "GET", "header": [], "url": { "raw": "{{API}}/api/v3/bank/bankaccounts?show_inactive=true&skip=0&limit=25", "host": [ "{{API}}" ], "path": [ "api", "v3", "bank", "bankaccounts" ], "query": [ { "key": "show_inactive", "value": "true" }, { "key": "skip", "value": "0" }, { "key": "limit", "value": "25" } ] }, "description": "This method allows to fetch a list of the current bank accounts" }, "response": [ { "name": "Bank Accounts Example", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{API}}/api/v3/bank/bankaccounts?show_inactive=true&skip=0&limit=25", "host": [ "{{API}}" ], "path": [ "api", "v3", "bank", "bankaccounts" ], "query": [ { "key": "show_inactive", "value": "true", "description": "[optional] Flag, shows inactive records (do not send to only show active)" }, { "key": "skip", "value": "0", "description": "[optional] Skip this amount of records" }, { "key": "limit", "value": "25", "description": "[optional] Amount of records to fetch" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Mon, 27 Jan 2020 16:04:28 GMT" }, { "key": "Server", "value": "Apache" }, { "key": "Expires", "value": "Thu, 19 Nov 1981 08:52:00 GMT" }, { "key": "Pragma", "value": "no-cache" }, { "key": "Cache-control", "value": "private" }, { "key": "Access-Control-Allow-Origin", "value": "*" }, { "key": "Access-Control-Allow-Methods", "value": "POST, GET, DELETE, PUT, PATCH, OPTIONS" }, { "key": "Access-Control-Allow-Headers", "value": "Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With" }, { "key": "Keep-Alive", "value": "timeout=5, max=100" }, { "key": "Connection", "value": "Keep-Alive" }, { "key": "Transfer-Encoding", "value": "chunked" }, { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"messages\": [],\n \"result\": true,\n \"version\": [\n 2,\n 1,\n 2095\n ],\n \"total\": 2,\n \"limit\": 25,\n \"skip\": 0,\n \"data\": [\n {\n \"account_code\": \"101-01-001\",\n \"account_type\": \"3\",\n \"bank_account_name\": \"Caja Chica\",\n \"bank_account_number\": \"\",\n \"bank_name\": \"Na\",\n \"bank_address\": \"\",\n \"bank_curr_code\": \"MXN\",\n \"dflt_curr_act\": \"0\",\n \"id\": \"2\",\n \"last_reconciled_date\": \"0000-00-00 00:00:00\",\n \"ending_reconcile_balance\": \"0\",\n \"inactive\": \"0\",\n \"banco_sat\": \"93\",\n \"account_name\": \"Caja Chica\"\n },\n {\n \"account_code\": \"103-0001-0003\",\n \"account_type\": \"0\",\n \"bank_account_name\": \"Principal\",\n \"bank_account_number\": \"000000000000000000\",\n \"bank_name\": \"Banamex\",\n \"bank_address\": \"\",\n \"bank_curr_code\": \"MXN\",\n \"dflt_curr_act\": \"0\",\n \"id\": \"1\",\n \"last_reconciled_date\": \"0000-00-00 00:00:00\",\n \"ending_reconcile_balance\": \"0\",\n \"inactive\": \"0\",\n \"banco_sat\": \"1\",\n \"account_name\": \"Banamex\"\n }\n ]\n}" } ] }, { "name": "Bancos", "request": { "method": "GET", "header": [], "url": { "raw": "{{API}}/api/v3/banks?show_inactive=true&skip=0&limit=25", "host": [ "{{API}}" ], "path": [ "api", "v3", "banks" ], "query": [ { "key": "show_inactive", "value": "true", "description": "Mostrar inactivos" }, { "key": "skip", "value": "0", "description": "Numero de filas a saltar" }, { "key": "limit", "value": "25", "description": "Numero limite de registros a cargar" } ] } }, "response": [] }, { "name": "Crear asiento de diario", "event": [ { "listen": "test", "script": { "exec": [ "var template = `\r", "\r", "\r", "