docs: public void buildForExistingItems(final Collection<Item> output, final UUID targetInvoiceId) {
          // We start by pruning useless entries to simplify the build phase.
          pruneAndValidateTree();
  
          build(output, targetInvoiceId, false);
      }