> For the complete documentation index, see [llms.txt](https://docs.afipsdk.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.afipsdk.com/siguientes-pasos/web-services/padron-alcance-10.md).

# Padrón alcance 10

### Requisitos previos

Para poder usar esta guía, primero necesitarás:

* [Integrar Afip SDK en tu proyecto](/readme.md#integracion)

***

La especificación de este Web Service se encuentra disponible en <https://www.afip.gob.ar/ws/ws_sr_padron_a10/manual_ws_sr_padron_a10_v1.1.pdf>

<details>

<summary>Identificador <kbd>ws_sr_padron_a10</kbd></summary>

Producción <img src="https://4026677166-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVEAVwm5cCW83gSe7NH8Z%2Fuploads%2Fgit-blob-08bbe114e5ab19c9a903bc5ca2aa1f9108c521c4%2F3.png?alt=media" alt="Produccion" data-size="line">

Desarrollo <img src="https://4026677166-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVEAVwm5cCW83gSe7NH8Z%2Fuploads%2Fgit-blob-c408db256ec9c00fe14b3105ebdec7b4e2200b96%2F3.png?alt=media" alt="Desarrollo" data-size="original">

</details>

### **Obtener datos del contribuyente**

Nos devolverá un objeto con los detalles o `null` en caso de no existir en el padrón.

{% tabs %}
{% tab title="Node" %}

```js
// CUIT del contribuyente
const taxId = 20111111111;

const taxpayerDetails = await afip.RegisterScopeTen.getTaxpayerDetails(taxId);
```

{% endtab %}

{% tab title="PHP" %}

```php
// CUIT del contribuyente
$tax_id = 20111111111;

$taxpayer_details = $afip->RegisterScopeTen->GetTaxpayerDetails($tax_id); 
```

{% endtab %}

{% tab title="Ruby" %}

```ruby
# CUIT del contribuyente
tax_id = 20111111111

taxpayer_details = afip.RegisterScopeTen.getTaxpayerDetails(tax_id)
```

{% endtab %}

{% tab title="Python" %}

```python
# CUIT del contribuyente
tax_id = 20111111111

taxpayer_details = afip.RegisterScopeTen.getTaxpayerDetails(tax_id)
```

{% endtab %}

{% tab title="API" %}
**Endpoint**

<mark style="color:blue;">`POST`</mark> `https://app.afipsdk.com/api/v1/afip/requests`

**Ejemplo**

```json
{
    "environment": "dev",
    "method": "getPersona",
    "wsid": "ws_sr_padron_a10",
    "params": {
        "token": "{{token}}",
        "sign": "{{sign}}",
        "cuitRepresentada": "20409378472",
        "idPersona" : 20111111111
    }
}
```

{% endtab %}
{% endtabs %}

### **Obtener estado del servidor**

{% hint style="warning" %}
No te confíes mucho de este método, ARCA siempre devuelve que esta todo bien incluso cuando hay algo fallando.
{% endhint %}

{% tabs %}
{% tab title="Node" %}

```js
const serverStatus = await afip.RegisterScopeTen.getServerStatus();

console.log('Este es el estado del servidor:');
console.log(serverStatus);
```

{% endtab %}

{% tab title="PHP" %}

```php
$server_status = $afip->RegisterScopeTen->GetServerStatus();

echo 'Este es el estado del servidor:';
echo '<pre>';
print_r($server_status);
echo '</pre>';
```

{% endtab %}

{% tab title="Ruby" %}

```ruby
server_status = afip.RegisterScopeTen.getServerStatus

puts "Este es el estado del servidor:"
puts server_status
```

{% endtab %}

{% tab title="Python" %}

```python
server_status = afip.RegisterScopeTen.getServerStatus()

print("Este es el estado del servidor:")
print(server_status)
```

{% endtab %}

{% tab title="API" %}
**Endpoint**

<mark style="color:blue;">`POST`</mark> `https://app.afipsdk.com/api/v1/afip/requests`

**Ejemplo**

```json
{
    "environment": "dev",
    "method": "dummy",
    "wsid": "ws_sr_padron_a10",
    "params": {}
}
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.afipsdk.com/siguientes-pasos/web-services/padron-alcance-10.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
