POST v1/draftInvoices/Cancel/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Common.Dto.Get.DraftInvoice
NameDescriptionTypeAdditional information
billingPeriodId

integer

None.

billingPeriodDefinitionId

integer

None.

effectiveTimestamp

date

None.

estimatedDueDateTimestamp

date

None.

modifiedTimestamp

date

None.

status

string

None.

poNumber

string

None.

draftCharges

Collection of Common.Dto.Get.DraftCharge

None.

draftChargeGroups

Collection of Common.Dto.Get.DraftChargeGroup

None.

subtotal

decimal number

None.

totalDiscount

decimal number

None.

total

decimal number

None.

tax

Common.Dto.Get.Tax

None.

taxes

Collection of Common.Dto.Get.Tax

None.

paymentSchedules

Collection of Common.Dto.Get.DraftPaymentSchedule

None.

customer

Common.Dto.Get.DraftInvoiceCustomer

None.

notes

string

None.

shippingInstructions

string

None.

customerReferenceValue

string

None.

terms

string

None.

defaultTerms

string

None.

isDefaultTerms

boolean

None.

lastGenerated

string

None.

rollUpPdf

boolean

None.

invoiceSummarizationOption

string

None.

childCharges

Collection of Common.Dto.Get.DraftChildChargeSummary

None.

childChargeTotals

Common.Dto.Get.ChildChargeSummary

None.

parentSummary

Common.Dto.Get.ParentChargeSummary

None.

totalChargeCount

integer

None.

totalPostableChargeCount

integer

None.

hasPurchasePerformanceObligations

boolean

None.

avalaraId

string

None.

isTermsEditableFromPaymentScheduleDates

boolean

None.

referenceDate

date

None.

id

integer

None.

uri

string

None.

Response Formats

application/json, text/json

Sample:

Sample not available.