Skip to main content
JOF-05ErrorISTD JoFotara UBL 2.1implemented

JoFotara Document Type Code (388 Invoice / 381 Credit Note)

cbc:InvoiceTypeCode must be '388' for standard invoices or '381' for credit/return notes.

Scope
Document Header
Applicable Invoice Types
Standard (B2B), Simplified (B2C), Credit Note, Debit Note
Catalog Version
v1.0.0 (2026-11-23)
Target XPath
/Invoice/cbc:InvoiceTypeCode

Typical Reason for Failure

Non-ISTD codes or text names are passed instead of 388 or 381.

Invalid Synthetic Example

Before (Fails)xml
<cbc:InvoiceTypeCode name="012">380</cbc:InvoiceTypeCode>

Corrected Synthetic Example

After (Fixed)xml
<cbc:InvoiceTypeCode name="012">388</cbc:InvoiceTypeCode>

Explanation of the Fix

Set InvoiceTypeCode to 388 (invoice) or 381 (credit note).

Official Source Reference

ISTD JoFotara Technical Integration Guide

Open official specification

Related Rules

Test your invoice against JOF-05 now

Browser quick check; raw XML is never stored.

Open Validator