Estimate the usage of vendor credits on an invoice of a given amount
Entity ID or Entity ForeignID
Counterparty Entity ID or Counterparty Entity ForeignID
The amount of the invoice to calculate vendor credit usage for.
The currency of the invoice to calculate vendor credit usage for. Defaults to USD.
The vendor credit usage estimate
Remaining amount on the invoice after vendor credits are applied in major units.
Currency code for the amount. Defaults to USD.
Vendor credits that will be applied to the invoice. The objects returned represent the states each vendor credit will be in AFTER they are applied to the invoice, not their current states.