---
title: "Create Billing Note Payment All In One"
method: POST
path: "/api/v1/BillingNotes/paidpaymentallinone"
tags: ["BillingNotes"]
---

# Create Billing Note Payment All In One

`POST /api/v1/BillingNotes/paidpaymentallinone`

## Headers

- `Time-Stamp` string, required
- `Time-Signature` string, required
- `User-Token` string, required
- `Client-Token` string, required

## Request body

- PeakAPIsLibraryModelRequestPaidPaymentPaidPaymentsAllInOnePostModel
  - `peakPaidPayments` PeakAPIsLibraryModelRequestPaidPaymentPaidPaymentsAllInOnePostModelPaidPayment
    - `transactionId` string — The Unique Identifier of the document for which payment is requested
    - `transactionCode` string — The Code of the document for which payment is requested
    - `paidPayments` PeakAPIsLibraryModelRequestTransactionSharedAllInOnePaymentsTransactionAllInOne
      - `payments` PeakAPIsLibraryModelRequestTransactionSharedAllInOnePayment[]
        - `cheque` PeakAPIsLibraryModelRequestTransactionSharedAllInOneCheque
          - `accountNo` string — Bank account number
          - `branchNo` string — Bank branch number
          - `chequeNo` string — Cheque number
          - `amount` number, double — Payment amount
          - `chequeDate` string — Cheque issuance date in the format yyyyMMdd
          - `bankId` integer — The numerical code that indicates a financial institution
          - `paymentMethodId` string — The Unique Identifier of the payment method
          - `paymentMethodCode` string — Code of the payment method (If paymentMethodId has been assigned a value, paymentMethodCode is not required)
        - `note` string — Additional remarks or notes for that specific payment received
        - `isCheque` integer — The numerical code indicating whether this payment is made by Cheque or not
        - `amount` number, double — Payment amount
        - `paymentMethod` PeakAPIsLibraryModelRequestPaymentMethodsPaymentMethods
          - `id` string — The Unique Identifier generated by PEAK to identify data
          - `code` string — The code displayed in the PEAK
          - `name` string — Payment method name
          - `type` integer — Numeric code indicating the type of payment method
          - `memo` string — Additional notes or remarks about the product or service
          - `carringBalanceValue` integer
          - `bankId` integer — The numerical code that indicates a financial institution (If type is 2, bankId is required)
          - `eWalletId` integer — E-Wallet account number or identifier (If type is 4, accountCode is required)
          - `bankName` string — Name of the bank not available in the system (If type is 0, bankName is required)
          - `accountType` integer — Numeric code indicating the type of bank account
          - `accountNumber` string — Bank account number
          - `isHaveCheque` integer — Specify that it is a checking account capable of issuing checks from that bank account
          - `accountCode` string — Account to record transactions from the E-Wallet (If type is 4, accountCode is required)
        - `accountCode` string — Account code to be used for recording financial transactions
        - `accountSubId` string — Sub account Unique Identifier to be used for recording financial transactions
        - `accountSubCode` string — Sub account code to be used for recording financial transactions
      - `paymentDate` string — Payment date in the format yyyyMMdd
      - `withHoldingTaxAmount` string
      - `transactionId` string — The Unique Identifier of the document for which payment is requested

## Response `200`

Success

- PeakWCFModelsAPIResponseResponsePaidPaymentsModel
  - `peakPaidPayments` PeakWCFModelsAPIBodyAPIBodyPaidPayment
    - `resCode` string
    - `resDesc` string
    - `transactionId` string
    - `transactionCode` string
    - `paidPayments` PeakWCFModelsAPIAPITransactionsAPITransactionPayments
      - `id` string
      - `paymentDate` string
      - `withHoldingTaxAmount` string
      - `paymentGroupId` integer
      - `paymentTotal` number, double
      - `payments` PeakWCFModelsAPIAPITransactionsAPITransactionPaymentLists[]
        - `paymentMethodId` string
        - `paymentMethodCode` string
        - `accountCode` string
        - `accountSubId` string
        - `accountSubCode` string
        - `amount` number, double
        - `note` string
        - `isCheque` integer
        - `cheque` PeakWCFModelsAPIAPITransactionsAPITransactionChequePayment
          - `chequeDate` string
          - `paymentMethodId` string
          - `paymentMethodCode` string
          - `bankId` integer
          - `bankName` string
          - `amount` number, double
          - `chequeNo` string
          - `branchNo` string
          - `accountNo` string
          - `isDeposited` integer
      - `journals` PeakWCFModelsAPIAPITransactionsAPITransactionJournals[]
        - `id` string
        - `code` string
      - `referenceCode` string
      - `referenceId` string
      - `referenceType` string
    - `paymentAmount` number, double
    - `remainPaymentAmount` number, double
    - `remainWhtAmount` number, double
  - `eventType` string
  - `apiType` string

---

[API](https://skmtc.net/peakaccount/apis/peakapis-core.md) · [All operations](https://skmtc.net/peakaccount/apis/peakapis-core/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/peakaccount/peakapis-core/versions/516e79534d77/schema)
