Create bill plan for a contract using rest api
Dear All,
Can anyone give me the ideal JSON body request to fill these fields using this endpoint: fscmRestApi/resources/11.13.18.05/contracts/300000078864625/child/BillPlan
Every time I try to fill out these fields, I am receiving this error:
The value of the attribute Bill Plan:Currency Conversion Rate Type Code must be null when the billing currency type isn't used. (PJB-2190622).
This is the body request that I use:
{
"MajorVersion": 1,
"BillMethodId": 12,
"BillMethodName": "Amount Based Invoice",
"BillPlanName": "Amount Based Invoice",
"BillToContactName":"Accounting Department",
"BillToAccountNumber":"112020",
"BillingCurrencyType":"CONTRACT",
"BillingCycle":"Immediate",
"PaymentTerms":"60 Net",
"BillSetNumber":1,
"InvoiceHdrGrpOptName":"Associated project",
"InvoiceCurrencyConversionRateType":"Corporate",
"InvoiceCurrencyConversionDateType":"TRANSACTION",
"LaborInvoiceFormat":"Labor Invoice Format",