Billing

Save billing details

The details printed on your GST invoices. Needed before your first payment.

PUT/v1/billing/profile

Authentication

A signed-in session: the cookie from Log in. Changes also need the X-CSRF-Token header.

Body

legal_namestringrequired

The name to print on invoices.

emailstringrequired

Where to send billing emails.

phonestringrequired

A 10-digit Indian mobile number.

address_line1stringrequired

The billing address.

address_line2stringoptional

More of the address.

citystringrequired

The city.

state_codestringrequired

The two-digit GST state code, such as 07 for Delhi.

postal_codestringrequired

The six-digit PIN code.

gstinstringoptional

Your GSTIN, registered in the same state.

Response

200 OK

billing_profileobject

The saved details.

Errors

StatusCodeWhat to do
400invalid_requestSee field and message.
401unauthenticatedLog in first, or log in again.
403csrf_failedSend the csrf_token as X-CSRF-Token.