This property defines the behaviour of status transition of the invoice.
If true, invoice auto transitions from DRAFT to DUE or PAID at the end of pricing cycle.
If false, the invoiceβs state doesnβt automatically advance without an explicit action.
Default: false
Download URL of the pdf file corresponding to the invoice
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Togai documentation","colors":{"primary":"#2853C2","light":"#2563EB","dark":"#2563EB"},"favicon":"/images/togai-logo-light.svg","logo":{"light":"https://mintcdn.com/zuora-togai/gpDI_SmUijp8C7vA/images/togai-light.png?fit=max\u0026auto=format\u0026n=gpDI_SmUijp8C7vA\u0026q=85\u0026s=f564a808b1f89a7be82bef2effbcbeea","dark":"https://mintcdn.com/zuora-togai/gpDI_SmUijp8C7vA/images/togai-dark.svg?fit=max\u0026auto=format\u0026n=gpDI_SmUijp8C7vA\u0026q=85\u0026s=32fc4951a4bf9381284ec120bc163c72"},"api":{"openapi":["openapi.yaml"],"playground":{"display":"simple"},"mdx":{"server":["https://sandbox-api.togai.com","https://api.togai.com"],"auth":{"method":"bearer","name":null}}},"background":{"image":"https://mintlify.s3.us-west-1.amazonaws.com/zuora-togai/images/background-documentation-min.png","decoration":null,"color":{"light":"#F8FAFC","dark":"#0D101F"}},"navbar":{"links":[{"label":"Demo app","href":"https://demo.togai.com"},{"label":"Login","href":"https://app.togai.com/login"}],"primary":{"type":"button","label":"Try for free","href":"https://app.togai.com/onboarding"}},"footer":{"socials":{"website":"https://togai.com","twitter":"https://twitter.com/togaiHQ","github":"https://github.com/TogaiHQ/","linkedin":"https://www.linkedin.com/company/togai"}},"integrations":{"ga4":{"measurementId":"G-Q0BLXR7WX5"},"gtm":{"tagId":"GTM-TS4BK7Z"}},"navigation":{"global":{"anchors":[{"anchor":"Postman collection","href":"https://www.postman.com/togai-workspace/workspace/togai-public","icon":"folder-open"},{"anchor":"Open API spec","href":"https://github.com/TogaiHQ/togai-mintlify-docs/blob/main/openapi.yaml","icon":{"name":"brackets-curly","style":"solid"}}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"zuora-togai","hasAudioNarration":false,"actualSubdomain":"zuora-togai","customDomains":["docs.togai.com"],"gitSource":{"type":"github","owner":"zuora","repo":"togai-mintlify-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a21e64ff325d2bf1006031a","collectionId":"4133aab6-8f92-457d-b1b7-2c069657b8f2","schemaVersion":"v2"},"feedback":{"edits":true,"issues":true},"entitlements":{},"buildId":"6a21e64ff325d2bf1006031a:success","clientVersion":"0.0.3964","searchFilterCounts":[{"language":"default","tag":"API Reference","count":147},{"language":"default","tag":"APIs","count":144},{"language":"default","tag":"Documentation","count":73},{"language":"default","tag":"Integrations","count":36},{"language":"default","tag":"Accounts","count":27},{"language":"default","tag":"How-To's","count":18},{"language":"default","tag":"Price Plan V2","count":13},{"language":"default","tag":"Manage customers","count":12},{"language":"default","tag":"Alerts","count":9},{"language":"default","tag":"Invoices","count":9}]},"assistantConfig":{},"hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/invoices/create-a-custom-invoice-for-an-account","slug":"/api-reference/invoices/create-a-custom-invoice-for-an-account","pageMetadata":{"openapi":"post /invoices","title":"Create a custom invoice for an account","description":"Create a custom invoice for an account.","href":"/api-reference/invoices/create-a-custom-invoice-for-an-account"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Create a custom invoice for an account.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"openapi":"post /invoices","title":"Create a custom invoice for an account","description":"Create a custom invoice for an account.","href":"/api-reference/invoices/create-a-custom-invoice-for-an-account"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Invoices"],"summary":"Create a custom invoice for an account","description":"Create a custom invoice for an account.","operationId":"createCustomInvoice","requestBody":"b91e4d6f-33d1-428c-bcd6-bfb6b22a1fd3","responses":{"201":"2d7dbf7d-3ab1-49dd-8f8f-c9569edf7d42","400":"435bb7a4-fc35-43b0-a116-166ec93d73b0","401":"efa8b675-b843-4047-99d1-4aa393c27d48","403":"1fa2aa59-f6d9-435c-b840-fddd86504c68","404":"fcd258e7-2cba-445f-9008-9a05617f2b8e","429":"8e7d23fe-12c5-4735-b5b2-fc9e70d9a742","default":"29b6b75d-20e6-41d5-972c-433fc6829266"},"method":"post","type":"path","servers":["b517a395-a163-43f7-af0b-3e4ebe6efe76","9589ebc2-f0a7-4d5f-9437-c1f8f01bd941"],"security":["899f1d41-fe4e-43f8-88d3-8402ebff54f4"],"path":"/invoices","baseUrlOptions":["https://api.togai.com/","https://sandbox-api.togai.com/"],"title":"Create a custom invoice for an account","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"description":"Payload to create invoice","content":{"application/json":{"schema":{"description":"Payload to create invoice","type":"object","additionalProperties":false,"required":["accountId","startDate","endDate","status","lineItems"],"properties":{"accountId":{"type":"string","example":"ACC001","isRequired":true,"uniqueKey":"accountId","typeLabel":"string"},"startDate":{"type":"string","format":"date-time","example":"2020-06-04T12:00:00.000Z","isRequired":true,"uniqueKey":"startDate","typeLabel":"string\u003cdate-time>"},"endDate":{"type":"string","format":"date-time","example":"2020-07-04T12:00:00.000Z","isRequired":true,"uniqueKey":"endDate","typeLabel":"string\u003cdate-time>"},"status":{"title":"CreateInvoiceStatus","description":"Status to create an invoice in.","type":"string","enum":["DRAFT","DUE","PAID"],"example":"DUE","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"lineItems":{"type":"array","minItems":1,"maxItems":50,"items":{"type":"object","description":"Custom line item. Either `value` or `quantity` + `valuePerQuantity` is required.\nIn case `quantity` and `valuePerQuantity` are provided, `value` is computed as (`quantity` X `valuePerQuantity`)\n","additionalProperties":false,"properties":{"id":{"type":"string","uniqueKey":"lineItems.items.[INDEX].id","typeLabel":"string"},"description":{"type":"string","uniqueKey":"lineItems.items.[INDEX].description","typeLabel":"string"},"valuePerQuantity":{"type":"number","uniqueKey":"lineItems.items.[INDEX].valuePerQuantity","typeLabel":"number"},"quantity":{"type":"number","uniqueKey":"lineItems.items.[INDEX].quantity","typeLabel":"number"},"value":{"type":"number","uniqueKey":"lineItems.items.[INDEX].value","typeLabel":"number"},"billableId":{"type":"string","uniqueKey":"lineItems.items.[INDEX].billableId","typeLabel":"string"}},"uniqueKey":"lineItems.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"lineItems","typeLabel":"object[]"},"ownerType":{"type":"string","enum":["ACCOUNT","INVOICE_GROUP"],"uniqueKey":"ownerType","typeLabel":"enum\u003cstring>"},"idempotencyKey":{"type":"string","example":"1234567890","uniqueKey":"idempotencyKey","typeLabel":"string"},"autoAdvance":{"type":"boolean","description":"This property defines the behaviour of status transition of the invoice.\nIf true, invoice auto transitions from `DRAFT` to `DUE` or `PAID` at the end of pricing cycle.\nIf false, the invoiceβs state doesnβt automatically advance without an explicit action.\nDefault: false\n","uniqueKey":"autoAdvance","typeLabel":"boolean"},"applyCredits":{"type":"boolean","description":"This property defines the behaviour of whether or not to use credits to net off with the invoice amount. Default: true\n","uniqueKey":"applyCredits","typeLabel":"boolean"},"applyWalletBalance":{"type":"boolean","description":"This property defines the behaviour of whether or not to use wallet amount to net off with the invoice amount. Default: true\n","uniqueKey":"applyWalletBalance","typeLabel":"boolean"}},"uniqueKey":"","typeLabel":"object"},"examples":{"CreateCustomInvoiceRequest":{"title":"CreateCustomInvoiceRequest","value":{"accountId":"ACC001","startDate":"2020-06-04T12:00:00.000Z","endDate":"2020-07-04T12:00:00.000Z","idempotencyKey":"1234567890","status":"DRAFT","lineItems":[{"description":"Payout IMPS","valuePerQuantity":0.001,"quantity":32109}]}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"2d7dbf7d-3ab1-49dd-8f8f-c9569edf7d42":{"description":"Response for Get invoice requests","content":{"application/json":{"schema":{"description":"Structure of invoice","type":"object","additionalProperties":false,"required":["id","status","invoiceDate","updatedAt","invoiceClass","invoiceType","totalAmount","paidAmount","netTermDays"],"properties":{"id":{"description":"Identifier of invoice","type":"string","maxLength":50,"isRequired":true,"uniqueKey":"id","typeLabel":"string"},"status":{"description":"Status of the invoice","type":"string","enum":["DRAFT","DUE","PAID","VOID","UN_COLLECTIBLE","REFUND_INITIATED","REFUND_COMPLETED","MERGED","PARTIALLY_PAID"],"example":"DUE","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"invoiceClass":{"description":"Represents the class of entity( INVOICE/ORDER/BILLABLE)","type":"string","enum":["INVOICE","ORDER","BILLABLE"],"example":"INVOICE","isRequired":true,"uniqueKey":"invoiceClass","typeLabel":"enum\u003cstring>"},"invoiceType":{"description":"Represents the type of entity(STANDARD/AD_HOC/COMPOSITE)","type":"string","enum":["STANDARD","AD_HOC","CUSTOM","COMPOSITE","STANDARD_ADVANCED","ADHOC_ADVANCED"],"isRequired":true,"uniqueKey":"invoiceType","typeLabel":"enum\u003cstring>"},"invoiceDate":{"description":"Invoice date of the invoice","type":"string","format":"date-time","example":"2020-07-04T12:00:00.000Z","isRequired":true,"uniqueKey":"invoiceDate","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"updatedAt","typeLabel":"string\u003cdate-time>"},"totalAmount":{"type":"number","isRequired":true,"uniqueKey":"totalAmount","typeLabel":"number"},"paidAmount":{"type":"number","isRequired":true,"uniqueKey":"paidAmount","typeLabel":"number"},"netTermDays":{"type":"integer","description":"Number of days from the invoice date after which an invoice is considered overdue.","isRequired":true,"uniqueKey":"netTermDays","typeLabel":"integer"},"customerId":{"type":"string","uniqueKey":"customerId","typeLabel":"string"},"ownerId":{"type":"string","uniqueKey":"ownerId","typeLabel":"string"},"pricePlanId":{"type":"string","uniqueKey":"pricePlanId","typeLabel":"string"},"usageInfo":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["description","type","value"],"properties":{"description":{"type":"string","isRequired":true,"uniqueKey":"usageInfo.items.[INDEX].description","typeLabel":"string"},"type":{"type":"string","enum":["TOTAL_USAGE","USAGE_METER_USAGE","GRAND_TOTAL_AMOUNT","TOTAL_AMOUNT","NET_AMOUNT","GROSS_AMOUNT","SUB_TOTAL_AMOUNT","PRICE_PLAN_AMOUNT","FIXED_FEE_RATE_CARD_AMOUNT","CREDIT_GRANT_RATE_CARD_AMOUNT","BILLING_ENTITLEMENT_RATE_CARD_AMOUNT","ENTITLEMENT_OVERAGE_RATE_CARD_AMOUNT","ENTITLEMENT_OVERAGE_RATE_CARD_SLAB_AMOUNT","LICENSE_RATE_CARD_AMOUNT","USAGE_CYCLE_AMOUNT","LICENSE_RATE_CARD_SLAB_AMOUNT","USAGE_RATE_CARD_AMOUNT","USAGE_RATE_CARD_SLAB_AMOUNT","TOTAL_CREDITS","SUB_CREDITS","TOTAL_ADVANCED_FEES","ADVANCED_FIXED_FEE","ADVANCED_LICENSE_RATE_CARD_AMOUNT","ADVANCED_BILLING_ENTITLEMENT_RATE_CARD_AMOUNT","ADVANCED_CREDIT_GRANT_RATE_CARD_AMOUNT","TOTAL_MISCELLANEOUS_CHARGES","MISCELLANEOUS_CHARGE","TRUE_UP_AMOUNT","TOTAL_PURCHASE_AMOUNT","CUSTOM_AMOUNT","CUSTOM_TAG","TOTAL_PRICING_RULE_ADDITION_AMOUNT","PRICING_RULE_ADDITION_AMOUNT","PRICING_RULE_REVENUE_UPDATE_AMOUNT","PRICING_RULE_USAGE_UPDATE_AMOUNT","RATE_CONFIG_ADJUSTMENT_AMOUNT","TOTAL_TAX_AMOUNT","TAX_AMOUNT","PROXY_AMOUNT"],"description":"Type of the line item\n- GRAND_TOTAL_AMOUNT: Sum of all total amount of individual invoices in a grouped(composite) invoice\n- TOTAL_AMOUNT: Total revenue of the invoice\n- NET_AMOUNT: Net revenue of the invoice ( Gross revenue - Discounts )\n- GROSS_AMOUNT: Gross revenue of the invoice \n- PRICE_PLAN_AMOUNT: SUB_TOTAL_AMOUNT + true up amount\n- SUB_TOTAL_AMOUNT: Sum of all rate card revenues\n- TRUE_UP_AMOUNT: Minimum commitment - SUB_TOTAL_AMOUNT (Always positive)\n- TOTAL_USAGE: List of all the usage meter usages\n- USAGE_METER_USAGE: Usage of an usage meter\n- USAGE_RATE_CARD_AMOUNT: Revenue generated from usage rate card\n- USAGE_RATE_CARD_SLAB_AMOUNT: Revenue generated from usage rate card slab\n- FIXED_FEE_RATE_CARD_AMOUNT: Revenue generated from fixed fee rate card\n- CREDIT_GRANT_RATE_CARD_AMOUNT: : Revenue generated from credit grant rate card\n- BILLING_ENTITLEMENT_RATE_CARD_AMOUNT: Revenue generated from billing entitlement rate card\n- ENTITLEMENT_OVERAGE_RATE_CARD_AMOUNT: : Revenue generated from entitlement overage rate card\n- ENTITLEMENT_OVERAGE_RATE_CARD_SLAB_AMOUNT: Revenue generated from entitlement overage rate card slab\n- LICENSE_RATE_CARD_AMOUNT: Revenue generated from license rate card\n- TOTAL_CREDITS: Sum of all credit amounts\n- SUB_CREDITS: Granted credit value\n- TOTAL_ADVANCED_FEES: Sum of all advanced fee revenue\n- ADVANCED_FIXED_FEE: Revenue generated from advanced fixed fee rate card\n- ADVANCED_LICENSE_RATE_CARD_AMOUNT: Revenue generated from advanced license rate card\n- ADVANCED_BILLING_ENTITLEMENT_RATE_CARD_AMOUNT: Revenue generated from advanced billing entitlement rate card\n- ADVANCED_CREDIT_GRANT_RATE_CARD_AMOUNT: Revenue generated from advanced credit grant rate card\n- TOTAL_MISCELLANEOUS_CHARGES: Net revenue of all MISCELLANEOUS_CHARGE\n- MISCELLANEOUS_CHARGE: Custom amount added to a DRAFT invoice\n- TOTAL_PURCHASE_AMOUNT: Net revenue all rate cards in a purchase plan\n- CUSTOM_AMOUNT: Custom amount added a DRAFT invoice\n- CUSTOM_TAG: User defined tags given to each rate card\n- TOTAL_PRICING_RULE_ADDITION_AMOUNT: Sum of all line items added by applying pricing rules\n- PRICING_RULE_ADDITION_AMOUNT: Amount added to invoice as a result of applying a pricing rule\n- PRICING_RULE_REVENUE_UPDATE_AMOUNT: Difference in revenue(value) obtained as a result of applying a pricing rule\n- PRICING_RULE_USAGE_UPDATE_AMOUNT: Difference in usage(quantity) obtained as a result of applying a pricing rule\n- RATE_CONFIG_ADJUSTMENT_AMOUNT: Difference in revenue obtained as a result of applying rate config['minimumRate', 'maximumRate'] at rate card level\n","isRequired":true,"uniqueKey":"usageInfo.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"value":{"type":"number","isRequired":true,"uniqueKey":"usageInfo.items.[INDEX].value","typeLabel":"number"},"id":{"type":"string","uniqueKey":"usageInfo.items.[INDEX].id","typeLabel":"string"},"valuePerQuantity":{"type":"number","uniqueKey":"usageInfo.items.[INDEX].valuePerQuantity","typeLabel":"number"},"quantity":{"type":"number","uniqueKey":"usageInfo.items.[INDEX].quantity","typeLabel":"number"},"units":{"type":"string","uniqueKey":"usageInfo.items.[INDEX].units","typeLabel":"string"},"metadata":{"type":"object","additionalProperties":true,"uniqueKey":"usageInfo.items.[INDEX].metadata","typeLabel":"object"}},"uniqueKey":"usageInfo.items.[INDEX]","typeLabel":"object"},"uniqueKey":"usageInfo","typeLabel":"object[]"},"revenueInfo":{"type":"object","additionalProperties":false,"required":["description","type","value"],"properties":{"description":{"type":"string","isRequired":true,"uniqueKey":"revenueInfo.description","typeLabel":"string"},"type":{"type":"string","enum":["TOTAL_USAGE","USAGE_METER_USAGE","GRAND_TOTAL_AMOUNT","TOTAL_AMOUNT","NET_AMOUNT","GROSS_AMOUNT","SUB_TOTAL_AMOUNT","PRICE_PLAN_AMOUNT","FIXED_FEE_RATE_CARD_AMOUNT","CREDIT_GRANT_RATE_CARD_AMOUNT","BILLING_ENTITLEMENT_RATE_CARD_AMOUNT","ENTITLEMENT_OVERAGE_RATE_CARD_AMOUNT","ENTITLEMENT_OVERAGE_RATE_CARD_SLAB_AMOUNT","LICENSE_RATE_CARD_AMOUNT","USAGE_CYCLE_AMOUNT","LICENSE_RATE_CARD_SLAB_AMOUNT","USAGE_RATE_CARD_AMOUNT","USAGE_RATE_CARD_SLAB_AMOUNT","TOTAL_CREDITS","SUB_CREDITS","TOTAL_ADVANCED_FEES","ADVANCED_FIXED_FEE","ADVANCED_LICENSE_RATE_CARD_AMOUNT","ADVANCED_BILLING_ENTITLEMENT_RATE_CARD_AMOUNT","ADVANCED_CREDIT_GRANT_RATE_CARD_AMOUNT","TOTAL_MISCELLANEOUS_CHARGES","MISCELLANEOUS_CHARGE","TRUE_UP_AMOUNT","TOTAL_PURCHASE_AMOUNT","CUSTOM_AMOUNT","CUSTOM_TAG","TOTAL_PRICING_RULE_ADDITION_AMOUNT","PRICING_RULE_ADDITION_AMOUNT","PRICING_RULE_REVENUE_UPDATE_AMOUNT","PRICING_RULE_USAGE_UPDATE_AMOUNT","RATE_CONFIG_ADJUSTMENT_AMOUNT","TOTAL_TAX_AMOUNT","TAX_AMOUNT","PROXY_AMOUNT"],"description":"Type of the line item\n- GRAND_TOTAL_AMOUNT: Sum of all total amount of individual invoices in a grouped(composite) invoice\n- TOTAL_AMOUNT: Total revenue of the invoice\n- NET_AMOUNT: Net revenue of the invoice ( Gross revenue - Discounts )\n- GROSS_AMOUNT: Gross revenue of the invoice \n- PRICE_PLAN_AMOUNT: SUB_TOTAL_AMOUNT + true up amount\n- SUB_TOTAL_AMOUNT: Sum of all rate card revenues\n- TRUE_UP_AMOUNT: Minimum commitment - SUB_TOTAL_AMOUNT (Always positive)\n- TOTAL_USAGE: List of all the usage meter usages\n- USAGE_METER_USAGE: Usage of an usage meter\n- USAGE_RATE_CARD_AMOUNT: Revenue generated from usage rate card\n- USAGE_RATE_CARD_SLAB_AMOUNT: Revenue generated from usage rate card slab\n- FIXED_FEE_RATE_CARD_AMOUNT: Revenue generated from fixed fee rate card\n- CREDIT_GRANT_RATE_CARD_AMOUNT: : Revenue generated from credit grant rate card\n- BILLING_ENTITLEMENT_RATE_CARD_AMOUNT: Revenue generated from billing entitlement rate card\n- ENTITLEMENT_OVERAGE_RATE_CARD_AMOUNT: : Revenue generated from entitlement overage rate card\n- ENTITLEMENT_OVERAGE_RATE_CARD_SLAB_AMOUNT: Revenue generated from entitlement overage rate card slab\n- LICENSE_RATE_CARD_AMOUNT: Revenue generated from license rate card\n- TOTAL_CREDITS: Sum of all credit amounts\n- SUB_CREDITS: Granted credit value\n- TOTAL_ADVANCED_FEES: Sum of all advanced fee revenue\n- ADVANCED_FIXED_FEE: Revenue generated from advanced fixed fee rate card\n- ADVANCED_LICENSE_RATE_CARD_AMOUNT: Revenue generated from advanced license rate card\n- ADVANCED_BILLING_ENTITLEMENT_RATE_CARD_AMOUNT: Revenue generated from advanced billing entitlement rate card\n- ADVANCED_CREDIT_GRANT_RATE_CARD_AMOUNT: Revenue generated from advanced credit grant rate card\n- TOTAL_MISCELLANEOUS_CHARGES: Net revenue of all MISCELLANEOUS_CHARGE\n- MISCELLANEOUS_CHARGE: Custom amount added to a DRAFT invoice\n- TOTAL_PURCHASE_AMOUNT: Net revenue all rate cards in a purchase plan\n- CUSTOM_AMOUNT: Custom amount added a DRAFT invoice\n- CUSTOM_TAG: User defined tags given to each rate card\n- TOTAL_PRICING_RULE_ADDITION_AMOUNT: Sum of all line items added by applying pricing rules\n- PRICING_RULE_ADDITION_AMOUNT: Amount added to invoice as a result of applying a pricing rule\n- PRICING_RULE_REVENUE_UPDATE_AMOUNT: Difference in revenue(value) obtained as a result of applying a pricing rule\n- PRICING_RULE_USAGE_UPDATE_AMOUNT: Difference in usage(quantity) obtained as a result of applying a pricing rule\n- RATE_CONFIG_ADJUSTMENT_AMOUNT: Difference in revenue obtained as a result of applying rate config['minimumRate', 'maximumRate'] at rate card level\n","isRequired":true,"uniqueKey":"revenueInfo.type","typeLabel":"enum\u003cstring>"},"value":{"type":"number","isRequired":true,"uniqueKey":"revenueInfo.value","typeLabel":"number"},"id":{"type":"string","uniqueKey":"revenueInfo.id","typeLabel":"string"},"valuePerQuantity":{"type":"number","uniqueKey":"revenueInfo.valuePerQuantity","typeLabel":"number"},"quantity":{"type":"number","uniqueKey":"revenueInfo.quantity","typeLabel":"number"},"units":{"type":"string","uniqueKey":"revenueInfo.units","typeLabel":"string"},"metadata":{"type":"object","additionalProperties":true,"uniqueKey":"revenueInfo.metadata","typeLabel":"object"}},"uniqueKey":"revenueInfo","typeLabel":"object"},"invoiceDetails":{"type":"object","additionalProperties":false,"properties":{"customer":{"type":"object","additionalProperties":false,"required":["name","primaryEmail"],"properties":{"name":{"type":"string","isRequired":true,"uniqueKey":"invoiceDetails.customer.name","typeLabel":"string"},"primaryEmail":{"type":"string","isRequired":true,"uniqueKey":"invoiceDetails.customer.primaryEmail","typeLabel":"string"},"billingAddress":{"type":"string","uniqueKey":"invoiceDetails.customer.billingAddress","typeLabel":"string"},"address":{"description":"billing address of the customer","type":"object","additionalProperties":false,"properties":{"phoneNumber":{"description":"Contact number","type":"string","uniqueKey":"invoiceDetails.customer.address.phoneNumber","typeLabel":"string"},"line1":{"description":"Address line 1 (eg. Street, PO Box, Company Name)","type":"string","uniqueKey":"invoiceDetails.customer.address.line1","typeLabel":"string"},"line2":{"description":"Address line 2 (eg. apartment, suite, unit or building)","type":"string","uniqueKey":"invoiceDetails.customer.address.line2","typeLabel":"string"},"postalCode":{"description":"ZIP or postal code","type":"string","uniqueKey":"invoiceDetails.customer.address.postalCode","typeLabel":"string"},"city":{"description":"City, district, suburb, town or village","type":"string","uniqueKey":"invoiceDetails.customer.address.city","typeLabel":"string"},"state":{"description":"State, county, province or region","type":"string","uniqueKey":"invoiceDetails.customer.address.state","typeLabel":"string"},"country":{"description":"Two letter country code [ISO-3166-1 Alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)","type":"string","uniqueKey":"invoiceDetails.customer.address.country","typeLabel":"string"}},"uniqueKey":"invoiceDetails.customer.address","typeLabel":"object"}},"uniqueKey":"invoiceDetails.customer","typeLabel":"object"},"account":{"type":"object","additionalProperties":false,"required":["name","invoiceCurrency","address","primaryEmail"],"properties":{"name":{"type":"string","isRequired":true,"uniqueKey":"invoiceDetails.account.name","typeLabel":"string"},"invoiceCurrency":{"type":"string","isRequired":true,"uniqueKey":"invoiceDetails.account.invoiceCurrency","typeLabel":"string"},"address":{"description":"billing address of the customer","type":"object","additionalProperties":false,"properties":{"phoneNumber":{"description":"Contact number","type":"string","uniqueKey":"invoiceDetails.account.address.phoneNumber","typeLabel":"string"},"line1":{"description":"Address line 1 (eg. Street, PO Box, Company Name)","type":"string","uniqueKey":"invoiceDetails.account.address.line1","typeLabel":"string"},"line2":{"description":"Address line 2 (eg. apartment, suite, unit or building)","type":"string","uniqueKey":"invoiceDetails.account.address.line2","typeLabel":"string"},"postalCode":{"description":"ZIP or postal code","type":"string","uniqueKey":"invoiceDetails.account.address.postalCode","typeLabel":"string"},"city":{"description":"City, district, suburb, town or village","type":"string","uniqueKey":"invoiceDetails.account.address.city","typeLabel":"string"},"state":{"description":"State, county, province or region","type":"string","uniqueKey":"invoiceDetails.account.address.state","typeLabel":"string"},"country":{"description":"Two letter country code [ISO-3166-1 Alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)","type":"string","uniqueKey":"invoiceDetails.account.address.country","typeLabel":"string"}},"isRequired":true,"uniqueKey":"invoiceDetails.account.address","typeLabel":"object"},"primaryEmail":{"type":"string","isRequired":true,"uniqueKey":"invoiceDetails.account.primaryEmail","typeLabel":"string"}},"uniqueKey":"invoiceDetails.account","typeLabel":"object"},"pricePlanName":{"type":"string","uniqueKey":"invoiceDetails.pricePlanName","typeLabel":"string"},"invoiceGroup":{"type":"object","additionalProperties":false,"required":["id","name","dailyInvoiceConsolidation","invoiceCurrency","address"],"properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"invoiceDetails.invoiceGroup.id","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"invoiceDetails.invoiceGroup.name","typeLabel":"string"},"dailyInvoiceConsolidation":{"type":"boolean","isRequired":true,"uniqueKey":"invoiceDetails.invoiceGroup.dailyInvoiceConsolidation","typeLabel":"boolean"},"invoiceCurrency":{"type":"string","isRequired":true,"uniqueKey":"invoiceDetails.invoiceGroup.invoiceCurrency","typeLabel":"string"},"address":{"description":"billing address of the customer","type":"object","additionalProperties":false,"properties":{"phoneNumber":{"description":"Contact number","type":"string","uniqueKey":"invoiceDetails.invoiceGroup.address.phoneNumber","typeLabel":"string"},"line1":{"description":"Address line 1 (eg. Street, PO Box, Company Name)","type":"string","uniqueKey":"invoiceDetails.invoiceGroup.address.line1","typeLabel":"string"},"line2":{"description":"Address line 2 (eg. apartment, suite, unit or building)","type":"string","uniqueKey":"invoiceDetails.invoiceGroup.address.line2","typeLabel":"string"},"postalCode":{"description":"ZIP or postal code","type":"string","uniqueKey":"invoiceDetails.invoiceGroup.address.postalCode","typeLabel":"string"},"city":{"description":"City, district, suburb, town or village","type":"string","uniqueKey":"invoiceDetails.invoiceGroup.address.city","typeLabel":"string"},"state":{"description":"State, county, province or region","type":"string","uniqueKey":"invoiceDetails.invoiceGroup.address.state","typeLabel":"string"},"country":{"description":"Two letter country code [ISO-3166-1 Alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)","type":"string","uniqueKey":"invoiceDetails.invoiceGroup.address.country","typeLabel":"string"}},"isRequired":true,"uniqueKey":"invoiceDetails.invoiceGroup.address","typeLabel":"object"},"email":{"type":"string","uniqueKey":"invoiceDetails.invoiceGroup.email","typeLabel":"string"}},"uniqueKey":"invoiceDetails.invoiceGroup","typeLabel":"object"},"organization":{"type":"object","additionalProperties":false,"required":["businessName","address","primaryEmail"],"properties":{"businessName":{"type":"string","isRequired":true,"uniqueKey":"invoiceDetails.organization.businessName","typeLabel":"string"},"address":{"description":"billing address of the customer","type":"object","additionalProperties":false,"properties":{"phoneNumber":{"description":"Contact number","type":"string","uniqueKey":"invoiceDetails.organization.address.phoneNumber","typeLabel":"string"},"line1":{"description":"Address line 1 (eg. Street, PO Box, Company Name)","type":"string","uniqueKey":"invoiceDetails.organization.address.line1","typeLabel":"string"},"line2":{"description":"Address line 2 (eg. apartment, suite, unit or building)","type":"string","uniqueKey":"invoiceDetails.organization.address.line2","typeLabel":"string"},"postalCode":{"description":"ZIP or postal code","type":"string","uniqueKey":"invoiceDetails.organization.address.postalCode","typeLabel":"string"},"city":{"description":"City, district, suburb, town or village","type":"string","uniqueKey":"invoiceDetails.organization.address.city","typeLabel":"string"},"state":{"description":"State, county, province or region","type":"string","uniqueKey":"invoiceDetails.organization.address.state","typeLabel":"string"},"country":{"description":"Two letter country code [ISO-3166-1 Alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)","type":"string","uniqueKey":"invoiceDetails.organization.address.country","typeLabel":"string"}},"isRequired":true,"uniqueKey":"invoiceDetails.organization.address","typeLabel":"object"},"primaryEmail":{"type":"string","isRequired":true,"uniqueKey":"invoiceDetails.organization.primaryEmail","typeLabel":"string"},"metadata":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"invoiceDetails.organization.metadata.additionalProperties","typeLabel":"string"},"uniqueKey":"invoiceDetails.organization.metadata","typeLabel":"object"}},"uniqueKey":"invoiceDetails.organization","typeLabel":"object"},"logoUrl":{"type":"string","uniqueKey":"invoiceDetails.logoUrl","typeLabel":"string"}},"uniqueKey":"invoiceDetails","typeLabel":"object"},"finalizingStatus":{"type":"string","enum":["FINALIZING","FINALIZED"],"uniqueKey":"finalizingStatus","typeLabel":"enum\u003cstring>"},"autoAdvance":{"type":"boolean","example":true,"uniqueKey":"autoAdvance","typeLabel":"boolean"},"startDate":{"description":"Start date of the invoice","type":"string","format":"date-time","example":"2020-07-04T12:00:00.000Z","uniqueKey":"startDate","typeLabel":"string\u003cdate-time>"},"endDate":{"description":"End date of the invoice","type":"string","format":"date-time","example":"2020-07-04T12:00:00.000Z","uniqueKey":"endDate","typeLabel":"string\u003cdate-time>"},"endDateInclusive":{"description":"Inclusive end date of the invoice","type":"string","format":"date-time","example":"2020-07-03T11:59:59.999Z","uniqueKey":"endDateInclusive","typeLabel":"string\u003cdate-time>"},"dueDate":{"description":"Due date of the invoice","type":"string","format":"date-time","example":"2020-07-04T12:00:00.000Z","uniqueKey":"dueDate","typeLabel":"string\u003cdate-time>"},"generatedAt":{"type":"string","format":"date-time","uniqueKey":"generatedAt","typeLabel":"string\u003cdate-time>"},"metadata":{"type":"object","additionalProperties":true,"uniqueKey":"metadata","typeLabel":"object"},"info":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["type","value"],"properties":{"type":{"type":"string","description":"Type of the information","isRequired":true,"uniqueKey":"info.items.[INDEX].type","typeLabel":"string"},"value":{"type":"string","description":"Value of the information","isRequired":true,"uniqueKey":"info.items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"info.items.[INDEX]","typeLabel":"object"},"uniqueKey":"info","typeLabel":"object[]"},"sequenceId":{"type":"string","description":"Sequence id of the invoice","uniqueKey":"sequenceId","typeLabel":"string"},"pdfUrl":{"description":"Download URL of the pdf file corresponding to the invoice","type":"string","uniqueKey":"pdfUrl","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Invoice":{"title":"Invoice","value":{"id":"inv.hkgkgyh.ghg","sequenceId":"2020-07-2958","customerId":"7VcRw9xZDIqsC5E","ownerId":"ACC001","usageInfo":[{"description":"rides - local","type":"USAGE_METER_USAGE","value":15,"units":"USAGE_UNITS"},{"description":"rides - pro","type":"USAGE_METER_USAGE","value":5,"units":"USAGE_UNITS"}],"revenueInfo":{"description":"Grand Total Amount","type":"GRAND_TOTAL_AMOUNT","units":"USD","value":881.94,"lineItems":[{"description":"Total Amount","type":"TOTAL_AMOUNT","units":"USD","value":881.94,"lineItems":[{"description":"Total amount due","type":"NET_AMOUNT","units":"USD","value":881.94,"lineItems":[{"description":"Sum Total","type":"GROSS_AMOUNT","units":"USD","value":981.94,"lineItems":[{"description":"Payout_NEFT","type":"USAGE_RATE_CARD_AMOUNT","units":"USD","value":392.1,"lineItems":[{"description":"Slab 1","type":"USAGE_RATE_CARD_SLAB_AMOUNT","valuePerQuantity":0.001,"quantity":10000,"units":"USD","value":10},{"description":"Slab 2","type":"USAGE_RATE_CARD_SLAB_AMOUNT","valuePerQuantity":0.001,"quantity":10000,"units":"USD","value":10}]},{"description":"Payout IMPS","type":"USAGE_RATE_CARD_AMOUNT","valuePerQuantity":0.001,"quantity":32109,"units":"USD","value":589.94,"lineItems":[{"description":"Slab 1","type":"USAGE_RATE_CARD_SLAB_AMOUNT","valuePerQuantity":0.001,"quantity":10000,"units":"USD","value":10},{"description":"Slab 2","type":"USAGE_RATE_CARD_SLAB_AMOUNT","valuePerQuantity":0.001,"quantity":10000,"units":"USD","value":10}]}]}]}]}]},"invoiceDetails":{"customer":{"name":"John Doe","primaryEmail":"john@togai.com","address":{"line1":"2281 Broadway Street","line2":"G-31","postalCode":"29501","city":"Florence","state":"South Carolina","country":"US"}},"account":{"name":"Togai","address":{"line1":"2281 Broadway Street","line2":"G-31","postalCode":"29501","city":"Florence","state":"South Carolina","country":"US"},"primaryEmail":"john@togai.com","invoiceCurrency":"USD"},"pricePlanName":"Togai Basic"},"totalAmount":881.94,"paidAmount":0,"invoiceClass":"INVOICE","invoiceType":"STANDARD","status":"DUE","finalizingStatus":"FINALIZED","startDate":"2020-07-04T12:00:00.000Z","endDate":"2020-08-04T12:00:00.000Z","invoiceDate":"2020-08-04T12:00:00.000Z","generatedAt":"2020-08-04T12:00:00.000Z","updatedAt":"2020-08-04T12:00:00.000Z"}}},"exampleType":"examples"}},"exampleType":"examples"},"435bb7a4-fc35-43b0-a116-166ec93d73b0":{"description":"Error response","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["message"],"properties":{"message":{"type":"string","description":"error description","maxLength":500,"isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"ErrorResponse":{"title":"ErrorResponse","value":{"message":"\u003cReason message>"}}},"exampleType":"examples"}},"exampleType":"examples"},"efa8b675-b843-4047-99d1-4aa393c27d48":{"description":"Error response","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["message"],"properties":{"message":{"type":"string","description":"error description","maxLength":500,"isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"ErrorResponse":{"title":"ErrorResponse","value":{"message":"\u003cReason message>"}}},"exampleType":"examples"}},"exampleType":"examples"},"1fa2aa59-f6d9-435c-b840-fddd86504c68":{"description":"Error response","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["message"],"properties":{"message":{"type":"string","description":"error description","maxLength":500,"isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"ErrorResponse":{"title":"ErrorResponse","value":{"message":"\u003cReason message>"}}},"exampleType":"examples"}},"exampleType":"examples"},"fcd258e7-2cba-445f-9008-9a05617f2b8e":{"description":"Error response","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["message"],"properties":{"message":{"type":"string","description":"error description","maxLength":500,"isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"ErrorResponse":{"title":"ErrorResponse","value":{"message":"\u003cReason message>"}}},"exampleType":"examples"}},"exampleType":"examples"},"8e7d23fe-12c5-4735-b5b2-fc9e70d9a742":{"description":"Error response","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["message"],"properties":{"message":{"type":"string","description":"error description","maxLength":500,"isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"ErrorResponse":{"title":"ErrorResponse","value":{"message":"\u003cReason message>"}}},"exampleType":"examples"}},"exampleType":"examples"},"29b6b75d-20e6-41d5-972c-433fc6829266":{"description":"Error response","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["message"],"properties":{"message":{"type":"string","description":"error description","maxLength":500,"isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"ErrorResponse":{"title":"ErrorResponse","value":{"message":"\u003cReason message>"}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"899f1d41-fe4e-43f8-88d3-8402ebff54f4":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"Bearer \u003ccredential>","scopes":[]}}},"servers":{"b517a395-a163-43f7-af0b-3e4ebe6efe76":{"description":"Api endpoint","url":"https://api.togai.com/"},"9589ebc2-f0a7-4d5f-9437-c1f8f01bd941":{"description":"Sandbox api endpoint","url":"https://sandbox-api.togai.com/"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"Bearer \u003ccredential>","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"openapi.yaml"},"subdomain":"zuora-togai","siteName":"Togai documentation","title":"Create a custom invoice for an account - Togai documentation","navMaps":{"firstHrefInVersion":{"v1":{"href":"/api-reference/invoices/create-a-custom-invoice-for-an-account","matchLevel":0}},"firstHrefInLanguage":{}},"lastModified":"2026-01-07T03:50:03.187Z","originalFileLocation":"api-reference/invoices/create-a-custom-invoice-for-an-account.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Create a custom invoice for an account.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Togai documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/zuora-togai/-3_qRbhWsDYhfzjO/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/zuora-togai/-3_qRbhWsDYhfzjO/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/zuora-togai/-3_qRbhWsDYhfzjO/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/zuora-togai/-3_qRbhWsDYhfzjO/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/zuora-togai/-3_qRbhWsDYhfzjO/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/zuora-togai/-3_qRbhWsDYhfzjO/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/zuora-togai/-3_qRbhWsDYhfzjO/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/zuora-togai/-3_qRbhWsDYhfzjO/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/zuora-togai/-3_qRbhWsDYhfzjO/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create a custom invoice for an account - Togai documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a custom invoice for an account.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Togai documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.togai.com/api-reference/invoices/create-a-custom-invoice-for-an-account\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://zuora-togai.mintlify.app/_mintlify/api/og/v2?division=Invoices\u0026amp;title=Create+a+custom+invoice+for+an+account\u0026amp;description=Create+a+custom+invoice+for+an+account.\u0026amp;theme=c6fa32643e3d775f05465dbc\u0026amp;signature=3fe7f377163844c6ef39a3fc712050244fc0ae8a0c815d6c2cc5d509d950fdef\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create a custom invoice for an account - Togai documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a custom invoice for an account.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://zuora-togai.mintlify.app/_mintlify/api/og/v2?division=Invoices\u0026amp;title=Create+a+custom+invoice+for+an+account\u0026amp;description=Create+a+custom+invoice+for+an+account.\u0026amp;theme=c6fa32643e3d775f05465dbc\u0026amp;signature=3fe7f377163844c6ef39a3fc712050244fc0ae8a0c815d6c2cc5d509d950fdef\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/zuora-togai/-3_qRbhWsDYhfzjO/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Togai documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2853C2\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.togai.com/api-reference/invoices/create-a-custom-invoice-for-an-account\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/invoices/create-a-custom-invoice-for-an-account.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.togai.com/#organization\",\"name\":\"Togai documentation\",\"url\":\"https://docs.togai.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/zuora-togai/gpDI_SmUijp8C7vA/images/togai-light.png?fit=max\u0026auto=format\u0026n=gpDI_SmUijp8C7vA\u0026q=85\u0026s=f564a808b1f89a7be82bef2effbcbeea\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.togai.com#website\",\"name\":\"Togai documentation\",\"url\":\"https://docs.togai.com\",\"publisher\":{\"@id\":\"https://docs.togai.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.togai.com/api-reference/invoices/create-a-custom-invoice-for-an-account#webpage\",\"url\":\"https://docs.togai.com/api-reference/invoices/create-a-custom-invoice-for-an-account\",\"name\":\"Create a custom invoice for an account\",\"description\":\"Create a custom invoice for an account.\",\"dateModified\":\"2026-01-07T03:50:03.187Z\",\"isPartOf\":{\"@id\":\"https://docs.togai.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.togai.com/api-reference/invoices/create-a-custom-invoice-for-an-account#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.togai.com/api-reference/invoices/create-a-custom-invoice-for-an-account#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"APIs\",\"item\":\"https://docs.togai.com/api-reference/authentication/get-bearer-token\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Invoices\",\"item\":\"https://docs.togai.com/api-reference/invoices/list-invoices\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Create a custom invoice for an account\",\"item\":\"https://docs.togai.com/api-reference/invoices/create-a-custom-invoice-for-an-account\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.togai.com/api-reference/invoices/create-a-custom-invoice-for-an-account#apireference\",\"headline\":\"Create a custom invoice for an account\",\"name\":\"Create a custom invoice for an account\",\"description\":\"Create a custom invoice for an account.\",\"url\":\"https://docs.togai.com/api-reference/invoices/create-a-custom-invoice-for-an-account\",\"mainEntityOfPage\":{\"@id\":\"https://docs.togai.com/api-reference/invoices/create-a-custom-invoice-for-an-account#webpage\"},\"dateModified\":\"2026-01-07T03:50:03.187Z\",\"publisher\":{\"@id\":\"https://docs.togai.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.togai.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Togai documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Togai documentation","nav":{"global":{"anchors":[{"anchor":"Postman collection","href":"https://www.postman.com/togai-workspace/workspace/togai-public","icon":"folder-open"},{"anchor":"Open API spec","href":"https://github.com/TogaiHQ/togai-mintlify-docs/blob/main/openapi.yaml","icon":{"name":"brackets-curly","style":"solid"}}]},"versions":[{"version":"v1","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/docs/introduction"}]},{"tab":"API Reference","groups":[{"group":"Introduction","pages":[{"title":"Getting Started","href":"/api-reference/getting-started"},{"title":"Authentication π","href":"/api-reference/authentication"},{"title":"Pagination π","href":"/api-reference/pagination"}]},{"group":"APIs","pages":[{"group":"Authentication","pages":[{"openapi":"post /authenticate","title":"Generate short lived bearer token","href":"/api-reference/authentication/get-bearer-token"},{"title":"Generate portal token","api":"post /organizations/{organization_id}/token","href":"/api-reference/authentication/customer-portal-auth"},{"openapi":"post /portal/token","title":"Get delegate token for customer portal","href":"/api-reference/authentication/get-delegate-token-for-customer-portal"}]},{"group":"Customers","pages":[{"openapi":"get /customers","title":"List customers","href":"/api-reference/customers/list-customers"},{"openapi":"post /customers","title":"Create a customer","href":"/api-reference/customers/create-a-customer"},{"openapi":"get /customers/{customer_id}","title":"Get a customer","href":"/api-reference/customers/get-a-customer"},{"openapi":"delete /customers/{customer_id}","title":"Delete a customer","href":"/api-reference/customers/delete-a-customer"},{"openapi":"patch /customers/{customer_id}","title":"Update a customer","href":"/api-reference/customers/update-a-customer"}]},{"group":"Accounts","pages":[{"openapi":"get /accounts","title":"List accounts of customer","href":"/api-reference/accounts/list-accounts-of-customer"},{"openapi":"post /accounts","title":"Create an account","href":"/api-reference/accounts/create-an-account"},{"openapi":"get /accounts/{account_id}","title":"Get an account","href":"/api-reference/accounts/get-an-account"},{"openapi":"delete /accounts/{account_id}","title":"Delete an account","href":"/api-reference/accounts/delete-an-account"},{"openapi":"patch /accounts/{account_id}","title":"Update an account","href":"/api-reference/accounts/update-an-account"},{"group":"Account Aliases","pages":[{"openapi":"get /accounts/{account_id}/account_aliases","title":"Get all aliases of an account","href":"/api-reference/accounts/account-aliases/get-all-aliases-of-an-account"},{"openapi":"post /accounts/{account_id}/add_aliases","title":"Add Aliases to account","href":"/api-reference/accounts/account-aliases/add-aliases-to-account"},{"openapi":"post /accounts/{account_id}/remove_aliases","title":"Remove Aliases to account","href":"/api-reference/accounts/account-aliases/remove-aliases-to-account"}]},{"group":"(Deprecated) Plan Associations","pages":[{"openapi":"get /accounts/{account_id}/pricing_schedules","title":"(DEPRECATED) List pricing schedules of an account","href":"/api-reference/accounts/plan-association/list-pricing-schedules-of-an-account"},{"openapi":"post /accounts/{account_id}/edit_schedules","title":"(DEPRECATED) Edit schedules of an account.","href":"/api-reference/accounts/plan-association/edit-schedules-of-an-account"},{"openapi":"post /accounts/{account_id}/price_plans","title":"(DEPRECATED) Dissociate or associate a price plan with an account","href":"/api-reference/accounts/plan-association/disassociate-a-plan-fromto-an-account"}]},{"group":"(Deprecated) Purchases","pages":[{"openapi":"get /accounts/{account_id}/purchases","title":"(DEPRECATED) Get all purchases for an account","href":"/api-reference/accounts/purchases/get-all-purchases-for-an-account"},{"openapi":"post /accounts/{account_id}/purchases","title":"(DEPRECATED) Initiate a purchase","href":"/api-reference/accounts/purchases/initiate-a-purchase"},{"openapi":"get /purchases/{purchase_id}","title":"(DEPRECATED) Get a specific purchase of an account","href":"/api-reference/accounts/purchases/get-a-specific-purchase-of-an-account"}]},{"group":"(Deprecated) Proposals","pages":[{"openapi":"get /accounts/{account_id}/purchase_proposals","title":"(DEPRECATED) List all proposals of an account","href":"/api-reference/accounts/proposals/list-all-proposals-of-an-account"},{"openapi":"post /accounts/{account_id}/purchase_proposals","title":"(DEPRECATED) Propose a purchase of a plan","href":"/api-reference/accounts/proposals/propose-a-purchase-of-a-plan"},{"openapi":"get /purchase_proposals/{purchase_proposal_id}","title":"(DEPRECATED) Get proposal information","href":"/api-reference/accounts/proposals/get-proposal-information"},{"openapi":"post /purchase_proposals/{purchase_proposal_id}/update_status","title":"(DEPRECATED) Approve or decline a purchase of a billing plan","href":"/api-reference/accounts/proposals/approve-or-decline-a-purchase-of-a-billing-plan"}]},{"group":"Schedules","pages":[{"openapi":"get /v2/schedules/{schedule_id}/rate_cards","title":"List rate cards","href":"/api-reference/schedules/list-rate-cards"},{"openapi":"post /v2/schedules/{schedule_id}/rate_cards","title":"Bulk rate card operations on a schedule","href":"/api-reference/schedules/bulk-rate-card-operations-on-a-schedule"},{"openapi":"post /v2/accounts/{account_id}/edit_schedules","title":"Bulk edit schedules of an account","href":"/api-reference/schedules/bulk-edit-schedules-of-an-account"},{"openapi":"get /v2/accounts/{account_id}/schedules","title":"List pricing schedules of an account","href":"/api-reference/schedules/list-pricing-schedules-of-an-account"},{"openapi":"get /v2/schedules/{schedule_id}/errors","title":"Get list of errors of a acc schedule","href":"/api-reference/schedules/get-list-of-errors-of-a-acc-schedule"},{"openapi":"delete /v2/accounts/{account_id}/discard_schedules","title":"Discard schedules of an account","href":"/api-reference/schedules/discard-schedules-of-an-account"},{"openapi":"post /v2/accounts/{account_id}/finalize_schedules","title":"Finalize schedules of an account","href":"/api-reference/schedules/finalize-schedules-of-an-account"},{"openapi":"get /v2/schedules/{schedule_id}/pricing_rules","title":"List pricing rules of a account schedule","href":"/api-reference/schedules/list-pricing-rules-of-a-account-schedule"},{"openapi":"put /v2/schedules/{schedule_id}/pricing_rules","title":"Update pricing rules of a account schedule","href":"/api-reference/schedules/update-pricing-rules-of-a-account-schedule"}]}]},{"group":"Aliases","pages":[{"openapi":"get /aliases","title":"List all aliases","href":"/api-reference/aliases/list-all-aliases"},{"openapi":"post /aliases","title":"Create an alias","href":"/api-reference/aliases/create-an-alias"},{"openapi":"get /aliases/{alias}","title":"Get an alias","href":"/api-reference/aliases/get-an-alias"},{"openapi":"delete /aliases/{alias}","title":"Delete an alias","href":"/api-reference/aliases/delete-an-alias"}]},{"group":"Event Schemas","pages":[{"openapi":"get /event_schema","title":"List event schemas","href":"/api-reference/event-schemas/list-event-schemas"},{"openapi":"post /event_schema","title":"Create an event schema","href":"/api-reference/event-schemas/create-an-event-schema"},{"openapi":"get /event_schema/{event_schema_name}","title":"Get an event schema","href":"/api-reference/event-schemas/get-an-event-schema"},{"openapi":"delete /event_schema/{event_schema_name}","title":"Delete an event schema","href":"/api-reference/event-schemas/delete-an-event-schema"},{"openapi":"patch /event_schema/{event_schema_name}","title":"Update an event schema","href":"/api-reference/event-schemas/update-an-event-schema"},{"openapi":"get /event_schema/{event_schema_name}/versions","title":"List all event schema versions","href":"/api-reference/event-schemas/list-all-event-schema-versions"},{"openapi":"post /event_schema/{event_schema_name}/activate","title":"Activate an event schema","href":"/api-reference/event-schemas/activate-an-event-schema"},{"openapi":"post /event_schema/{event_schema_name}/deactivate","title":"Deactivate an event schema","href":"/api-reference/event-schemas/deactivate-an-event-schema"}]},{"group":"Usage Meters","pages":[{"openapi":"get /usage_meters","title":"List usage meters for event schema","href":"/api-reference/usage-meters/list-usage-meters-for-event-schema"},{"openapi":"post /usage_meters","title":"Create an usage meter","href":"/api-reference/usage-meters/create-an-usage-meter"},{"openapi":"get /usage_meters/{usage_meter_id}","title":"Get usage meter","href":"/api-reference/usage-meters/get-usage-meter"},{"openapi":"delete /usage_meters/{usage_meter_id}","title":"Delete an Usage Meter","href":"/api-reference/usage-meters/delete-an-usage-meter"},{"openapi":"patch /usage_meters/{usage_meter_id}","title":"Update an usage meter","href":"/api-reference/usage-meters/update-an-usage-meter"},{"openapi":"post /usage_meters/{usage_meter_id}/activate","title":"Activate usage meter","href":"/api-reference/usage-meters/activate-usage-meter"},{"openapi":"post /usage_meters/{usage_meter_id}/deactivate","title":"Deactivate usage meter","href":"/api-reference/usage-meters/deactivate-usage-meter"}]},{"group":"AddOns","pages":[{"openapi":"get /addons","title":"List addOns","href":"/api-reference/addons/list-addons"},{"openapi":"post /addons","title":"Create an AddOn","href":"/api-reference/addons/create-an-addon"},{"openapi":"get /addons/{addon_id}","title":"Get an addon","href":"/api-reference/addons/get-an-addon"},{"openapi":"delete /addons/{addon_id}","title":"Delete an addon","href":"/api-reference/addons/delete-an-addon"},{"openapi":"patch /addons/{addon_id}","title":"Update an addon","href":"/api-reference/addons/update-an-addon"}]},{"group":"Licenses","pages":[{"openapi":"get /license_updates","title":"Get a list of licenses updates","href":"/api-reference/licenses/get-a-list-of-licenses-updates"},{"openapi":"post /license_updates","title":"Update a license entry","href":"/api-reference/licenses/update-a-license-entry"},{"openapi":"get /named_license_updates","title":"Get a list of named licenses updates","href":"/api-reference/licenses/get-a-list-of-named-licenses-updates"}]},{"group":"Feature","pages":[{"openapi":"get /features","title":"List Feature","href":"/api-reference/feature/list-feature"},{"openapi":"post /features","title":"Create a Feature and optionally associate with one or more event_schemas","href":"/api-reference/feature/create-a-feature-and-optionally-associate-with-one-or-more-event_schemas"},{"openapi":"get /features/{feature_id}","title":"Get a Feature","href":"/api-reference/feature/get-a-feature"},{"openapi":"patch /features/{feature_id}","title":"Update a Feature","href":"/api-reference/feature/update-a-feature"}]},{"group":"(Deprecated) Price Plans","pages":[{"openapi":"get /price_plans","title":"(DEPRECATED) List price plans","href":"/api-reference/price-plans/list-price-plans"},{"openapi":"post /price_plans","title":"(DEPRECATED) Create a price plan","href":"/api-reference/price-plans/create-a-price-plan"},{"openapi":"get /price_plans/{price_plan_id}","title":"(DEPRECATED) Get a price plan","href":"/api-reference/price-plans/get-a-price-plan"},{"openapi":"patch /price_plans/{price_plan_id}","title":"(DEPRECATED) Update a price plan","href":"/api-reference/price-plans/update-a-price-plan"},{"openapi":"post /price_plans/{price_plan_id}/activate","title":"(DEPRECATED) Activate a price plan","href":"/api-reference/price-plans/activate-a-price-plan"},{"openapi":"post /price_plans/migration","title":"(DEPRECATED) Create a price plan migration","href":"/api-reference/price-plans/create-a-price-plan-migration"},{"openapi":"delete /price_plans/{price_plan_id}","title":"(DEPRECATED) Archive a price plan","href":"/api-reference/price-plans/archive-a-price-plan"}]},{"group":"Price Plan V2","pages":[{"openapi":"get /v2/price_plans","title":"List price plans","href":"/api-reference/priceplanv2/list-price-plans"},{"openapi":"post /v2/price_plans","title":"Create a price plan","href":"/api-reference/priceplanv2/create-a-price-plan"},{"openapi":"get /v2/price_plans/{price_plan_id}","title":"Get a price plan","href":"/api-reference/priceplanv2/get-a-price-plan"},{"openapi":"patch /v2/price_plans/{price_plan_id}","title":"Update a price plan","href":"/api-reference/priceplanv2/update-a-price-plan"},{"openapi":"delete /v2/price_plans/{price_plan_id}/discard","title":"Discard a price plan","href":"/api-reference/priceplanv2/discard-a-price-plan"},{"openapi":"post /v2/price_plans/{price_plan_id}/finalize","title":"Finalize a price plan","href":"/api-reference/priceplanv2/finalize-a-price-plan"},{"openapi":"get /v2/price_plans/{price_plan_id}/rate_cards","title":"List rate cards of a price plan","href":"/api-reference/priceplanv2/list-rate-cards-of-a-price-plan"},{"openapi":"post /v2/price_plans/{price_plan_id}/rate_cards","title":"Bulk rate card operations of a price plan","href":"/api-reference/priceplanv2/bulk-rate-card-operations-of-a-price-plan"},{"openapi":"get /v2/price_plans/{price_plan_id}/pricing_rules","title":"List pricing rules of a price plan","href":"/api-reference/priceplanv2/list-pricing-rules-of-a-price-plan"},{"openapi":"put /v2/price_plans/{price_plan_id}/pricing_rules","title":"Update pricing rules of a price plan","href":"/api-reference/priceplanv2/update-pricing-rules-of-a-price-plan"},{"openapi":"get /v2/price_plans/{price_plan_id}/errors","title":"Get list of errors of a price plan","href":"/api-reference/priceplanv2/get-list-of-errors-of-a-price-plan"},{"openapi":"get /v2/price_plans/{price_plan_id}/versions","title":"List price plan versions","href":"/api-reference/priceplanv2/list-price-plan-versions"},{"openapi":"post /v2/price_plans/migration","title":"Create a price plan v2 migration","href":"/api-reference/priceplanv2/create-a-price-plan-v2-migration"}]},{"group":"Settings","pages":[{"openapi":"get /settings","title":"Lists settings","href":"/api-reference/settings/lists-settings"},{"openapi":"post /settings","title":"Create a setting","href":"/api-reference/settings/create-a-setting"},{"openapi":"get /settings/{setting_id_str}","title":"Get a setting","href":"/api-reference/settings/get-a-setting"},{"openapi":"patch /settings/{setting_id_str}","title":"Update a setting","href":"/api-reference/settings/update-a-setting"}]},{"group":"Price Experimentation","pages":[{"openapi":"post /revenue_calculator","title":"(DEPRECATED) Calculate and return the revenue for a existing or new price plan","href":"/api-reference/price-experimentation/calculate-and-return-the-revenue-for-a-existing-or-new-price-plan"}]},{"group":"Jobs","pages":[{"openapi":"get /jobs/{job_id}","title":"Get the status of a job","href":"/api-reference/jobs/get-the-status-of-a-job"},{"openapi":"get /jobs","title":"List jobs","href":"/api-reference/jobs/list-jobs"},{"openapi":"post /jobs/{job_id}/confirm","title":"Confirm a job","href":"/api-reference/jobs/confirm-a-job"},{"openapi":"post /jobs/{job_id}/reject","title":"Reject a job","href":"/api-reference/jobs/reject-a-job"},{"openapi":"get /jobs/{job_id}/entries","title":"List job entries","href":"/api-reference/jobs/list-job-entries"}]},{"group":"Event Ingestion","pages":[{"openapi":"post /ingest","title":"Ingest events to Togai","href":"/api-reference/event-ingestion/ingest-events-to-togai"},{"openapi":"post /ingestBatch","title":"Ingest events to Togai in batch","href":"/api-reference/event-ingestion/ingest-events-to-togai-in-batch"}]},{"group":"Entitlements","pages":[{"openapi":"post /entitled","title":"Ingest event if a user is entitled to a feature","href":"/api-reference/entitlements/ingest-event-if-a-user-is-entitled-to-a-feature"},{"openapi":"get /accounts/{account_id}/features/{feature_id}","title":"Get Feature credits balance","href":"/api-reference/entitlements/get-feature-credits-balance"},{"openapi":"get /accounts/{account_id}/features/{feature_id}/entries","title":"List feature credits entries of a feature for an account","href":"/api-reference/entitlements/list-feature-credits-entries-of-a-feature-for-an-account"},{"openapi":"patch /accounts/{account_id}/features/{feature_id}/entries/{entry_id}","title":"Update a feature credits entry","href":"/api-reference/entitlements/update-a-feature-credits-entry-of-a-feature-for-an-account"},{"openapi":"post /accounts/{account_id}/features/{feature_id}/entries/{entry_id}/void","title":"Void a feature credits entry of a feature for an account","href":"/api-reference/entitlements/void-a-feature-credits-entry-of-a-feature-for-an-account"},{"openapi":"get /accounts/{account_id}/entitlements","title":"Get entitlements for a account","href":"/api-reference/entitlements/get-entitlements-for-a-account"},{"openapi":"post /accounts/{account_id}/entitlements/{feature_id}","title":"Check entitlement value for a account","href":"/api-reference/entitlements/check-entitlement-value-for-a-account"},{"openapi":"get /accounts/{account_id}/entitlements/{feature_id}","title":"Get entitlement value for a account","href":"/api-reference/entitlements/get-entitlement-value-for-a-account"}]},{"group":"Event Management","pages":[{"openapi":"get /events","title":"Get a list of usage events with multiple query options","href":"/api-reference/event-management/get-a-list-of-usage-events-with-multiple-query-options"},{"openapi":"get /events/{event_id}","title":"Get an event using event id","href":"/api-reference/event-management/get-an-usage-event-using-event-id"},{"openapi":"post /events/correction","title":"Correct an ingested event","href":"/api-reference/event-management/correct-an-ingested-event"}]},{"group":"Metrics","pages":[{"openapi":"post /metrics","title":"Get Togai Metrics","href":"/api-reference/metrics/get-togai-metrics"}]},{"group":"Credits","pages":[{"openapi":"get /credits","title":"List credits","href":"/api-reference/credits/list-credits"},{"openapi":"post /credits","title":"Grant credit","href":"/api-reference/credits/grant-credit"},{"openapi":"get /credits/{credit_id}","title":"Get credit details","href":"/api-reference/credits/get-credit-details"},{"openapi":"post /credits/{credit_id}/void","title":"Void credit","href":"/api-reference/credits/void-credit"},{"openapi":"get /accounts/{account_id}/credit_balance","title":"Credit balance for Account","href":"/api-reference/credits/credit-balance-for-account"}]},{"group":"Invoices","pages":[{"openapi":"get /invoices","title":"List invoices","href":"/api-reference/invoices/list-invoices"},{"openapi":"get /invoices/{invoice_id}","title":"Get an invoice","href":"/api-reference/invoices/get-an-invoice"},{"openapi":"get /invoice/{invoice_id}/pricing_rules_logs","title":"List pricing rule logs","href":"/api-reference/invoices/list-pricing-rule-logs"},{"openapi":"put /invoices/{invoice_id}/miscellaneous_charges","title":"Add or update miscellaneous charges in Invoice","href":"/api-reference/invoices/add-or-update-miscellaneous-charges-in-invoice"},{"openapi":"put /accounts/{account_id}/miscellaneous_charges","title":"Add or update miscellaneous charges in upcoming Invoice for a account","description":"Add or update miscellaneous charges in upcoming Invoice for a account","href":"/api-reference/invoices/add-or-update-miscellaneous-charges-in-upcoming-invoice-for-a-account"},{"openapi":"post /invoices","title":"Create a custom invoice for an account","href":"/api-reference/invoices/create-a-custom-invoice-for-an-account"},{"openapi":"delete /invoices/{invoice_id}","title":"Delete a custom invoice in DRAFT state","description":"Delete a custom invoice in DRAFT state.","href":"/api-reference/invoices/delete-a-custom-invoice-in-draft-state"},{"openapi":"get /invoices/bill_runs","title":"List invoices eligible for bill run","href":"/api-reference/invoices/list-invoices-eligible-for-bill-run"},{"openapi":"post /invoices/bill_runs","title":"Create a bill run job request","href":"/api-reference/invoices/create-a-bill-run-job-request"}]},{"group":"Payments","pages":[{"openapi":"get /payments","title":"List all payments","href":"/api-reference/payments/list-all-payments"},{"openapi":"get /payments/{payment_id}","title":"Get a payment","href":"/api-reference/payments/get-a-payment"},{"openapi":"post /payments","title":"create payments","href":"/api-reference/payments/create-payments"}]},{"group":"Wallet","pages":[{"openapi":"get /accounts/{account_id}/wallet","title":"Wallet balance for Account","href":"/api-reference/wallet/wallet-balance-for-account"},{"openapi":"get /accounts/{account_id}/wallet/entries","title":"Wallet entries for Account","href":"/api-reference/wallet/wallet-entries-for-account"}]},{"group":"InvoiceGroups","pages":[{"openapi":"get /invoice_groups","title":"List Invoice Groups","href":"/api-reference/invoicegroups/list-invoice-groups"},{"openapi":"post /invoice_groups","title":"Create an invoice group","href":"/api-reference/invoicegroups/create-an-invoice-group"},{"openapi":"get /invoice_groups/{invoice_group_id}","title":"Get information of an invoice group","href":"/api-reference/invoicegroups/get-information-of-an-invoice-group"},{"openapi":"post /invoice_groups/{invoice_group_id}/add_accounts","title":"Add accounts to an invoice group","href":"/api-reference/invoicegroups/add-accounts-to-an-invoice-group"},{"openapi":"post /invoice_groups/{invoice_group_id}/remove_accounts","title":"Remove accounts from an invoice group. Removing all accounts will also delete the invoice group","href":"/api-reference/invoicegroups/remove-accounts-from-an-invoice-group-removing-all-accounts-will-also-delete-the-invoice-group"}]},{"group":"Alerts","pages":[{"title":"Introduction","href":"/api-reference/alerts/introduction"},{"openapi":"get /alert_templates","title":"List alert templates","href":"/api-reference/alerts/list-alert-templates"},{"openapi":"get /alert_templates/{alert_template_id}","title":"Get an alert template","href":"/api-reference/alerts/get-an-alert-template"},{"openapi":"post /alerts","title":"Create an alert","href":"/api-reference/alerts/create-an-alert"},{"openapi":"get /alerts","title":"List alerts","href":"/api-reference/alerts/list-alerts"},{"openapi":"patch /alerts/{alert_id}","title":"Update an alert","href":"/api-reference/alerts/update-an-alert"},{"openapi":"get /incidents","title":"List incidents","href":"/api-reference/alerts/list-incidents"},{"openapi":"get /incidents/{incident_id}","title":"Get an incident","href":"/api-reference/alerts/get-an-incident"},{"openapi":"put /incidents/{incident_id}/status","title":"Update an incident status","href":"/api-reference/alerts/update-an-incident-status"}]},{"group":"Reports","pages":[{"openapi":"get /reports","title":"List reports","href":"/api-reference/reports/list-reports"}]}]}]},{"tab":"Change log","pages":[{"title":"Change log","href":"/changelog/change-log"}]},{"tab":"How-To's","pages":[{"title":"How-To's","href":"/how-tos/overview"}]}]}]},"title":"Create a custom invoice for an account - Togai documentation","buildId":"dpl_HcHmUS6i3UwswnTHJUEdcTtwfdTQ","deploymentId":"dpl_HcHmUS6i3UwswnTHJUEdcTtwfdTQ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BRm_l__d.js","utils-f1l1Oc-G.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-BlhqDhJO.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DHCB7rsC.js","snippetPresets-CYXLx6Hv.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-B78P2dEq.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C4YLPVAh.js","shallow-vlLnTDkQ.js","getApiPlaygroundDisplay-D_98hhvf.js","CodeSnippet-DtnZHGqq.js","CodeSnippets-CLFb8KJt.js","Page-kQh739Uz.js","getPastedJson-Cq-zlbnU.js","icon-sN3t983t.js","MethodPill-P_YQ2s09.js","DuplicateIcon-BVzyNsGJ.js","createIcon-B3jqgqC6.js","DynamicMarkdown-Crwq6WG_.js","SectionHeading-C7pGS2Bb.js","axios-vUo_bRtp.js","Markdown-BuPH8yuW.js","clsx-CCOYKgaU.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BnkC_6oA.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BM4S31-f.js"]}