diff --git a/components/resources/application-core/src/main/resources/META-INF/dirigible/application-core/shell/js/services/format.js b/components/resources/application-core/src/main/resources/META-INF/dirigible/application-core/shell/js/services/format.js
index 5ccc2596ae..921beff460 100644
--- a/components/resources/application-core/src/main/resources/META-INF/dirigible/application-core/shell/js/services/format.js
+++ b/components/resources/application-core/src/main/resources/META-INF/dirigible/application-core/shell/js/services/format.js
@@ -179,6 +179,18 @@
return this.value(v, true);
},
+ /**
+ * A document number for display. A not-yet-issued document holds a create-time UUID placeholder in
+ * its number field (the platform's numbering places it there until the real number is stamped at
+ * issue); render that as empty so the title shows just the document label ("Sales Invoice", not the
+ * raw UUID). Once the real number is stamped it passes through unchanged, as does any non-UUID value.
+ */
+ documentNumber(v) {
+ if (v === null || v === undefined) return '';
+ const uuid = /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/;
+ return uuid.test(String(v)) ? '' : v;
+ },
+
/**
* Convert a date/datetime value to the FIXED shape an HTML requires — NOT pattern-driven.
* `widget` is one of DATE, DATETIME-LOCAL, TIME, MONTH, WEEK (case-insensitive). Empty -> ''.
diff --git a/components/template/template-application-ui-harmonia-java/src/main/resources/META-INF/dirigible/template-application-ui-harmonia-java/ui/my/my-document-view.html.template b/components/template/template-application-ui-harmonia-java/src/main/resources/META-INF/dirigible/template-application-ui-harmonia-java/ui/my/my-document-view.html.template
index 2b97bfb539..aa1f2c2b46 100644
--- a/components/template/template-application-ui-harmonia-java/src/main/resources/META-INF/dirigible/template-application-ui-harmonia-java/ui/my/my-document-view.html.template
+++ b/components/template/template-application-ui-harmonia-java/src/main/resources/META-INF/dirigible/template-application-ui-harmonia-java/ui/my/my-document-view.html.template
@@ -15,7 +15,7 @@