Re: Translation question: "bill" VS "invoice"

Karsten Hilbert <[email protected]> Sat, 13 Jun 2026 18:27:47 +0200
Newsgroups gmane.comp.gnu.medical.devel
Message-ID <[email protected]>
--HmKgiLqW9guhhtdO
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Am Thu, Jun 11, 2026 at 10:04:25PM -0300 schrieb Mar=EDa Scappini:

> >The resulting PDF will contain the same invoice ID but will
> >only contain one item as opposed to the initial two.
>=20
> Attached screenshot of exactly that.
...
> A very well intentioned but flustered new GNUmed user could easily,
> mistakenly, do this when trying to fix a mistake in the invoice PDF...

Right. We don't want that.

> >I would suggest we make unbilling an all-or-nothing affair
> >in which case there's no window of opportunity for invoice
> >ID reuse left.
>=20
> I agree.

Done.

> Can't really see any disadvantages to doing this?

The idea was to make it easy to remove an item that may have
found its way onto a bill by mistake, without needing to
remember and re-bill all the other items.

For good measure I have added code to write an account of
the items being removed or unbilled into a text file and
display that when done :)

Karsten
=2D-=20
GPG  40BE 5B0E C98E 1713 AFA6  5BC0 3BEA AC80 7D4F C89B

--HmKgiLqW9guhhtdO
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment; filename="gm-bill-ogqukc1n.txt"
Content-Transfer-Encoding: quoted-printable

This is the content of the old bill.

Keep this file or print it (not) for reference if needed.

Filename: /tmp/user/1000/gnumed-ncq/g-3gxyk9s9/gm-bill-ogqukc1n.txt

Abgeschlossene Rechnung                       [#7]
 Rechnungsnummer: GM12 / 2026-06-13 / 182225
 Gestellt: 2026 Jun 13
 Rechnungswert: 22.15=E2=82=AC
 USt: nicht entschieden
 Positionen: 2
 Rechnungsbeleg: nicht verf=C3=BCgbar
 Patient: #12
Adresse (Rechnungsanschrift)       [#4]
  Stra=C3=9Fe: Kleingarten
  Nummer: 1
  Ort: 04318 Leipzig
  Land: Sachsen, SN
  Staat: Deutschland, DE

Abgerechneter Posten (GO=C3=84 1996)         [#2]
 100: Leichenschau mit Totenschein
 Details: test

 Anzahl (=E2=84=96): 1
 Wert pro Ansatz: 14.57=E2=82=AC (14.57=E2=82=AC per GO)
 Multiplikator: 1
 USt w=C3=A4re: 19.00% =E2=89=98 2.7683=E2=82=AC

 Leistungsdatum: 2026 Jun 07
 Auf Rechnung: GM12 / 2026-06-13 / 182225

Abgerechneter Posten (GO=C3=84 1996)         [#3]
 2003: Gro=C3=9Fe und/oder stark verunreinigte Wunde, Erstversorgung

 Anzahl (=E2=84=96): 1
 Wert pro Ansatz: 7.58=E2=82=AC (7.58=E2=82=AC per GO)
 Multiplikator: 1
 USt w=C3=A4re: 19.00% =E2=89=98 1.4402=E2=82=AC

 Leistungsdatum: 2026 Jun 07
 Auf Rechnung: GM12 / 2026-06-13 / 182225

--HmKgiLqW9guhhtdO--