Changed Connect in Apex Class in Billing

Use the updated BillingAdvanced Apex class to void a credit memo, enabling the creation of a debit memo.

This new method is available in the ConnectApi.BillingAdvanced class.

Void a credit memo in posted state
voidPostedCreditMemo(voidPostedCreditMemoInputRepresentation)
New input class: ConnectApi.VoidPostedCreditMemoInputRepresentation
New output class: ConnectApi.VoidPostedCreditMemoOutputRepresentation

This input class has an update.

ConnectApi.CalculateTaxRequest
isHeaderTaxRequested—Specifies whether header tax is enabled in the tax engine (true) or not (false).