Pick the invoice a credit note corrects
Name the invoice a supplier's credit note corrects, once: an inbound credit note with a status, its supplier known, above zero and linked to no invoice yet, to a live inbound invoice of the same supplier in its currency; the same pick again answers the link it made. The invoice then reads net of it (`document_status`, `document_open`: Credited, or Partly paid with the rest to pay, and Pay pays the rest). The link is set once: there is no unlink. Another entity's or an absent document is the hidden 404 `document_not_found`; a credit note still being read, a duplicate's loser, one naming no supplier, not above zero or linked to another invoice is 409 `link_not_open`; an invoice that is not one of its supplier's live inbound invoices in its currency is 422 `link_target_invalid`. A client seat, or a firm hat holding `ledger.manage`.