# `UblEx.Parser.SimpleParser`
[🔗](https://github.com/Octarion/ubl_ex/blob/v0.8.1/lib/ubl_ex/parser/simple_parser.ex#L1)

Simple direct parser using Saxy to parse UBL XML into maps.
No XPath, no intermediate DOM - just straightforward event handling.

# `parse`

```elixir
@spec parse(String.t()) :: {:ok, map()} | {:error, String.t()}
```

Parse UBL XML content directly into a map.
Supports Invoice, CreditNote, ApplicationResponse, and SBDH-wrapped documents.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
