Links a credit note to an invoice payable for clearing (offsetting balances). Because credit notes cannot be applied in the ledger until the invoice payable is posted, this creates a ‘link’ record that will be used during posting to automatically clear the credit note balance against the invoice payable balance. Requirements: credit note must be in POSTED status, both documents must belong to the same company entity, same vendor (businessPartnerId), same currency, and clearing amount cannot exceed available balance on either document.
Basic authentication header of the form Basic <api_key>, where <api_key> is your api key.
Amount to clear in cents
default response
ID of the company
Invoice payable details
Invoice payable details
Clearing amount in cents
"USD"
Timestamp when the link was created
Timestamp when the link was last updated