Numerar facturas
number_invoicesStamps correlative numbers on every page of PDF invoices in a batch, writing numbered copies to a new folder while leaving the originals unchanged.
Instructions
Stamps a correlative number (F-0001, F-0002…) on every page of each PDF invoice in a batch and writes numbered copies to a new folder. Numera facturas PDF en lote. Runs locally and offline: the PDFs stay on this computer and the originals are not modified.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Last number. Given alone, the first is worked out from the file count | |
| zip | No | Also write a ZIP of the numbered PDFs | |
| font | No | Helvetica | |
| x_mm | No | Distance from that edge, in mm | |
| y_mm | No | Distance from that edge, in mm | |
| color | No | Number color, #rrggbb | #000000 |
| merge | No | Also write one PDF with every invoice joined | |
| paths | Yes | Absolute paths of PDF files, or folders whose PDFs are all taken (not recursive) | |
| start | No | First number. Defaults to 1 | |
| from_x | No | Horizontal reference edge | right |
| from_y | No | Vertical reference edge | top |
| dry_run | No | Report which number each file would get, writing nothing | |
| size_pt | No | Font size in points | |
| sort_by | No | name: natural order (2 before 10). date: oldest modified first. given: as listed | name |
| password | No | Password of protected PDFs. It passes through the chat: ask only if the tool reports locked files. Numbered copies come out unprotected | |
| template | No | Number format with one marker: {n:4} pads to 4 digits (0007), {n} does not pad | F-{n:4} |
| box_color | No | Box color, #rrggbb | #ffffff |
| background | No | Draw a box behind the number | |
| box_pad_mm | No | Margin between number and box edge | |
| output_dir | No | Absolute folder for the results. Defaults to 'numeradas' beside the first file |