Avalara Developer Network Developer trustFile

Trustfile - Core - Methods

Method Purpose Summary
GetCompanies Retrieve ConnectionId Information

Queries for the company information TrustFile has stored.

GetItems Retrieve Items by ItemId

Get items of the provided itemId for the given connection.

PostItems Post Items
  • Creates new items or updates them if they already exist
  • Send sale items or refund items (the refund boolean of the item determines this)
  • If refund is true, Taxes and Amounts are automatically made negative by TrustFile (negative amounts/taxes will remain negative)
  • Addresses are used to source the jurisdictions involved in the sale
  • Defaults are used for shipFromAddress if none provided or the address is invalid.