{"id":31713,"date":"2024-11-05T17:34:45","date_gmt":"2024-11-05T17:34:45","guid":{"rendered":"https:\/\/axosnet.info\/?post_type=docs&#038;p=31713"},"modified":"2025-04-16T23:05:43","modified_gmt":"2025-04-16T23:05:43","password":"","slug":"orden-de-compra-en-endpoint","status":"publish","type":"docs","link":"https:\/\/axosnet.info\/es\/docs\/orden-de-compra-en-endpoint\/","title":{"rendered":"Endpoint Orden de Compra"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"31713\" class=\"elementor elementor-31713 elementor-25807\" data-elementor-post-type=\"docs\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-4dfad89 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"4dfad89\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-d5d0f3a\" data-id=\"d5d0f3a\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-98e937f elementor-widget elementor-widget-text-editor\" data-id=\"98e937f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><span style=\"font-weight: 400;\">Este endpoint manda a crear una orden de compra a ACP3.<\/span><\/p><table><tbody><tr><td><p><span style=\"font-weight: 400;\">https:\/\/devapiacp3.axosnet.io\/api\/v1\/PurchaseOrder\/Create<\/span><\/p><\/td><td><p><span style=\"font-weight: 400;\">M\u00e9todo <\/span><b>POST<\/b><\/p><\/td><\/tr><\/tbody><\/table><p><strong>Body:<\/strong><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-49e991c elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"49e991c\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-top-column elementor-element elementor-element-7fb4b6e\" data-id=\"7fb4b6e\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-bb2e4cc elementor-widget elementor-widget-code-highlight\" data-id=\"bb2e4cc\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-default copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-javascript line-numbers\">\n\t\t\t\t<code readonly=\"true\" class=\"language-javascript\">\n\t\t\t\t\t<xmp>{\r\n  \"clientTaxId\": \"string\",\r\n  \"clientName\": \"string\",\r\n  \"supplierTaxId\": \"string\",\r\n  \"supplierName\": \"string\",\r\n  \"amountWithoutVat\": 0,\r\n  \"currencyCode\": \"string\",\r\n  \"description\": \"string\",\r\n  \"discountPercentage\": 0,\r\n  \"discountTerms\": \"string\",\r\n  \"id\": 0,\r\n  \"isTest\": true,\r\n  \"isChangeOrder\": true,\r\n  \"ledgerCode\": \"string\",\r\n  \"name\": \"string\",\r\n  \"neededByDate\": \"2023-09-14T21:01:18.142Z\",\r\n  \"orderDate\": \"2023-09-14T21:01:18.142Z\",\r\n  \"paymentTerms\": \"string\",\r\n  \"policyExternalID\": 0,\r\n  \"poVendorTaxId\": 0,\r\n  \"provincialTaxId\": 0,\r\n  \"purchaseOrderNumber\": \"string\",\r\n  \"purchaseRequestNumber\": \"string\",\r\n  \"receiptType\": \"string\",\r\n  \"requestedBy\": \"string\",\r\n  \"requestedDeliveryDate\": \"2023-09-14T21:01:18.142Z\",\r\n  \"shipping\": 0,\r\n  \"shippingDescription\": \"string\",\r\n  \"shippingMethodKey\": \"string\",\r\n  \"shippingTermsKey\": \"string\",\r\n  \"status\": true,\r\n  \"taxPurchaseOrder\": 0,\r\n  \"uri\": \"string\",\r\n  \"vatAmountOne\": 0,\r\n  \"vatAmountTwo\": 0,\r\n  \"vatRateOne\": 0,\r\n  \"vatRateTwo\": 0,\r\n  \"vendorAccountNumber\": \"string\",\r\n  \"vendorAddressCode\": \"string\",\r\n  \"vendorCode\": \"string\",\r\n  \"totalGrossValue\": 0,\r\n  \"lastChangeDate\": \"2023-09-14T21:01:18.142Z\",\r\n  \"lastChangeTime\": \"2023-09-14T21:01:18.142Z\",\r\n  \"isDeleted\": true,\r\n  \"listItem\": [\r\n    {\r\n      \"accountCode\": \"string\",\r\n      \"amountWithoutVat\": 0,\r\n      \"createDate\": \"2023-09-14T21:01:18.142Z\",\r\n      \"description\": \"string\",\r\n      \"expenseType\": \"string\",\r\n      \"externalID\": \"string\",\r\n      \"isReceiptRequired\": true,\r\n      \"lineNumber\": \"string\",\r\n      \"quantity\": 0,\r\n      \"purchaseOrderReceiptType\": \"string\",\r\n      \"requestedBy\": \"string\",\r\n      \"requestedDeliveryDate\": \"2023-09-14T21:01:18.142Z\",\r\n      \"supplierPartID\": \"string\",\r\n      \"tax\": 0,\r\n      \"unitOfMeasureCode\": \"string\",\r\n      \"unitPrice\": 0,\r\n      \"vatAmount\": 0,\r\n      \"vatRate\": 0,\r\n      \"itemDeletionIndicator\": true,\r\n      \"grossValueItem\": 0,\r\n      \"isDeleted\": true,\r\n      \"allocation\": [\r\n        {\r\n          \"amount\": 0,\r\n          \"grossAmount\": 0,\r\n          \"percentage\": 0,\r\n          \"isDeleted\": true\r\n        }\r\n      ]\r\n    }\r\n  ],\r\n  \"billToAddress\": {\r\n    \"address1\": \"string\",\r\n    \"address2\": \"string\",\r\n    \"address3\": \"string\",\r\n    \"city\": \"string\",\r\n    \"countryCode\": \"string\",\r\n    \"externalID\": \"string\",\r\n    \"name\": \"string\",\r\n    \"postalCode\": \"string\",\r\n    \"stateProvince\": \"string\"\r\n  },\r\n  \"shipToAddress\": {\r\n    \"address1\": \"string\",\r\n    \"address2\": \"string\",\r\n    \"address3\": \"string\",\r\n    \"city\": \"string\",\r\n    \"countryCode\": \"string\",\r\n    \"externalID\": \"string\",\r\n    \"name\": \"string\",\r\n    \"postalCode\": \"string\",\r\n    \"stateProvince\": \"string\"\r\n  },\r\n  \"sapeccSpecifics\": {\r\n    \"logicalSystem\": \"string\",\r\n    \"clientNumber\": \"string\",\r\n    \"documentType\": \"string\",\r\n    \"companyCode\": \"string\",\r\n    \"purchasingOrgDesc\": \"string\",\r\n    \"purchasingGrpDesc\": \"string\"\r\n  }\r\n}<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-top-column elementor-element elementor-element-0a78f09\" data-id=\"0a78f09\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-9b29dd9 elementor-widget elementor-widget-text-editor\" data-id=\"9b29dd9\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<table style=\"height: 2050px;\" width=\"98\"><tbody><tr><td><strong>Body<\/strong><\/td><\/tr><\/tbody><\/table>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-31223c8 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"31223c8\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-da4066f\" data-id=\"da4066f\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-1520177 elementor-widget elementor-widget-text-editor\" data-id=\"1520177\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><b>Resultado:<\/b><\/p><table><tbody><tr><td><p><span style=\"font-weight: 400;\">StatusCode<\/span><\/p><\/td><td><p><span style=\"font-weight: 400;\">Message<\/span><\/p><\/td><\/tr><tr><td><p><span style=\"font-weight: 400;\">200<\/span><\/p><\/td><td><p><span style=\"font-weight: 400;\">Ok<\/span><\/p><\/td><\/tr><tr><td><p><span style=\"font-weight: 400;\">400<\/span><\/p><\/td><td><p><span style=\"font-weight: 400;\">Data Error<\/span><\/p><\/td><\/tr><tr><td><p><span style=\"font-weight: 400;\">400<\/span><\/p><\/td><td><p><span style=\"font-weight: 400;\">The Application is not subscribed<\/span><\/p><\/td><\/tr><tr><td><p><span style=\"font-weight: 400;\">401<\/span><\/p><\/td><td><p><span style=\"font-weight: 400;\">unauthorized<\/span><\/p><\/td><\/tr><tr><td><p><span style=\"font-weight: 400;\">500<\/span><\/p><\/td><td><p><span style=\"font-weight: 400;\">Exception Message<\/span><\/p><\/td><\/tr><\/tbody><\/table><p><strong>Notas:<\/strong><\/p><ul><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Para actualizar una orden de compra, se requieren los siguientes campos obligatorios:<\/span><\/li><\/ul><p><span style=\"font-weight: 400;\">PurchaseOrder:<\/span><\/p><ul><li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">purchaseOrderNumber<\/span><\/li><\/ul><p><span style=\"font-weight: 400;\">\u00a0<\/span> <span style=\"font-weight: 400;\">Items:<\/span><\/p><ul><li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">LineNumber<\/span><\/li><\/ul><p><span style=\"font-weight: 400;\">Para actualizar una orden de compra, se requieren los siguientes campos obligatorios:<\/span><\/p><ul><li style=\"list-style-type: none;\"><ul><li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">\u201cpurchaseOrderNumber&#8221;<\/span><span style=\"font-weight: 400;\">: <\/span><b>\u201cPO98765\u201d,<\/b><\/li><\/ul><\/li><\/ul><ul><li aria-level=\"2\"><span style=\"font-weight: 400;\">\u201cisDeleted&#8221;<\/span><span style=\"font-weight: 400;\">: <\/span><b>true<\/b><\/li><\/ul><p><span style=\"font-weight: 400;\">Si necesita eliminar un item de la orden de compra, los siguientes campos son obligatorios:<\/span><\/p><p><span style=\"font-weight: 400;\">&#8220;listItem&#8221;<\/span><span style=\"font-weight: 400;\">: [<\/span><\/p><p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0{\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/span><\/p><p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/span><span style=\"font-weight: 400;\">&#8220;lineNumber&#8221;<\/span><span style=\"font-weight: 400;\">: <\/span><b>\u201c001\u201d<\/b><span style=\"font-weight: 400;\">,\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/span><\/p><p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/span><span style=\"font-weight: 400;\">&#8220;isDeleted&#8221;<\/span><span style=\"font-weight: 400;\">: <\/span><b>true<\/b><\/p><p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0}<\/span><\/p><ul><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Los datos que no se van a proporcionar y que no son obligatorios, establezca el valor <\/span><b>NULL<\/b><\/li><\/ul><ul><li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">\u201cpaymentTerms&#8221;<\/span><span style=\"font-weight: 400;\">: <\/span><b>null<\/b><span style=\"font-weight: 400;\">,<\/span><\/li><li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">&#8220;policyExternalID&#8221;<\/span><span style=\"font-weight: 400;\">: <\/span><b>null<\/b><span style=\"font-weight: 400;\">,<\/span><\/li><li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">&#8220;poVendorTaxId&#8221;<\/span><span style=\"font-weight: 400;\">: <\/span><b>null<\/b><span style=\"font-weight: 400;\">,<\/span><\/li><li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">&#8220;provincialTaxId&#8221;<\/span><span style=\"font-weight: 400;\">: <\/span><b>null<\/b><span style=\"font-weight: 400;\">,<\/span><\/li><\/ul><p><strong>Paso a Paso:<\/strong><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-8b2ca5d elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"8b2ca5d\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-top-column elementor-element elementor-element-d146952\" data-id=\"d146952\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-d8b7cbc elementor-widget elementor-widget-text-editor\" data-id=\"d8b7cbc\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<table style=\"height: 50 px;\" width=\"286\"><tbody><tr><td><strong>JSON<\/strong><\/td><\/tr><\/tbody><\/table>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-top-column elementor-element elementor-element-eed321c\" data-id=\"eed321c\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-80da2ee elementor-widget elementor-widget-text-editor\" data-id=\"80da2ee\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<table style=\"height: 50 px;\" width=\"286\"><tbody><tr><td><strong>Notas<\/strong><\/td><\/tr><\/tbody><\/table>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-eac6c89 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"eac6c89\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-top-column elementor-element elementor-element-ff5fc6d\" data-id=\"ff5fc6d\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-63f95ba elementor-widget elementor-widget-text-editor\" data-id=\"63f95ba\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><img decoding=\"async\" src=\"https:\/\/axosnet.info\/wp-content\/uploads\/2024\/11\/Endpiont-Purchase-Order-01.png\" \/><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-top-column elementor-element elementor-element-e1f396f\" data-id=\"e1f396f\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-58b8c85 elementor-widget elementor-widget-text-editor\" data-id=\"58b8c85\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<table style=\"height: 347px;\" width=\"306\"><tbody><tr><td><strong><span style=\"font-weight: 400;\">Obtener token con ClientId y Client Secret<\/span><\/strong><\/td><\/tr><\/tbody><\/table>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-bf11bd0 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"bf11bd0\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-top-column elementor-element elementor-element-eca4e41\" data-id=\"eca4e41\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-790decb elementor-widget elementor-widget-text-editor\" data-id=\"790decb\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><img decoding=\"async\" src=\"https:\/\/axosnet.info\/wp-content\/uploads\/2024\/11\/Endpiont-Purchase-Order-02.png\" \/><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-top-column elementor-element elementor-element-16fdaf8\" data-id=\"16fdaf8\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-7713595 elementor-widget elementor-widget-text-editor\" data-id=\"7713595\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<table style=\"height: 213px;\" width=\"192\"><tbody><tr><td><p><span style=\"font-weight: 400;\">Copiar y pegar token\u00a0<\/span><\/p><\/td><\/tr><\/tbody><\/table>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-09de71b elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"09de71b\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-top-column elementor-element elementor-element-1594a2d\" data-id=\"1594a2d\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-dac0502 elementor-widget elementor-widget-text-editor\" data-id=\"dac0502\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><img decoding=\"async\" src=\"https:\/\/axosnet.info\/wp-content\/uploads\/2024\/11\/Endpiont-Purchase-Order-03.png\" \/><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-top-column elementor-element elementor-element-e6625dd\" data-id=\"e6625dd\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-8faf425 elementor-widget elementor-widget-text-editor\" data-id=\"8faf425\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<table style=\"height: 212px;\" width=\"196\"><tbody><tr><td><p><span style=\"font-weight: 400;\">Set body<\/span><\/p><\/td><\/tr><\/tbody><\/table>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-411cef6 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"411cef6\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-top-column elementor-element elementor-element-467bf15\" data-id=\"467bf15\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-04d93b5 elementor-widget elementor-widget-code-highlight\" data-id=\"04d93b5\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-default copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-javascript line-numbers\">\n\t\t\t\t<code readonly=\"true\" class=\"language-javascript\">\n\t\t\t\t\t<xmp>{\r\n  \"clientTaxId\": null,\r\n  \"clientName\": null,\r\n  \"supplierTaxId\": null,\r\n  \"supplierName\": null,\r\n  \"amountWithoutVat\": null,\r\n  \"currencyCode\": null,\r\n  \"description\": null,\r\n  \"discountPercentage\": null,\r\n  \"discountTerms\": null,\r\n  \"id\": null,\r\n  \"isTest\": null,\r\n  \"isChangeOrder\": null,\r\n  \"ledgerCode\": null,\r\n  \"name\": null,\r\n  \"neededByDate\": null,\r\n  \"orderDate\": null,\r\n  \"paymentTerms\": null,\r\n  \"policyExternalID\": null,\r\n  \"poVendorTaxId\": null,\r\n  \"provincialTaxId\": null,\r\n  \"purchaseOrderNumber\": \"PO12023\",\r\n  \"purchaseRequestNumber\": null,\r\n  \"receiptType\": null,\r\n  \"requestedBy\": null,\r\n  \"requestedDeliveryDate\": null,\r\n  \"shipping\": null,\r\n  \"shippingDescription\": null,\r\n  \"shippingMethodKey\": null,\r\n  \"shippingTermsKey\": null,\r\n  \"status\": null,\r\n  \"taxPurchaseOrder\": null,\r\n  \"uri\": null,\r\n  \"vatAmountOne\": null,\r\n  \"vatAmountTwo\": null,\r\n  \"vatRateOne\": null,\r\n  \"vatRateTwo\": null,\r\n  \"vendorAccountNumber\": null,\r\n  \"vendorAddressCode\": null,\r\n  \"vendorCode\": null,\r\n  \"totalGrossValue\": null,\r\n  \"lastChangeDate\": null,\r\n  \"lastChangeTime\": null,\r\n  \"isDeleted\": false,\r\n  \"listItem\": [\r\n    {\r\n      \"accountCode\": null,\r\n      \"amountWithoutVat\": null,\r\n      \"createDate\": null,\r\n      \"description\": null,\r\n      \"expenseType\": null,\r\n      \"externalID\": null,\r\n      \"isReceiptRequired\": null,\r\n      \"lineNumber\": \"01\",\r\n      \"quantity\": null,\r\n      \"purchaseOrderReceiptType\": null,\r\n      \"requestedBy\": null,\r\n      \"requestedDeliveryDate\": null,\r\n      \"supplierPartID\": null,\r\n      \"tax\": null,\r\n      \"unitOfMeasureCode\": null,\r\n      \"unitPrice\": null,\r\n      \"vatAmount\": null,\r\n      \"vatRate\": null,\r\n      \"itemDeletionIndicator\": null,\r\n      \"grossValueItem\": null,\r\n      \"isDeleted\": true,\r\n      \"allocation\": [\r\n        {\r\n          \"amount\": null,\r\n          \"grossAmount\": null,\r\n          \"percentage\": null,\r\n          \"isDeleted\": null\r\n        }\r\n      ]\r\n    }\r\n  ],\r\n  \"billToAddress\": {\r\n    \"address1\": null,\r\n    \"address2\": null,\r\n    \"address3\": null,\r\n    \"city\": null,\r\n    \"countryCode\": null,\r\n    \"externalID\": null,\r\n    \"name\": null,\r\n    \"postalCode\": null,\r\n    \"stateProvince\": null\r\n  },\r\n  \"shipToAddress\": {\r\n    \"address1\": null,\r\n    \"address2\": null,\r\n    \"address3\": null,\r\n    \"city\": null,\r\n    \"countryCode\": null,\r\n    \"externalID\": null,\r\n    \"name\": null,\r\n    \"postalCode\": null,\r\n    \"stateProvince\": null\r\n  },\r\n  \"sapeccSpecifics\": {\r\n    \"logicalSystem\": null,\r\n    \"clientNumber\": null,\r\n    \"documentType\": null,\r\n    \"companyCode\": null,\r\n    \"purchasingOrgDesc\": null,\r\n    \"purchasingGrpDesc\": null\r\n  }\r\n}<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-top-column elementor-element elementor-element-cbd1635\" data-id=\"cbd1635\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-bb0e51c elementor-widget elementor-widget-text-editor\" data-id=\"bb0e51c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<table style=\"height: 2130px;\" width=\"186\">\n<tbody>\n<tr>\n<td><span style=\"font-weight: 400;\">Ejemplo (Body)\u00a0<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-00d928c elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"00d928c\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-top-column elementor-element elementor-element-4b7821e\" data-id=\"4b7821e\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-40be137 elementor-widget elementor-widget-text-editor\" data-id=\"40be137\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><img decoding=\"async\" src=\"https:\/\/axosnet.info\/wp-content\/uploads\/2024\/11\/Endpiont-Purchase-Order-04.png\" \/><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-top-column elementor-element elementor-element-1f14fa8\" data-id=\"1f14fa8\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-4f0a030 elementor-widget elementor-widget-text-editor\" data-id=\"4f0a030\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<table style=\"height: 197px;\" width=\"286\"><tbody><tr><td><p><span style=\"font-weight: 400;\">Resultado<\/span><\/p><\/td><\/tr><\/tbody><\/table>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-a8d7eed elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"a8d7eed\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-a5711c8\" data-id=\"a5711c8\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-f753955 elementor-widget elementor-widget-text-editor\" data-id=\"f753955\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><strong>Resultado:<\/strong><\/p><table><tbody><tr><td><p><span style=\"font-weight: 400;\">StatusCode<\/span><\/p><\/td><td><p><span style=\"font-weight: 400;\">Message<\/span><\/p><\/td><\/tr><tr><td><p><span style=\"font-weight: 400;\">200<\/span><\/p><\/td><td><p><span style=\"font-weight: 400;\">Ok<\/span><\/p><\/td><\/tr><tr><td><p><span style=\"font-weight: 400;\">400<\/span><\/p><\/td><td><p><span style=\"font-weight: 400;\">Data Error<\/span><\/p><\/td><\/tr><tr><td><p><span style=\"font-weight: 400;\">400<\/span><\/p><\/td><td><p><span style=\"font-weight: 400;\">The Application is not subscribed<\/span><\/p><\/td><\/tr><tr><td><p><span style=\"font-weight: 400;\">401<\/span><\/p><\/td><td><p><span style=\"font-weight: 400;\">unauthorized<\/span><\/p><\/td><\/tr><tr><td><p><span style=\"font-weight: 400;\">500<\/span><\/p><\/td><td><p><span style=\"font-weight: 400;\">Exception Message<\/span><\/p><\/td><\/tr><\/tbody><\/table>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Este endpoint manda a crear una orden de compra a ACP3. https:\/\/devapiacp3.axosnet.io\/api\/v1\/PurchaseOrder\/Create M\u00e9todo POST Body: { &#8220;clientTaxId&#8221;: &#8220;string&#8221;, &#8220;clientName&#8221;: &#8220;string&#8221;, &#8220;supplierTaxId&#8221;: &#8220;string&#8221;, &#8220;supplierName&#8221;: &#8220;string&#8221;, &#8220;amountWithoutVat&#8221;: 0, &#8220;currencyCode&#8221;: &#8220;string&#8221;, &#8220;description&#8221;: &#8220;string&#8221;, &#8220;discountPercentage&#8221;: 0, &#8220;discountTerms&#8221;: &#8220;string&#8221;, &#8220;id&#8221;: 0, &#8220;isTest&#8221;: true, &#8220;isChangeOrder&#8221;: true, &#8220;ledgerCode&#8221;: &#8220;string&#8221;, &#8220;name&#8221;: &#8220;string&#8221;, &#8220;neededByDate&#8221;: &#8220;2023-09-14T21:01:18.142Z&#8221;, &#8220;orderDate&#8221;: &#8220;2023-09-14T21:01:18.142Z&#8221;, &#8220;paymentTerms&#8221;: &#8220;string&#8221;, &#8220;policyExternalID&#8221;: 0, &#8220;poVendorTaxId&#8221;: 0, &#8220;provincialTaxId&#8221;: [&hellip;]<\/p>\n","protected":false},"author":36,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"nf_dc_page":"","footnotes":""},"doc_category":[479],"doc_tag":[],"knowledge_base":[478],"class_list":["post-31713","docs","type-docs","status-publish","hentry","doc_category-acp-3-0-api-endpoints-es","knowledge_base-acs-serviciosweb"],"year_month":"2026-04","word_count":513,"total_views":"14","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"Daniel Galindo","author_nicename":"dgalindo","author_url":"https:\/\/axosnet.info\/es\/author\/dgalindo\/"},"doc_category_info":[{"term_name":"AXOSNET CLOUD PORTAL 3.0 - SERVICIOS WEB","term_url":"https:\/\/axosnet.info\/es\/docs\/acs-serviciosweb\/acp-3-0-api-endpoints-es\/"}],"doc_tag_info":[],"knowledge_base_info":[{"term_name":"Axosnet Servicios Web","term_url":"https:\/\/axosnet.info\/es\/docs\/acs-serviciosweb\/","term_slug":"acs-serviciosweb"}],"knowledge_base_slug":["acs-serviciosweb"],"_links":{"self":[{"href":"https:\/\/axosnet.info\/es\/wp-json\/wp\/v2\/docs\/31713","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/axosnet.info\/es\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/axosnet.info\/es\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/axosnet.info\/es\/wp-json\/wp\/v2\/users\/36"}],"replies":[{"embeddable":true,"href":"https:\/\/axosnet.info\/es\/wp-json\/wp\/v2\/comments?post=31713"}],"version-history":[{"count":15,"href":"https:\/\/axosnet.info\/es\/wp-json\/wp\/v2\/docs\/31713\/revisions"}],"predecessor-version":[{"id":33171,"href":"https:\/\/axosnet.info\/es\/wp-json\/wp\/v2\/docs\/31713\/revisions\/33171"}],"wp:attachment":[{"href":"https:\/\/axosnet.info\/es\/wp-json\/wp\/v2\/media?parent=31713"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/axosnet.info\/es\/wp-json\/wp\/v2\/doc_category?post=31713"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/axosnet.info\/es\/wp-json\/wp\/v2\/doc_tag?post=31713"},{"taxonomy":"knowledge_base","embeddable":true,"href":"https:\/\/axosnet.info\/es\/wp-json\/wp\/v2\/knowledge_base?post=31713"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}