---
schema_version: "1"
id: 06aaf62e6e1dc6022db761927f3bcbb2210134c9568b34f0984bf9e948bb02a1
title: Changed Connect in Apex Class in Billing
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/release-notes/260-0-0/rn_billing_new_and_changed_connect_in_apex_classes.md
canonical_url: https://help.salesforce.com/s/articleView?id=release-notes.rn_billing_new_and_changed_connect_in_apex_classes.htm&release=260&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 73c24c6479566a4cc08644198a1cfb2f09ad1a30157047044cb4cf12036133ef
description: Use the updated BillingAdvanced Apex class to void a credit memo, enabling the creation of a debit memo.
products:
  - Cross Cloud Packages Solutions
release: "260"
---
# 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`).

#### See Also

- [_Revenue Cloud Developer Guide_: ConnectApi Namespace](https://developer.salesforce.com/docs/atlas.en-us.revenue_lifecycle_management_dev_guide.meta/revenue_lifecycle_management_dev_guide/billing_connect_api_namespace.htm)