> For the complete documentation index, see [llms.txt](https://docs.eseye.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.eseye.com/api-reference/api-reference-pt-br/api-de-sim/billing-snapshot/view-the-billing-snapshot-for-a-specific-sim.md).

# View the billing snapshot for a specific SIM

Returns the current billing position of a SIM: the price accrued so far and the usage recorded against each category in its package during the current billing cycle.

The snapshot is collated periodically, so `updateTime` tells you how current each figure is.

```json
{"openapi":"3.1.0","info":{"title":"AnyNet SIM API","version":"2.0.0"},"tags":[{"name":"Billing snapshot"}],"servers":[{"url":"https://sim.api.anynetiot.com","description":"Production"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"An OAuth 2.0 client credentials access token, sent as `Authorization: Bearer <token>`.\n\nRequest the token from `https://eseye-idp-prod.auth.eu-west-1.amazoncognito.com/oauth2/token` using the client ID and client secret Eseye supplied. Tokens expire after one hour."}},"parameters":{"iccId":{"name":"iccId","in":"path","required":true,"description":"The ICC ID of the SIM.","schema":{"type":"string"}}},"schemas":{"SimAttribute":{"type":"object","properties":{"iccAttributeId":{"type":"integer","description":"The unique identifier for the attribute."},"iccId":{"type":"string","maxLength":20,"description":"The SIM the attribute belongs to."},"attribute":{"type":"string","maxLength":48,"description":"The attribute name. Names cannot contain spaces."},"value":{"type":"string","maxLength":255,"description":"The attribute value. Can be an empty string, but not `null`."},"status":{"$ref":"#/components/schemas/RecordStatus"}},"description":"A name/value pair attached to a SIM."},"RecordStatus":{"type":"string","description":"Whether the record is still attached to its parent object.\n\n| Value | Meaning |\n| --- | --- |\n| `active` | The record is attached to the parent object. |\n| `deleted` | The record is no longer attached to the parent object. |","enum":["active","deleted"]},"Error":{"type":"object","properties":{"errorCode":{"type":"integer","description":"The Eseye error code.\n\n| Code | Meaning |\n| --- | --- |\n| `6001` | Your service account does not have permission for this operation. |\n| `6002` | An object referenced in the request does not exist. |\n| `6003` | The request method is wrong or missing. |\n| `6004` | The server could not be reached. Check the request URL and your connection. |\n| `6006` | The request is malformed. A mandatory field is missing, a data type is wrong, a value is too long, or the JSON is invalid. |\n| `6007` | You do not have permission to make this status transition. |"},"errorTag":{"type":"string","description":"A short error name. Contains no spaces."},"message":{"type":"string","description":"A short description of the error."},"additionalDetails":{"type":"object","description":"Names the object that could not be resolved, or lists the fields that failed validation."}},"description":"An error returned by the API."}},"responses":{"BadRequest":{"description":"The request contained an invalid parameter. `additionalDetails` lists the fields that failed validation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"Forbidden":{"description":"The token is valid, but the service account does not have permission for this operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"NotFound":{"description":"An entity referenced in the request does not exist. The `message` and `additionalDetails` name what could not be resolved.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"paths":{"/api/v2/sim/{iccId}/billingSnapshot":{"get":{"summary":"View the billing snapshot for a specific SIM","operationId":"view-billing-snapshot-for-a-specific-sim","tags":["Billing snapshot"],"parameters":[{"$ref":"#/components/parameters/iccId"}],"responses":{"200":{"description":"The billing snapshot for the SIM.","content":{"application/json":{"schema":{"type":"object","properties":{"iccId":{"type":"string","description":"The SIM the snapshot applies to.","maxLength":20},"simId":{"type":"string","description":"The unique identifier for the SIM.","maxLength":32},"price":{"type":"number","description":"The charge accrued against the SIM in the current billing cycle, including the service charge and bundled usage."},"portfolioPackage":{"type":"object","description":"The portfolio and package the SIM is assigned to.","properties":{"portfolioId":{"type":"string","description":"The portfolio the SIM is assigned to.","maxLength":32},"packageId":{"type":"string","description":"The package applied to the SIM."}}},"packageItemCategory":{"type":"array","description":"The usage recorded against each category in the package.","items":{"type":"object","properties":{"packageItemCategoryId":{"type":"integer","description":"The unique identifier for the category."},"title":{"type":"string","description":"The category name, for example `Data`, `SMS`, `Voice`, `USSD`, or `message`.","maxLength":32},"amount":{"type":["integer","null"],"description":"How much of the category the SIM has used in the current billing cycle. The unit depends on the category: bytes for data, units for SMS and MMS, seconds for voice, and sessions for USSD. `null` if nothing has been recorded."},"updateTime":{"type":["string","null"],"description":"When this figure was last collated. `null` if nothing has been recorded."}}}},"attributes":{"type":"array","description":"The attributes attached to the SIM. Omitted if the SIM has none.","items":{"$ref":"#/components/schemas/SimAttribute"}}}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"description":"Returns the current billing position of a SIM: the price accrued so far and the usage recorded against each category in its package during the current billing cycle.\n\nThe snapshot is collated periodically, so `updateTime` tells you how current each figure is."}}}}
```


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.eseye.com/api-reference/api-reference-pt-br/api-de-sim/billing-snapshot/view-the-billing-snapshot-for-a-specific-sim.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
