# Connect Manager AI Context: Docs
> AI-Optimized View generated at 2026-02-26 04:22:51

# Series

<!-- Note: Content converted from HTML/Markdown mixed -->
# Series

Las series de documentos se indican dentro del elemento `Series`. Todas las series son opcionales; si no se incluye una, no será modificada.

## Ejemplo XML

```xml
<Series>
  <BasicInvoice Name="T" LastNumber="0"/>
  <StandardInvoice Name="F" LastNumber="99"/>
  <BasicRefund Name="TD" LastNumber="0"/>
  <StandardRefund Name="FD" LastNumber="0"/>
  <DeliveryNote Name="ALB" LastNumber="80"/>
  <SalesOrder Name="PED" LastNumber="91"/>
</Series>
```

## Ejemplo JSON

```json
{
  "Series": {
    "BasicInvoice": { "Name": "T", "LastNumber": 0 },
    "StandardInvoice": { "Name": "F", "LastNumber": 99 },
    "BasicRefund": { "Name": "TD", "LastNumber": 0 },
    "StandardRefund": { "Name": "FD", "LastNumber": 0 },
    "DeliveryNote": { "Name": "ALB", "LastNumber": 80 },
    "SalesOrder": { "Name": "PED", "LastNumber": 91 }
  }
}
```

## Atributos

| Campo | Descripción |
|-------|-------------|
| **Name [Obligatorio]** | Nombre de la serie. |
| **LastNumber** | Último documento generado en esa serie. El siguiente documento será LastNumber+1. |
