---
updatedAt: 2025-06-11T01:56:01.000Z
agentTools:
  projectIndex: https://developers.osigu.com/llms.txt
---

# Obtener información de las relaciones de envío y su detalle

Este endpoint devuelve una lista paginable con las relaciones de envío y su detalle. Cada elemento contiene información propia de la relación de envío, información del provider, las facturas asociadas y los archivos RIPS cargados.  Cada item en la lista de facturas se contiene información de la factura, datos del payer y una lista de los soportes cargados para esa cuenta; La información por cada soporte incluye la url de S3 dónde se puede acceder a cada documento.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "genérico",
    "version": "4.0"
  },
  "servers": [
    {
      "url": "https://sandbox.osigu.com/"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "x-bearer-format": "bearer",
        "x-default": "99a801b4-6e34-4f64-94a9-c59ffc525c84"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/rcm/v1/pre-settlements/packages": {
      "get": {
        "summary": "Obtener información de las relaciones de envío y su detalle",
        "description": "Este endpoint devuelve una lista paginable con las relaciones de envío y su detalle. Cada elemento contiene información propia de la relación de envío, información del provider, las facturas asociadas y los archivos RIPS cargados.  Cada item en la lista de facturas se contiene información de la factura, datos del payer y una lista de los soportes cargados para esa cuenta; La información por cada soporte incluye la url de S3 dónde se puede acceder a cada documento.",
        "operationId": "9-obtener-información-de-las-relaciones-de-envío-y-su-detalle",
        "parameters": [
          {
            "name": "statuses",
            "in": "query",
            "description": "En el caso donde se necesite obtener todas cuyo estado este listo para ser radicado el valor a colocar seria: GENERATED",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"links\": [\n        {\n            \"rel\": \"first\",\n            \"href\": \"http://localhost:5000/rcm/v1/pre-settlements/packages?statuses=GENERATED&page=0&size=1\"\n        },\n        {\n            \"rel\": \"self\",\n            \"href\": \"http://localhost:5000/rcm/v1/pre-settlements/packages?statuses=GENERATED&page=0&size=1\"\n        },\n        {\n            \"rel\": \"next\",\n            \"href\": \"http://localhost:5000/rcm/v1/pre-settlements/packages?statuses=GENERATED&page=1&size=1\"\n        },\n        {\n            \"rel\": \"last\",\n            \"href\": \"http://localhost:5000/rcm/v1/pre-settlements/packages?statuses=GENERATED&page=12&size=1\"\n        }\n    ],\n    \"content\": [\n        {\n            \"id\": \"14f629d8-828f-44fc-bc18-f855f444fb8d\",\n            \"origin_invoice_group_id\": \"14842\",\n            \"path\": \"/Pruebas/2023/999/14842/\",\n            \"status\": \"GENERATED\",\n            \"provider\": {\n                \"id\": \"3866be2c-2a1e-47d3-90c3-9c1093404967\",\n                \"name\": \"ProviderName\",\n                \"slug\": \"ProviderSlug\"\n            },\n            \"invoices\": [\n                {\n                    \"id\": \"6753f55b-1605-474f-9f45-00aba3cf2cbd\",\n                    \"invoice_number\": \"FIES003\",\n                    \"package_status\": \"GENERATED\",\n                    \"supports\": [\n                        {\n                            \"id\": \"64f97155-27df-42ef-a407-6c99de7ee2b8\",\n                            \"file_name\": \"prueba_999.pdf\",\n                            \"extension\": \"pdf\",\n                            \"path\": \"https://<path>/4751f123-ee1c-48aa-974f-785d0794ef22/prueba_999.pdf\"\n                        }\n                    ],\n                    \"payer\": {\n                        \"id\": \"0b92c395-68e1-47d0-9639-be8329068d02\",\n                        \"name\": \"Nueva EPS\",\n                        \"slug\": \"nueva-eps-eps\",\n                        \"type\": \"EPS\"\n                    }\n                },\n                {\n                    \"id\": \"5a391583-ca0e-4c3a-9c17-72643372a4f9\",\n                    \"invoice_number\": \"FIES004\",\n                    \"package_status\": \"GENERATED\",\n                    \"supports\": [\n                        {\n                            \"id\": \"9d42ae28-00f4-4fbd-9e8b-5ae5a1d957b5\",\n                            \"file_name\": \"prueba_999.pdf_1\",\n                            \"extension\": \"pdf_1\",\n                            \"path\": \"https://<path>/4751f123-ee1c-48aa-974f-785d0794ef22/prueba_999.pdf\"\n                        },\n                        {\n                            \"id\": \"cf0c0b8c-dc3d-4d2f-8381-839f1a7d653b\",\n                            \"file_name\": \"prueba_999.pdf_2\",\n                            \"extension\": \"pdf_2\",\n                            \"path\": \"https://<path>/4751f123-ee1c-48aa-974f-785d0794ef22/prueba_999.pdf\"\n                        },\n                        {\n                            \"id\": \"bfbbff91-395b-4612-b09d-57905acb1e42\",\n                            \"file_name\": \"prueba_999.pdf_3\",\n                            \"extension\": \"pdf_3\",\n                            \"path\": \"https://<path>/4751f123-ee1c-48aa-974f-785d0794ef22/prueba_999.pdf\"\n                        }\n                    ],\n                    \"payer\": {\n                        \"id\": \"0b92c395-68e1-47d0-9639-be8329068d02\",\n                        \"name\": \"Nueva EPS\",\n                        \"slug\": \"nueva-eps-eps\",\n                        \"type\": \"EPS\"\n                    }\n                }\n            ],\n            \"files\": [\n                {\n                    \"id\": \"8c9ea871-ee20-45f1-a896-bae8c934c21b\",\n                    \"file_name\": \"14842.zip\",\n                    \"extension\": \"zip\",\n                    \"path\": \"https://<path>/4751f123-ee1c-48aa-974f-785d0794ef22/prueba_999.pdf\"\n                }\n            ],\n            \"links\": []\n        }\n    ],\n    \"page\": {\n        \"size\": 1,\n        \"total_elements\": 13,\n        \"total_pages\": 13,\n        \"number\": 0\n    }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "links": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "rel": {
                            "type": "string",
                            "example": "first"
                          },
                          "href": {
                            "type": "string",
                            "example": "http://localhost:5000/rcm/v1/pre-settlements/packages?statuses=GENERATED&page=0&size=1"
                          }
                        }
                      }
                    },
                    "content": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "example": "14f629d8-828f-44fc-bc18-f855f444fb8d"
                          },
                          "origin_invoice_group_id": {
                            "type": "string",
                            "example": "14842"
                          },
                          "path": {
                            "type": "string",
                            "example": "/Pruebas/2023/999/14842/"
                          },
                          "status": {
                            "type": "string",
                            "example": "GENERATED"
                          },
                          "provider": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "example": "3866be2c-2a1e-47d3-90c3-9c1093404967"
                              },
                              "name": {
                                "type": "string",
                                "example": "ProviderName"
                              },
                              "slug": {
                                "type": "string",
                                "example": "ProviderSlug"
                              }
                            }
                          },
                          "invoices": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "example": "6753f55b-1605-474f-9f45-00aba3cf2cbd"
                                },
                                "invoice_number": {
                                  "type": "string",
                                  "example": "FIES003"
                                },
                                "package_status": {
                                  "type": "string",
                                  "example": "GENERATED"
                                },
                                "supports": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string",
                                        "example": "64f97155-27df-42ef-a407-6c99de7ee2b8"
                                      },
                                      "file_name": {
                                        "type": "string",
                                        "example": "prueba_999.pdf"
                                      },
                                      "extension": {
                                        "type": "string",
                                        "example": "pdf"
                                      },
                                      "path": {
                                        "type": "string",
                                        "example": "https://<path>/4751f123-ee1c-48aa-974f-785d0794ef22/prueba_999.pdf"
                                      }
                                    }
                                  }
                                },
                                "payer": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string",
                                      "example": "0b92c395-68e1-47d0-9639-be8329068d02"
                                    },
                                    "name": {
                                      "type": "string",
                                      "example": "Nueva EPS"
                                    },
                                    "slug": {
                                      "type": "string",
                                      "example": "nueva-eps-eps"
                                    },
                                    "type": {
                                      "type": "string",
                                      "example": "EPS"
                                    }
                                  }
                                }
                              }
                            }
                          },
                          "files": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "example": "8c9ea871-ee20-45f1-a896-bae8c934c21b"
                                },
                                "file_name": {
                                  "type": "string",
                                  "example": "14842.zip"
                                },
                                "extension": {
                                  "type": "string",
                                  "example": "zip"
                                },
                                "path": {
                                  "type": "string",
                                  "example": "https://<path>/4751f123-ee1c-48aa-974f-785d0794ef22/prueba_999.pdf"
                                }
                              }
                            }
                          },
                          "links": {
                            "type": "array"
                          }
                        }
                      }
                    },
                    "page": {
                      "type": "object",
                      "properties": {
                        "size": {
                          "type": "integer",
                          "example": 1,
                          "default": 0
                        },
                        "total_elements": {
                          "type": "integer",
                          "example": 13,
                          "default": 0
                        },
                        "total_pages": {
                          "type": "integer",
                          "example": 13,
                          "default": 0
                        },
                        "number": {
                          "type": "integer",
                          "example": 0,
                          "default": 0
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```