Create contractAsk AIpost https://api.instellix.io/v2/contractsA request to create a new contract. It ties a preconfigured plan to an existing customer, in order to bill the services as defined in the underlying plan.Body ParamsbillingStartDatedateThe date when actual billing starts for this contract. If left empty the contract will be billed from the startDate.businessSegmentIdint64deprecatedDEPRECATED. Deprecated: Use business segment ident instead. The Id of the business segment for the contract. The default segment will be used if not set.businessSegmentIdentstringThe Ident of the business segment for the Plan. The default segment will be used if not set.contractIdentstringrequiredlength between 1 and 100Must be a unique external reference. Cannot be changed later on. Must have size between 1 and 100 and match with the regular expression '[a-zA-Z0-9_.~-]{1,100}'. Must be unique.contractPriceAdaptationobjectOptional reference of the price adaptation used to automatically adapt this contracts prices.contractPriceAdaptation objectcountrystringenumdeprecatedDEPRECATED. Deprecated: Use tax location and performance location instead. Country that determines which price and tax will be applied and which price picked for subscriptions and one time options for this contract. Should be a valid ISO 3166-1 alpha-3 or alpha-2 code.DEUNDEFINEDACADAEAFAGAIALAMANAOAQARASATAUAWAXAZBABBBDBEBFBGBHBIBJBLBMBNBOBQBRBSBTBUBVBWBYBZCACCCDCFCGCHCICKCLCMCNCOCPCRCSCUCVCWCXCYCZDEDGDJDKDMDODZEAECEEEGEHERESETEUEZFIFJFKFMFOFRFXGAGBGDGEGFGGGHGIGLGMGNGPGQGRGSGTGUGWGYHKHMHNHRHTHUICIDIEILIMINIOIQIRISITJEJMJOJPKEKGKHKIKMKNKPKRKWKYKZLALBLCLILKLRLSLTLULVLYMAMCMDMEMFMGMHMKMLMMMNMOMPMQMRMSMTMUMVMWMXMYMZNANCNENFNGNINLNONPNRNTNUNZOMPAPEPFPGPHPKPLPMPNPRPSPTPWPYQARERORSRURWSASBSCSDSESFSGSHSISJSKSLSMSNSOSRSSSTSUSVSXSYSZTATCTDTFTGTHTJTKTLTMTNTOTPTRTTTVTWTZUAUGUKUMUSUYUZVAVCVEVGVIVNVUWFWSXIXUXKYEYTYUZAZMZRZWShow 272 enum valuesdatedate-timerequiredDefines when the contract is signed. Must not be null.debtorIdint64deprecatedDEPRECATED. Must be the correct debtorId to which the contract will be assigned. Either debtorId or debtorIdent must present. DebtorIdent is preferred.debtorIdentstringlength ≤ 100Must be the correct debtorIdent to which the contract will be assigned. Size must be between 0 and 100. Must match with the regular expression '[a-zA-Z0-9_.~@-]*'.durationTypestringenumdeprecatedDEPRECATED: Replaced by contract term configuration in your plans and phases. The duration type. Must be one of:MONTHDAYMONTHYEARFOREVERAllowed:DAYMONTHYEARFOREVERdurationValueint32deprecatedDEPRECATED: Replaced by contract term configuration in your plans and phases. The duration of the contract.endDatedate-timedeprecatedDEPRECATED: Explicitly terminate the contract using our contract termination endpoints instead. Usage of this field can result in unexpected behavior.invoiceAddressIdint64deprecatedDEPRECATED. Deprecated: Must be the correct ID for the invoice address of the debtor to which the contract will be assigned. Please use non-deprecated invoiceAddressIdent.invoiceAddressIdentstringMust be the correct ident for the invoice address of the debtor to which the contract will be assigned.languagestringenumDefaults to deOptional language code in ISO 639-1 standard. Must be one of business segment valid languages.undefinedaaabaeafakamanarasavayazbabebgbhbibmbnbobrbscacechcocrcscucvcydadedvdzeeeleneoeseteufafffifjfofrfygagdglgngugvhahehihohrhthuhyhziaidieigiiikioisitiujajvkakgkikjkkklkmknkokrkskukvkwkylalblglilnloltlulvmgmhmimkmlmnmrmsmtmynanbndnengnlnnnonrnvnyocojomorospapiplpsptqurmrnrorurwsascsdsesgsiskslsmsnsosqsrssstsusvswtatetgthtitktltntotrtstttwtyugukuruzvevivowawoxhyiyozazhzuShow 185 enum valueslineItemsarray of objectsA list of line items included in the contract. Please see Line Item Model for more detailslineItemsADD objectoptionQuantitiesarray of objectsrequiredMust not be null.optionQuantities*ADD objectpaymentInformationobjectA request to specify payment-related details.paymentInformation objectpaymentReferencestringdeprecatedDEPRECATED. The payment reference. Deprecated, PaymentInformation structure should be used insteadpaymentTermobjectSpecifies a payment term.paymentTerm objectpaymentTypestringenumdeprecatedDEPRECATED. Deprecated, PaymentInformation structure should be used instead. The type of payment. Payment method. See documentation for valid values. NOTE: This field also supports the legacy variants.APPLE_PAYCREDITCARDPAYPALDIRECTDEBITWIRETRANSFERALIPAYWECHATUNIONPAYPURCHASEORDERACHBANKTRANSFERIDEALPAYUKLARNA_INSTALLMENTKLARNA_PAY_LATEROTHERACCELAFFIRMAFFIRM_QRAFTERPAYALIPAY_PLUSALMAAMAZONPAYANCVATOMEBALOTOBANCONTACTBILLIEBIZUMBLIKBOLETOBANCARIOCARNETCARTES_BANCAIRESCASH_APP_PAYCLEARPAYCREDIT_CARDDANADIRECT_DEBITDOKU_VIRTUAL_ACCOUNTSDRAGONPAYDUITNOWEPSFISERVFPXGCASHGIROCARDGIROPAYGIVEXGOOGLEPAYGOPAYGRABPAYINTERSOLVEKAKAOPAYKLARNAKLARNA_PAY_NOWMBWAYMOBILE_PAYMOMOMULTIBANCONAVERPAYOXXOPAYBRIGHTPAYMEPAYPAYPAYPOPAYTMPAY_NOWPIXPROMPTPAYPURCHASE_ORDERRATEPAYRIVERTYSAMSUNG_PAYSCALAPAYSEPASOFORTSTORED_VALUE_SOLUTIONSSWISHTOUCH_N_GOTWINTUNION_PAYVENMOVIPPSWIRE_TRANSFERYANDEXZAVERZIPShow 87 enum valuesperformanceLocationobjectWhere the service has been provided. Used for tax calculation and can be printed on documents.performanceLocation objectplanIdint64deprecatedDEPRECATED. Deprecated: Reference to the Plan to use for the contract.planIdentstringReference to the Plan to use for the contract.planModifiersarrayModifiers to apply to a plan and its options to change i.e. the price. Are applied only to this contract.planModifiersADD OptionPriceListModifierDtopropertiesarray of objectsAdditional contract properties to specify the contract.propertiesADD objectrelatedContractsarray of objectsContracts that might have a billing impact from this contract, for example, because they receive a commission.relatedContractsADD objectserviceLocationobjectdeprecatedDeprecated: Use detailedTaxLocation and detailedPerformanceLocation instead. The location where the product or service was sold.serviceLocation objectshippingAddressIdint64deprecatedDEPRECATED. Deprecated: Optional ID of the shipping address to which the contract will be assigned. Please use non-deprecated shippingAddressIdent.shippingAddressIdentstringOptional ident of the shipping address to which the contract will be assigned.startDatedate-timeDefines start of the active period of the contract. Remains as is even if it was cancelled or terminated before activation start.taxLocationobjectWhere the service is taxable. Can be provided but might be overwritten during tax calculation.taxLocation objectResponses 201The request has been fulfilled, resulting in the creation of a new resource. 4XXerror response for all http error codes in range 4XX 5XXerror response for all http error codes in range 5XXUpdated 6 months ago