tencent cloud

Feedback

Saving Bills to COS

Last updated: 2024-09-29 15:59:34

    Overview

    Tencent Cloud allows you to save bill data as files to COS buckets on a regular basis. If the volume of your bill data is high (for example, if over 200,000 bill entries are generated for a month), bill data query via APIs may be slow. In this case, we recommend you enable bill storage so that you can obtain bill files from COS buckets for analysis.
    Note:
    You may incur fees for using this feature. For details, see Billing Overview.

    Enabling Bill Storage to COS

    1. On the Bill Overview page, set Bill Storage to
    
    .
    
    2. Grant access to the service role. In the pop-up window, click Authorize and, on the authorization page, click Grant.
    
    3. Set storage information. Select a bill type and a COS bucket to save bill files. You can also save the bill files of your member accounts to a COS bucket.
    
    Bill Type
    Daily bills: If you select daily bills, at 3:00 AM each day, new bill details for the period between the first day of the month and the previous day will be saved to the specified COS bucket. However, on the first day (billing day) of a month, bill data is saved to COS at 8:00 PM. For example, on April 6, a bill summary for the period from April 1 to April 5 will be added, and on April 8, a bill summary for the period from April 1 to April 7 will be added.
    Monthly bills: If you select monthly bills, on the second day of each month, bill details for the previous month will be saved to the specified COS bucket. Data will be saved as multiple CVS files if the volume is high.
    Monthly bill pack: After activation, it will be pushed on the day following the subscription (Day+1). Should there be any updates to historical bills, they will be re-pushed synchronously. If the option to synchronize historical monthly bills is checked, a one-time synchronization of detailed monthly bills for the past 18 months will be conducted the following day to the corresponding COS bucket.
    Consumption bill - daily details: After activation, the push will be completed before 10 am on Day+1. To maintain synchronization with updates at the console, you may check the Day+2 update on the storage information settings page, which supports the full update and reporting of postpaid daily settlement data to the COS bucket.
    Consumption bill - monthly: After activation, complete details of the previous month's consumption bill will be updated on the 2nd of every month.
    Consumption bill - monthly cumulative details: After activation, the push will be completed before 10 am on Day+1. For daily updated monthly cumulative bill details, the summary bill accumulated from the 1st of the current month to the Day will be reported on Day+1.
    For example, on April 6, the consumption summary bill from April 1 to April 5 will be updated and reported.

    Other Operations

    To disable bill storage, follow the steps below.
    1.1 Set Bill Storage to
    
    .
    1.2 In the pop-up window, click Disable Storage.
    1.3 Click Confirm to disable bill storage. Existing data in the bucket will be kept, but new bill data will no longer be saved to the bucket.
    To change the bucket, select the new bucket you want to use and click Save. Existing data in the old bucket will be kept, while new bill data will be saved to the new bucket.
    Querying the names of bill files via a COS API: GET Bucket (List Objects).
    Downloading bill files via a COS API: GET Object.
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support