New fields referring to contribution margin on sales documents

👍

ShowContributionMargin and ContributionMargin

We have added two fields which refer to the contribution margin being shown on sales documents (as a total and on the rows): one in company settings which can be true or false named ShowContributionMargin and one on the sales documents named ContributionMargin, showing the amount and percentage of the contribution margin.

Changelog

  • GET /v2/companysettings: ShowContributionMargin
  • GET /v2/customerinvoices: ContributionMargin for document and all document rows
  • GET /v2/customerinvoices/{customerinvoiceid}: ContributionMargin for document and all document rows
  • GET /v2/customerinvoicedrafts: ContributionMargin for document and all document rows
  • GET /v2/customerinvoicedrafts/{customerinvoicedraftid}: ContributionMargin for document and all document rows
  • GET /v2/quotes: ContributionMargin for document and all document rows
  • GET /v2/quotes/{quoteid}: ContributionMargin for document and all document rows
  • GET /v2/quotedrafts: ContributionMargin for document and all document rows
  • GET /v2/quotedrafts/{quotedraftid}: ContributionMargin for document and all document rows
  • GET /v2/orders: ContributionMargin for document and all document rows
  • GET /v2/orders/{orderid}: ContributionMargin for document and all document rows