belge_dogrula
Validates Turkish UBL-TR e-invoices against official GİB XSD, schematron, arithmetic, and signature rules, returning error codes, warnings, and correction suggestions for tax compliance.
Instructions
UBL-TR belgesini denetler: XML biçimi, OASIS UBL 2.1 XSD, GİB e-Fatura şematronu (498 kural,
kod listeleri dahil), satır/vergi/tevkifat/dip toplam aritmetiği, imza yapısı. Her bulgu: kod,
seviye (hata/uyari/bilgi), GİB'in özgün mesajı, satır numarası, Türkçe açıklama ve düzeltme.
dosya yerel yol ya da xml belge metni; tur fatura|earsiv|irsaliye|irsaliye-yaniti|
uygulama-yaniti|zarf (verilmezse kök elemandan ve ProfileID'den bulunur). Validates a Turkish
UBL-TR e-invoice with the tax authority's own schematron and returns findings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tur | No | ||
| xml | No | ||
| dosya | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||