If the figures and the words on a promissory note don't match, which amount is valid?
· Toni Martir, arquitecto de software
At the end of each month, a Spanish company's business software prints its pagarés, the promissory notes it pays suppliers with, on the bank's forms. One is for €1,234.56: the figures come out right, and the amount in words reads «Mil doscientos treinta y cuatro euros», one thousand two hundred and thirty-four euros. The template, the report that prints the note, has dropped the cents.
And the words are what count. Under Spain's Bills of Exchange and Cheques Act, when the figures and the words disagree, the amount in words is the valid one: that note is for exactly €1,234. The words have to come from the same amount as the figures, cents included and in full, and the template is tested first with the amounts that go wrong most often.
A €1,234.56 promissory note: the valid amount, depending on what the template prints in words
On all four rows, the figures on the note read €1,234.56. The invoice on the second row is for €2,469.12, paid in two instalments of €1,234.56.
The law sides with the words
Article 7 of Spain's Act 19/1985 sets the rule for bills of exchange; article 96 applies it to promissory notes, and article 115 repeats it for cheques: where they differ, «the amount written in words shall be valid». And if the amount is written more than once in words, or more than once in figures, with different sums, the smaller one is valid. The UK's Bills of Exchange Act 1882 says the same in section 9(2), for cheques and promissory notes too.
That is what the note says. Against the supplier, whoever signed it can argue what was owed on the invoice (article 67); against a bank that has discounted it, only if the bank acquired it «knowingly to the detriment of the debtor».
The words come from the same amount
In the template, figures and words both come from the same field: the amount of the instalment, not the invoice total. The words carry the cents too.
They also have to fit in full. The longest amount below a million, €454,454.54, takes 107 characters in Spanish: «cuatrocientos cincuenta y cuatro mil cuatrocientos cincuenta y cuatro euros con cincuenta y cuatro céntimos». In 10-point Arial it measures 169 mm, so in a shorter box the text has to wrap onto a second line rather than be cut off. Even more so if a server that lacks Arial generates the note and swaps in a wider font, as I explained in Why does the report come out misaligned when a Linux server generates it?
Test with the awkward amounts
Before printing the batch, print a test sheet with the amounts whose words go wrong most often: those spelt with an accent, such as 16, 22 or 26 («dieciséis», «veintidós», «veintiséis»), and the million; those whose words change form, such as 21, 100 and 101; exactly one euro; and the longest one. On all of them, figures and words must match.
So which amount is valid?
The one written in words, on a promissory note and on a cheque. That is why the words come from the same amount as the figures, cents included and in full, and the template is tested first with the awkward amounts.
In Report Manager, the
NumToText function writes a number
in words in the language of the report (English, Spanish or Catalan), chosen in
page setup: with
NumToText(PAGARE.IMPORTE, False) + ' euros', 1,234.56 comes out as «Mil
doscientos treinta y cuatro con cincuenta y seis euros». You write the expression
by hand or with the AI expression assistant,
and the bank's form, scanned, goes in as the
section background to place each
field on top of it. In my test, with two-decimal amounts of one euro and up, the
function in both engines, Delphi and Lazarus and .NET, always wrote the amount
with its cents, but not every word correctly: the Delphi and Lazarus engine
leaves a space where an accented vowel goes («Veintid s», «Un mill n»), the .NET
one writes «Veintiuno euros» for 21, and both write «veintiseis» without its
accent.
Sources
- Spain, Act 19/1985 of 16 July on bills of exchange and cheques (Ley Cambiaria y del Cheque), consolidated text: article 7, «Cuando en una letra de cambio figure escrito el importe de la misma en letra y en números será valida la cantidad escrita en letra, en caso de diferencia. La letra de cambio cuyo importe esté escrito varias veces por suma diferente, ya sea en letra, ya sea en números, será valida por la cantidad menor.»; article 96, «Serán igualmente aplicables al pagaré las disposiciones relativas a la letra de cambio […] a las diferencias de enunciación relativas a la cantidad pagadera (art. 7)»; article 115, «Cuando en un cheque figure escrito el importe del mismo en letra y en números será válida la cantidad escrita en letra, en caso de diferencia. El cheque cuyo importe esté escrito varias veces por suma diferente ya sea en letra, ya sea en números, será válido por la cantidad menor.»; and article 67, «El deudor cambiario podrá oponer al tenedor de la letra las excepciones basadas en sus relaciones personales con él. También podrá oponer aquellas excepciones personales que él tenga frente a los tenedores anteriores si al adquirir la letra el tenedor procedió a sabiendas en perjuicio del deudor.», which article 96 also applies to promissory notes («A las acciones por falta de pago (artículos 49 a 60 y 62 a 68)»).
- UK, Bills of Exchange Act 1882, section 9(2): «Where the sum payable is expressed in words and also in figures, and there is a discrepancy between the two, the sum denoted by the words is the amount payable.»; and section 73: «A cheque is a bill of exchange drawn on a banker payable on demand. Except as otherwise provided in this Part, the provisions of this Act applicable to a bill of exchange payable on demand apply to a cheque.»; and section 89(1): «the provisions of this Act relating to bills of exchange apply, with the necessary modifications, to promissory notes.»
- Liberation Fonts, official repository: «The Liberation Fonts is font collection which aims to provide document layout compatibility as usage of Times New Roman, Arial, Courier New.»
- My own count, 27 November 2026. Between €1 and €999,999.99, the amount that takes the most characters in Spanish words is €454,454.54: 107, written as «… euros con … céntimos». Measured with Liberation Sans, which has Arial's widths, that text takes 168.8 mm at 10 points, and «mil doscientos treinta y cuatro euros con cincuenta y seis céntimos», 104.3 mm.
- Report Manager: expression evaluator, «function NumToText (n:double,f:boolean):string Returns the natural language representation of a number, f says if female words required (' una peseta'-'un euro') […] The language is selected from the active report language. The implementation for this function is: English, Spanish, Catalan.»; international support, «go to page setup screen, change the language and modify each label to the selected language»; what's new in version 4.0.10, «AI Expression assistant to help you create and refine report expressions»; form filling, «The background image will be placed in one section of our report so we can place items, expressions, labels on top of it. If the form is already printed, you should use a image scanner to obtain the background image» and «the background image can appear also in preview or also printed, checking the background style»; and the section reference, «Background Style»: «help in design time to fill a form for example, but no preview or print (preprinted forms). You can also select to draw the background image in preview or print the image on the paper also.»
- My own test, 27 November 2026. Delphi engine: a report set to Spanish, generated with
printreptopdf 4.0.16 for Linux.
NumToText(1234.56,False)gives «Mil doscientos treinta y cuatro con cincuenta y seis»; 2469.12, «Dos mil cuatrocientos sesenta y nueve con doce»; 16, «Diecis is»; 21, «Veinti n»; 22, «Veintid s»; 23, «Veintitr s»; 26, «Veintiseis»; 1,500,000, «Un mill n quinientos mil». Those words are written that way in the engine's source code, in the GitHub version of 27 November 2026: lines 3248 to 3261 and line 3350. .NET engine: theNumberToTextfunction in DoubleUtil.cs, of 26 November 2026, compiled on its own, gives the same amounts with «Dieciséis», «Veintidós», «Veintitrés» and «Un millón», «Veintiuno» for 21 and «Veintiseis» for 26.
Toni Martir, arquitecto de software · · sources checked on