Happy Business Starts Here

Invoice in future date

Tutor

Invoice in future date

Hi Team,

 

I want my invoice to br triggered in future date .because my service activationdate is in future .. So i create a subscription using the followin payload

 

 

{
"subscribes": [
{
"Account": {
"AccountNumber": "karuna_104",
"AutoPay": true,
"Batch": "Batch5",
"BillCycleDay": 1,
"Currency": "USD",
"Name": "karunaccoun29",
"PaymentTerm": "Due Upon Receipt",
"Status": "Draft",
"PaymentGateway": "CyberSourceTest1",
"InvoiceDeliveryPreferences":true
},
"BillToContact": {
"FirstName": "Karuna",
"LastName": "Yatam",
"WorkEmail":"karunakumar.yatam@insideview.com",
"PersonalEmail":"karunakumar.yatam@insideview.com"
},
"PaymentMethod": {
"Id": "2c92c0f96970a1e70169735504d57c80"
},
"PreviewOptions": {
"EnablePreviewMode": false

},
"SubscribeOptions": {
"GenerateInvoice": true,
"ProcessPayments": true,
"SubscribeInvoiceProcessingOptions": {
"InvoiceTargetDate": "2019-03-13",
"InvoiceDate": "2019-03-13"
}
},
"SubscriptionData": {
"RatePlanData": [
{
"RatePlan": {
"ProductRatePlanId": "2c92c0f869330b7a016947d8b9120e2e"
},
"RatePlanChargeData": [
{
"RatePlanCharge": {
"ProductRatePlanChargeId": "2c92c0f869330b7a016947da0ae60f87",
"Quantity": 10
}
}
]
}
],
"Subscription": {
"AutoRenew": true,
"ContractEffectiveDate": "2019-03-12",
"ServiceActivationDate":"2019-03-13",
"RenewalTerm": 12,
"InitialTerm": 12,
"Name": "subkaruna_104",
"Notes": "this is notes k",
"TermType": "TERMED"
}
}
}
]
}

 

But invoice is getting created immediately .. But i want it to be created in futre i.e on service activation date Can you please help on this ?

1 REPLY 1
Highlighted
Community Manager

Re: Invoice in future date

Hi Karuna,

 

The "InvoiceTargetDate" plays a major role here. The invoice will be created based on whatever date we set this to be. You may choose the date to set here based on whenever you want this to be. Please go through this KC Article to know more about the Target Date of an invoice. 





If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √