dcloud billing account updateChange the company name, invoice address, VAT ID or invoice e-mail
Applies to invoices issued from now on; issued invoices keep what they said. A changed VAT ID is checked for its member state’s format and against VIES: one VIES does not know is refused (400, field vatNumber); when VIES cannot be reached the ID is saved with vatNumberStatus unavailable, every later save checks it again until VIES confirms it, and until then invoices treat it as no VAT ID (no reverse charge for an EU customer outside Germany; a German customer pays German VAT either way). country is one of the listed ISO codes; postalCode must fit that country (DE: five digits). Send every field. billingEmail is recorded for invoice e-mails, which are not sent yet.
Synopsis
dcloud billing account update --company-name companyName --address-line1 addressLine1 --postal-code postalCode --city city --country country [flags]Flags
--company-nameRequiredstring
The name on the invoice: the company’s, or the person’s; 2–200 characters
Constraints: 2-200 chars
--vat-numberOptionalstring
EU VAT ID (USt-IdNr.) with its two-letter prefix, e.g. DE123456789; at most 20 characters, spaces, dots and hyphens are removed. Checked for its member state’s format, then against VIES. Empty or omitted: no VAT ID, German VAT is charged
Constraints: max 20 chars
--address-line1Requiredstring
Street and number, 2–200 characters
Constraints: 2-200 chars
--address-line2Optionalstring
Second address line, at most 200 characters; empty or omitted: none
Constraints: max 200 chars
--postal-codeRequiredstring
Postal code in the country’s own format (DE: five digits), at most 20 characters
Constraints: 1-20 chars
--cityRequiredstring
City, 1–100 characters
Constraints: 1-100 chars
--countryRequiredstring
ISO 3166-1 alpha-2 country code from the console’s country list, e.g. DE; any other two letters are refused
Constraints: /^[A-Za-z]{2}$/
--billing-emailOptionalobject
Invoice e-mail address (recorded; invoice e-mails are not sent yet). Also receives the monthly cost report by default. At sign-up, empty or omitted means the account’s e-mail; on PATCH /billing/api/account it means none
Constraints: JSON
Example
dcloud billing account update --company-name example --address-line1 example --postal-code example --city example --country exampleGenerated from the API description, the same one the API checks requests against and the CLI is built from.