Action Bill

patch

https://server:port/spl/rest/apis/customer/financials/bills/{billId}/lifecycle

This operation updates the Bill and Bill Segments status for the provided Bill id.

Request

Path Parameters
Supported Media Types
Request Body - application/xml ()
Root Schema : schema
Type: object
Show Source
  • Accounting Date defines the financial period to which the canceled and new bill segments' financial transactions are booked.
    Example: 2021-10-05
  • Allowed Values: [ "C1CF", "C1CO", "C1CR", "C1DE", "C1FR", "C1GN", "C1RO" ]
    ACTION * `C1CF` - CancelFrozen, * `C1CO` - Complete, * `C1CR` - Credit Note, * `C1DE` - Delete, * `C1FR` - Freeze, * `C1GN` - Generate, * `C1RO` - ReOpen
    Example: cancelFrozen
  • Allow Estimates is defined as true if the system is allowed to estimate consumption when a meter read cannot be retrieved.
    Example: false
  • Bill Date is the business date that was used when the bill was completed.
  • Maximum Length: 4
    Cancel Reason defines why bill segments are being canceled.
  • Credit Note date is the date on which all bill segments are cancelled and a new bill gets generated which contains the cancellation details.
  • Cutoff Date is the last possible day of each bill period for a bill segment.
    Example: 2021-10-05
  • Billing Option defines how the system looks for meter reads.
    Example: false
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
  • Accounting Date defines the financial period to which the canceled and new bill segments' financial transactions are booked.
    Example: 2021-10-05
  • Allowed Values: [ "C1CF", "C1CO", "C1CR", "C1DE", "C1FR", "C1GN", "C1RO" ]
    ACTION * `C1CF` - CancelFrozen, * `C1CO` - Complete, * `C1CR` - Credit Note, * `C1DE` - Delete, * `C1FR` - Freeze, * `C1GN` - Generate, * `C1RO` - ReOpen
    Example: cancelFrozen
  • Allow Estimates is defined as true if the system is allowed to estimate consumption when a meter read cannot be retrieved.
    Example: false
  • Bill Date is the business date that was used when the bill was completed.
  • Maximum Length: 4
    Cancel Reason defines why bill segments are being canceled.
  • Credit Note date is the date on which all bill segments are cancelled and a new bill gets generated which contains the cancellation details.
  • Cutoff Date is the last possible day of each bill period for a bill segment.
    Example: 2021-10-05
  • Billing Option defines how the system looks for meter reads.
    Example: false
Back to Top

Response

Supported Media Types

200 Response

Success response
Body ()
Root Schema : C1ActionBill
Type: object
Show Source
  • Allowed Values: [ "C1CF", "C1CO", "C1CR", "C1DE", "C1FR", "C1GN", "C1RO" ]
    ACTION * `C1CF` - CancelFrozen, * `C1CO` - Complete, * `C1CR` - Credit Note, * `C1DE` - Delete, * `C1FR` - Freeze, * `C1GN` - Generate, * `C1RO` - ReOpen
    Example: cancelFrozen
  • bill
  • Allowed Values: [ "C ", "P " ]
    Bill Status is the bill's status. A bill is initially saved in the Pending state. One or more bill segments can be created for the account's service agreements at this point. A bill becomes Complete when it is ready to be sent to the customer. * `C ` - Complete, * `P ` - Pending
    Example: C
  • nextActions
Nested Schema : bill
Type: object
Show Source
Nested Schema : nextActions
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
  • Allowed Values: [ "C1CF", "C1CO", "C1CR", "C1DE", "C1FR", "C1GN", "C1RO" ]
    ACTION * `C1CF` - CancelFrozen, * `C1CO` - Complete, * `C1CR` - Credit Note, * `C1DE` - Delete, * `C1FR` - Freeze, * `C1GN` - Generate, * `C1RO` - ReOpen
    Example: cancelFrozen

400 Response

Bad Request
Body ()
Root Schema : problemDetailDocument
Type: object
Show Source
  • Maximum Length: 60
    The long message description from the Oracle Utilities Application Framework in CDATA format.
  • Minimum Value: 0
    Maximum Value: 9999
    The HTTP Status code for the error.
  • Maximum Length: 60
    Fully qualified URL consisting of the Base URI Timestamp of error in ISO format, the User used for the transaction, the Message Category within Oracle Utilities Application Framework, the Message Number within Oracle Utilities Application Framework, the Request URL and the HTTP method used for the transaction.
  • Maximum Length: 60
    URL of the format "A/message/X/Y" where A is the base URI, X is the Message Category and Y is the Message Number within Oracle Utilities Application Framework.
  • serverMessage
  • Maximum Length: 60
    The stack trace shows where the error occurs during the execution of a program.
  • Maximum Length: 60
    Fully qualified error message from Oracle Utilities Application Framework in CDATA format.
Nested Schema : serverMessage
Type: object
Show Source
  • Maximum Length: 60
    Delimited sequence of programs called.
  • Maximum Length: 60
    The long message description from the Oracle Utilities Application Framework in CDATA format.
  • Minimum Value: 0
    Maximum Value: 0
    Message Category within Oracle Utilities Application Framework.
  • Minimum Value: -99999
    Maximum Value: 99999
    Message Number within Oracle Utilities Application Framework.
  • Maximum Length: 60
    Fully qualified error message from Oracle Utilities Application Framework in CDATA format.
  • Maximum Length: 60
    Name of the program that encountered the error.

500 Response

Internal Server Error
Body ()
Root Schema : problemDetailDocument
Type: object
Show Source
  • Maximum Length: 60
    The long message description from the Oracle Utilities Application Framework in CDATA format.
  • Minimum Value: 0
    Maximum Value: 9999
    The HTTP Status code for the error.
  • Maximum Length: 60
    Fully qualified URL consisting of the Base URI Timestamp of error in ISO format, the User used for the transaction, the Message Category within Oracle Utilities Application Framework, the Message Number within Oracle Utilities Application Framework, the Request URL and the HTTP method used for the transaction.
  • Maximum Length: 60
    URL of the format "A/message/X/Y" where A is the base URI, X is the Message Category and Y is the Message Number within Oracle Utilities Application Framework.
  • serverMessage
  • Maximum Length: 60
    The stack trace shows where the error occurs during the execution of a program.
  • Maximum Length: 60
    Fully qualified error message from Oracle Utilities Application Framework in CDATA format.
Nested Schema : serverMessage
Type: object
Show Source
  • Maximum Length: 60
    Delimited sequence of programs called.
  • Maximum Length: 60
    The long message description from the Oracle Utilities Application Framework in CDATA format.
  • Minimum Value: 0
    Maximum Value: 0
    Message Category within Oracle Utilities Application Framework.
  • Minimum Value: -99999
    Maximum Value: 99999
    Message Number within Oracle Utilities Application Framework.
  • Maximum Length: 60
    Fully qualified error message from Oracle Utilities Application Framework in CDATA format.
  • Maximum Length: 60
    Name of the program that encountered the error.
Back to Top