> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://beta-docs.payabli.com/api-reference/bill/get-bill/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://beta-docs.payabli.com/_mcp/server. # Get bill GET https://api-sandbox.payabli.com/api/Bill/{idBill} Retrieves a bill by ID from an entrypoint. Reference: https://beta-docs.payabli.com/api-reference/bill/get-bill ## Authentication - `requestToken` header (required) — API Key authentication via header ## Servers - `https://api-sandbox.payabli.com/api` (Sandbox, default) - `https://api.payabli.com/api` (Production) ## Request ### Path parameters - `idBill` (integer, required) — Payabli ID for the bill. Get this ID by querying `/api/Query/bills/` for the entrypoint or the organization. ## Response ### 200 Success - `isSuccess` (boolean, optional) — Boolean indicating whether the operation was successful. A `true` value indicates success. A `false` value indicates failure. - `responseData` (GetBillResponseResponseData, optional) - `responseText` (string, optional) — Response text for operation: 'Success' or 'Declined'. ## Errors ### 400 Bad Request Error Bad request/ invalid data - `any` ### 401 Unauthorized Error Unauthorized request. - `any` ### 400 Bad Request Error Bad request/ invalid data - `any` ### 401 Unauthorized Error Unauthorized request. - `any` ### 500 Internal Server Error Internal API Error - `any` ### 503 Service Unavailable Error Database connection error - `isSuccess` (boolean, optional) — Boolean indicating whether the operation was successful. A `true` value indicates success. A `false` value indicates failure. - `responseData` (map from string to any, optional) — The object containing the response data. - `responseText` (string, optional) — Response text for operation: 'Success' or 'Declined'. ## Types ### GetBillResponseResponseData - `AdditionalData` (string, optional) — Custom dictionary of key:value pairs. You can use this field to store any data related to the object or for your system. Example usage: ```json { "additionalData": { "key1": "value1", "key2": "value2", "key3": "value3" } } ``` - `DocumentRefs` (map from string to any, optional) — Object with the attached documents. - `Transaction` (TransactionOutQueryRecord, optional) — MoneyOut transaction associated to the bill - `accountingField1` (string, optional) — Optional custom field. - `accountingField2` (string, optional) — Optional custom field. - `billDate` (date, optional) — Date of bill. Accepted formats: YYYY-MM-DD, MM/DD/YYYY - `billItems` (list of BillItem, optional) — Array of `LineItems` contained in bill. - `billNumber` (string, optional) — Unique identifier for the bill. **Required** for new bill. - `comments` (string, optional) — Any comment or description. - `dueDate` (date, optional) — Due Date of bill. Accepted formats: YYYY-MM-DD, MM/DD/YYYY - `endDate` (date, optional) — End date for scheduled bills. Applied only in `Mode` = 1. - `frequency` (enum, optional) — Frequency for scheduled bills. Applied only in `Mode` = 1. - Allowed values: `one-time`, `weekly`, `every2weeks`, `every6months`, `monthly`, `every3months`, `annually` - `mode` (integer, optional) — Bill mode: value `0` for single/one-time bills, `1` for scheduled bills. - `netAmount` (string, optional) — Net amount owed in bill. - `status` (integer, optional) — The bill's status. Values are: - `-99`: deleted or canceled - `1`: Active - `2`: Sent to approval - `5`: Partially approved - `11`: Rejected - `20`: Approved - `50`: Payment in transit - `100`: Paid " - `terms` (string, optional) — Description of payment terms. - `vendor` (VendorDataResponse, optional) ### TransactionOutQueryRecord - `Bills` (list of BillPayOutData, optional) — Events associated to this transaction. - `CheckData` (FileContent, optional) — Object referencing to paper check image. - `CheckNumber` (string, optional) — Paper check number related to payout transaction. - `Comments` (string, optional) — Any comment or description for payout transaction. - `CreatedDate` (datetime, optional) — Timestamp when the payment was created, in UTC. - `Events` (list of QueryTransactionEvents, optional) — Events associated to this transaction. - `FeeAmount` (double, optional) — Service fee or sub-charge applied. - `Gateway` (string, optional) — Gateway used to process the transaction. - `IdOut` (long, optional) — Identifier of payout transaction. - `LastUpdated` (datetime, optional) — Timestamp when payment record was updated, in UTC. - `NetAmount` (double, optional) — Net amount. - `parentOrgName` (string, optional) — The name of the parent organization. - `PaymentData` (QueryPaymentData, optional) - `PaymentGroup` (string, optional) — Unique identifier for group or batch containing the transaction. - `PaymentId` (string, optional) — Unique transaction ID. - `PaymentMethod` (string, optional) — Method of payment applied to the transaction. - `PaymentStatus` (string, optional) — Status of payout transaction. - `paypointDbaname` (string, optional) — The alternate or common name that this business is doing business under usually referred to as a DBA name. - `paypointLegalname` (string, optional) — Paypoint legal name. - `Source` (string, optional) — Custom identifier to indicate the transaction or request source. - `Status` (integer, optional) — Internal status of transaction. - `StatusText` (string, optional) — Status of payout transaction. - `TotalAmount` (double, optional) — Transaction total amount (including service fee or sub-charge). - `Vendor` (VendorQueryRecord, optional) — Vendor related to the payout transaction. ### BillItem - `itemCost` (double, required) — Item or product price per unit. - `itemCategories` (list of string, optional) — Array of tags classifying item or product. - `itemCommodityCode` (string, optional) — Item or product commodity code. Max length of 250 characters. - `itemDescription` (string, optional) — Item or product description. Max length of 250 characters. - `itemMode` (integer, optional) — Internal class of item or product: value '0' is only for invoices , '1' for bills and, '2' common for both. - `itemProductCode` (string, optional) — Item or product code. Max length of 250 characters. - `itemProductName` (string, optional) — Item or product name. Max length of 250 characters. - `itemQty` (integer, optional) — Quantity of item or product. - `itemTaxAmount` (double, optional) — Tax amount applied to item or product. - `itemTaxRate` (double, optional) — Tax rate applied to item or product. - `itemTotalAmount` (double, optional) — Total amount in item or product. - `itemUnitOfMeasure` (string, optional) — Unit of measurement. Max length of 100 characters. ### VendorDataResponse - `AdditionalData` (string, optional) — Custom dictionary of key:value pairs. You can use this field to store any data related to the object or for your system. Example usage: ```json { "additionalData": { "key1": "value1", "key2": "value2", "key3": "value3" } } ``` - `address1` (string, optional) — Vendor's address. - `address2` (string, optional) — Additional line for vendor's address. - `billingData` (BillingDataResponse, optional) — Object containing vendor's bank information. - `city` (string, optional) — Vendor's city. - `contacts` (list of Contacts, optional) — List of contacts. - `country` (string, optional) — Vendor's country. Payabli supports only US and Canadian vendors. - `customerVendorAccount` (string, optional) — Account number of paypoint in the Vendor side. - `ein` (string, optional) — EIN/Tax ID for vendor. Inresponses, this field is masked, and looks like: `"ein": "XXXXX6789"`. - `email` (string, optional) — Vendor's email address. - `internalReferenceId` (long, optional) — Internal identifier for global vendor account. - `locationCode` (string, optional) — Additional location code used to identify the vendor. - `mcc` (string, optional) — Business Merchant Category Code (MCC). [This resource](https://github.com/greggles/mcc-codes/blob/main/mcc_codes.csv) lists MCC codes. - `name1` (string, optional) — Primary name for vendor. - `name2` (string, optional) — Secondary name for vendor. - `payeeName1` (string, optional) — Alternative name used to receive paper check. - `payeeName2` (string, optional) — Alternative name used to receive paper check. - `paymentMethod` (enum, optional) — Preferred payment method for vendor. - Allowed values: `vcard`, `ach`, `check`, `card` - `phone` (string, optional) — Vendor's phone number. - `remitAddress1` (string, optional) — Remittance address. Used for mailing paper checks. - `remitAddress2` (string, optional) — Remittance address additional line. Used for mailing paper checks. - `remitCity` (string, optional) — Remittance address city. Used for mailing paper checks. - `remitCountry` (string, optional) — Remittance address country. Used for mailing paper checks. - `remitState` (string, optional) — Remittance address state. Used for mailing paper checks. - `remitZip` (string, optional) — Remittance address ZIP code. Used for mailing paper checks. - `state` (string, optional) — Vendor's state. Must be a two-character state code. - `vendorId` (integer, optional) — Payabli identifier for vendor record. - `vendorNumber` (string, optional) — Custom number identifying the vendor. Must be unique in paypoint. - `vendorStatus` (integer, optional) — Vendor's status. Allowed status: - 0 Inactive - 1 Active - `zip` (string, optional) — Vendor's zip code. ### BillPayOutData - `AccountingField1` (string, optional) — Optional custom field. - `AccountingField2` (string, optional) — Optional custom field. - `AdditionalData` (string, optional) — Custom dictionary of key:value pairs. You can use this field to store any data related to the object or for your system. Example usage: ```json { "additionalData": { "key1": "value1", "key2": "value2", "key3": "value3" } } ``` - `attachments` (list of FileContent, optional) — Bill image attachment. Send the bill image as Base64-encoded string, or as a publicly-accessible link. For full details on using this field with a payout authorization, see [the documentation](/developer-guides/pay-out-manage-payouts). - `billId` (long, optional) — Bill ID in Payabli. - `comments` (string, optional) — Any comments about bill. **For managed payouts, this field has a limit of 100 characters**. - `dueDate` (date, optional) — Bill due date in format YYYY-MM-DD or MM/DD/YYYY. - `invoiceDate` (date, optional) — Bill date in format YYYY-MM-DD or MM/DD/YYYY. - `invoiceNumber` (string, optional) — Custom number identifying the bill. Must be unique in paypoint. **Required** for new bill and when `billId` is not provided. - `netAmount` (string, optional) — Net Amount owed in bill. Required when adding a bill. - `Terms` (string, optional) — Description of payment terms. ### FileContent Contains details about a file. See See [fileObject Object Model](/api-reference/schemas/filecontent) for a complete reference. Max upload size is 30 MB. - `fContent` (string, optional) — Content of file, Base64-encoded Ignored if furl is specified. Max upload size is 30 MB. - `filename` (string, optional) — The name of the attached file. - `ftype` (enum, optional) — The MIME type of the file (if content is provided) - Allowed values: `pdf`, `doc`, `docx`, `jpg`, `jpeg`, `png`, `gif`, `txt` - `furl` (string, optional) — Optional url provided to show or download the file remotely ### QueryTransactionEvents - `EventData` (QueryTransactionEventsEventData, optional) — Any data associated to the event received from processor. Contents vary by event type. - `EventTime` (datetime, optional) — Date and time of event. - `TransEvent` (string, optional) — Event descriptor. See [TransEvent Reference](/references/transevents) for more details. ### QueryPaymentData - `AccountExp` (string, optional) — Expiration date of card used in transaction. - `accountId` (string, optional) — Custom identifier for payment connector. - `AccountType` (string, optional) — Bank account type or card brand. - `AccountZip` (string, optional) — ZIP code for card used in transaction. - `binData` (BinData, optional) — Object containing information related to the card. This object is `null` unless the payment method is card. If the payment method is Apple Pay, the binData will be related to the DPAN (device primary account number), not the card connected to Apple Pay. - `HolderName` (string, optional) — Account holder name for the method. - `Initiator` (string, optional) — **Strongly recommended** The cardholder-initiated transaction (CIT) or merchant-initiated transaction (MIT) indicator for the transaction. If you don't specify a value, Payabli defaults to `merchant`. Available values: - `payor`: For cardholder-initiated transactions - `merchant`: For merchant-initiated transactions See [Understanding CIT and MIT Indicators](/guides/money-in-cit-mit) for more information. - `MaskedAccount` (string, optional) — Masked card or bank account used in transaction. In the case of Apple Pay, this is a masked DPAN (device primary account number). - `orderDescription` (string, optional) — Text description of the transaction. - `paymentDetails` (PaymentDetail, optional) — Details about the payment. - `Sequence` (string, optional) — The order of the transaction for cardholder-initiated transaction (CIT) and merchant-initiated transaction (MIT) purposes. This field is automatically detected and populated by Payabli. Available values: - `first`: The first use of the payment method. This is almost always a cardholder-initiated transaction. - `subsequent`: For merchant-initiated transactions after the first use of the payment method. See [Understanding CIT and MIT Indicators](/guides/money-in-cit-mit) for more information. - `SignatureData` (string, optional) - `StoredId` (string, optional) — Identifier of stored payment method used in transaction. - `StoredMethodUsageType` (string, optional) — **Strongly recommended** The usage type for the stored method, used for merchant-initiated transactions (MIT). If you don't specify a value, Payabli defaults to `unscheduled`. Available values: - `unscheduled`: This type is used for transactions that are one-time or otherwise not pre-scheduled. - `subscription`: This type is used for subscription payments. For example, monthly rental fees or ongoing service subscriptions. - `recurring`: This type is used for recurring payments that occur per a set plan. For example, splitting an HOA special assessment over 6 monthly payments. See [Understanding CIT and MIT Indicators](/guides/money-in-cit-mit) for more information. ### VendorQueryRecord - `additionalData` (map from string to map from string to any, optional) — Custom dictionary of key:value pairs. You can use this field to store any data related to the object or for your system. If you are using [custom identifiers](/developer-guides/entities-custom-identifiers), pass those in this object. Example usage: ```json { "additionalData": { "key1": "value1", "key2": "value2", "key3": "value3" } } ``` - `address1` (string, optional) — Vendor's address. - `address2` (string, optional) — Additional line for vendor's address. - `billingData` (BillingDataResponse, optional) - `city` (string, optional) — Vendor's city. - `contacts` (list of Contacts, optional) — List of contacts. - `country` (string, optional) — Vendor's country. - `createdDate` (datetime, optional) — Timestamp of when record was created, in UTC. - `customerVendorAccount` (string, optional) — Account number of paypoint in the vendor system. - `ein` (string, optional) — Business EIN or tax ID. This value is masked in API responses, for example `XXXX6789`. - `email` (string, optional) — Vendor's email address. - `enrollmentStatus` (string, optional) — Enrollment status of vendor in payables program. - `externalPaypointId` (string, optional) — A custom identifier for the paypoint, if applicable. Like `entrypoint` is the Payabli identifier for the merchant, `externalPaypointId` is a custom field you can use to include the merchant's ID from your own systems. - `internalReferenceId` (long, optional) — Internal identifier for global vendor account. - `lastUpdated` (datetime, optional) — Timestamp of when record was last updated, in UTC. - `locationCode` (string, optional) — Additional location code used to identify the vendor. - `mcc` (string, optional) — Business Merchant Category Code (MCC). [This resource](https://github.com/greggles/mcc-codes/blob/main/mcc_codes.csv) lists MCC codes. - `name1` (string, optional) — Primary name for vendor. - `name2` (string, optional) — Secondary name for vendor. - `parentOrgName` (string, optional) — The name of the parent organization. - `payeeName1` (string, optional) — Alternative name used to receive paper check. - `payeeName2` (string, optional) — Alternative name used to receive paper check. - `paymentMethod` (VendorPaymentMethod, optional) — Object containing details about the payment method to use for the payout. - `paypointDbaname` (string, optional) — The alternate or common name that this business is doing business under usually referred to as a DBA name. - `paypointEntryname` (string, optional) — The entrypoint identifier. - `paypointLegalname` (string, optional) — Business legal name. - `phone` (string, optional) — Vendor's phone number. - `remitAddress1` (string, optional) — Remittance address. Used for mailing paper checks. - `remitAddress2` (string, optional) — Remittance address additional line. Used for mailing paper checks. - `remitCity` (string, optional) — Remittance address city. Used for mailing paper checks. - `remitCountry` (string, optional) — Remittance address country. Used for mailing paper checks. - `remitState` (string, optional) — Remittance address state. Used for mailing paper checks. - `remitZip` (string, optional) — Remittance address ZIP code. Used for mailing paper checks. - `state` (string, optional) — Vendor's state. - `summary` (VendorSummary, optional) - `vendorId` (integer, optional) — Payabli identifier for vendor record. - `vendorNumber` (string, optional) — Custom number identifying the vendor. Must be unique in paypoint. - `vendorStatus` (integer, optional) — Vendor's status. Allowed status: - 0 Inactive - 1 Active - `zip` (string, optional) — Vendor's zip code. ### BillingDataResponse - `accountNumber` (string, optional) — Masked account number for bank account. - `bankAccountFunction` (integer, optional) — Describes whether the bank account is used for deposits or withdrawals in Payabli: - `0`: Deposit - `1`: Withdrawal - `2`: Deposit and withdrawal - `bankAccountHolderName` (string, optional) — The accountholder's name. - `bankAccountHolderType` (enum, optional) — Describes whether the bank is a personal or business account. - Allowed values: `Personal`, `Business` - `bankName` (string, optional) — Name of bank for account. - `id` (integer, optional) — The bank's ID in Payabli. - `routingAccount` (string, optional) — Routing number of bank account. - `typeAccount` (enum, optional) — Type of bank account: Checking or Savings. - Allowed values: `Checking`, `Savings` ### Contacts - `contactEmail` (string, optional) — Contact email address. - `contactName` (string, optional) — Contact name. - `contactPhone` (string, optional) — Contact phone number. - `contactTitle` (string, optional) — Contact title. ### QueryTransactionEventsEventData Any data associated to the event received from processor. Contents vary by event type. ### BinData Object containing information related to the card. This object is `null` unless the payment method is card. If the payment method is Apple Pay, the binData will be related to the DPAN (device primary account number), not the card connected to Apple Pay. - `binCardBrand` (string, optional) — The card brand. For example, Visa, Mastercard, American Express, Discover. - `binCardCategory` (string, optional) — The category of the card, which indicates the card product. For example: Standard, Gold, Platinum, etc. The binCardCategory for prepaid cards is marked `PREPAID`. - `binCardIssuer` (string, optional) — The name of the financial institution that issued the card. - `binCardIssuerCountry` (string, optional) — The issuing financial institution's country name. - `binCardIssuerCountryCodeA2` (string, optional) — The issuing financial institution's two-character ISO country code. See [this resource](https://www.iso.org/obp/ui/#search) for a list of codes. - `binCardIssuerCountryNumber` (double, optional) — The issuing financial institution's ISO standard numeric country code. See [this resource](https://www.iso.org/obp/ui/#search) for a list of codes. - `binCardType` (string, optional) — The type of card: Credit or Debit. - `binMatchedLength` (double, optional) — The number of characters from the beginning of the card number that were matched against a Bank Identification Number (BIN) or the Card Range table. ### PaymentDetail Details about the payment. - `totalAmount` (double, required) — Total amount to be charged. If a service fee is sent, then this amount should include the service fee." - `categories` (list of PaymentCategories, optional) — Array of payment categories/line items describing the amount to be paid **Note**: These categories are for information only and are not validated against the total amount provided. - `checkImage` (map from string to any, optional) — Object containing image of paper check. - `checkNumber` (string, optional) — A check number to be used in the ach transaction. **Required** for payment method = 'check'. - `currency` (string, optional) — Currency code ISO-4217. If not code is provided the currency in the paypoint setting is taken. Default is **USD**. - `serviceFee` (double, optional) — Service fee to be deducted from the total amount. This amount must be a number, percentages aren't accepted. If you are using a percentage-based fee schedule, you must calculate the value manually. - `splitFunding` (list of SplitFundingContent, optional) — Split funding instructions for the transaction. See [Split a Transaction](/developer-guides/money-in-split-funding) for more. ### VendorPaymentMethod Object containing details about the payment method to use for the payout. - `method` (enum, optional) — Payment method to use for payout. Leave empty for managed payables. - Allowed values: `managed`, `vcard`, `ach`, `check` ### VendorSummary - `inTransitBills` (integer, optional) - `inTransitBillsAmount` (double, optional) - `overdueBills` (integer, optional) - `overdueBillsAmount` (double, optional) - `paidBills` (integer, optional) - `paidBillsAmount` (double, optional) - `pendingBills` (integer, optional) - `pendingBillsAmount` (double, optional) - `totalBills` (integer, optional) - `totalBillsAmount` (double, optional) ### PaymentCategories - `amount` (double, required) — Price/cost per unit of item or category. - `label` (string, required) — Name of item or category. - `description` (string, optional) — Description of item or category - `qty` (integer, optional, default: 1) — Quatity of item or category ### SplitFundingContent - `accountId` (string, optional) — The accountId for the account the split should be sent to. - `amount` (double, optional) — Amount from the transaction to sent to this recipient. - `description` (string, optional) — A description for the split. - `recipientEntryPoint` (string, optional) — The entrypoint the split should be sent to. ## Examples **Response** ```json { "isSuccess": true, "responseData": { "AdditionalData": "AdditionalData", "DocumentRefs": { "key": "value" }, "Transaction": { "Bills": [ { "AccountingField1": "MyInternalId", "AccountingField2": "MyInternalId", "AdditionalData": "AdditionalData", "attachments": [ { "fContent": "TXkgdGVzdCBmaWxlHJ==...", "filename": "my-doc.pdf", "ftype": "pdf", "furl": "https://mysite.com/my-doc.pdf" } ], "billId": 123, "comments": "Deposit for materials", "dueDate": "2025-07-01", "invoiceDate": "2025-07-01", "invoiceNumber": "INV-2345", "netAmount": "netAmount", "Terms": "NET30" } ], "CheckData": { "fContent": "TXkgdGVzdCBmaWxlHJ==...", "filename": "my-doc.pdf", "ftype": "pdf", "furl": "https://mysite.com/my-doc.pdf" }, "CheckNumber": "12345", "Comments": "Deposit for materials", "CreatedDate": "2022-07-01T15:00:01Z", "Events": [ { "EventData": { "key": "value" }, "EventTime": "2023-11-07T05:31:56Z", "TransEvent": "Approved" } ], "FeeAmount": 10.25, "Gateway": "TSYS", "IdOut": 236, "LastUpdated": "2022-07-01T15:00:01Z", "NetAmount": 100, "parentOrgName": "PropertyManager Pro", "PaymentData": { "AccountExp": "11/29", "AccountType": "visa", "AccountZip": "90210", "binData": { "binCardBrand": "Visa", "binCardCategory": "PLATINUM", "binCardIssuer": "Bank of Example", "binCardIssuerCountry": "United States", "binCardIssuerCountryCodeA2": "US", "binCardIssuerCountryNumber": 840, "binCardType": "Credit", "binMatchedLength": 6 }, "HolderName": "Chad Mercia", "Initiator": "payor", "MaskedAccount": "4XXXXXXXX1111", "orderDescription": "Depost for materials for 123 Walnut St", "paymentDetails": { "totalAmount": 100, "categories": [ { "amount": 1000, "label": "Deposit", "description": "Deposit for materials", "qty": 123 } ], "checkImage": { "key": "value" }, "checkNumber": "107", "currency": "USD", "serviceFee": 0, "splitFunding": [ { "accountId": "187-782", "amount": 456.23, "description": "Split for annual dues", "recipientEntryPoint": "41035afaa7" } ] }, "Sequence": "subsequent", "StoredId": "1ec55af9-7b5a-4ff0-81ed-c12d2f95e135-4440", "StoredMethodUsageType": "subscription" }, "PaymentGroup": "2345667-ddd-fff", "PaymentId": "2345667-ddd-fff", "PaymentMethod": "ach", "PaymentStatus": "Processed", "paypointDbaname": "Sunshine Gutters", "paypointLegalname": "Sunshine Services, LLC", "Source": "api", "Status": 1, "StatusText": "Captured", "TotalAmount": 110.25, "Vendor": { "additionalData": { "key1": { "key": "value" }, "key2": { "key": "value" }, "key3": { "key": "value" } }, "address1": "123 Ocean Drive", "address2": "Suite 400", "billingData": { "accountNumber": "1XXXXXX3123", "bankAccountFunction": 0, "bankAccountHolderName": "Gruzya Adventure Outfitters LLC", "bankAccountHolderType": "Business", "bankName": "Country Bank", "id": 123, "routingAccount": "123123123", "typeAccount": "Checking" }, "city": "Bristol", "contacts": [ { "contactEmail": "herman@hermanscoatings.com", "contactName": "Herman Martinez", "contactPhone": "3055550000", "contactTitle": "Owner" } ], "country": "US", "createdDate": "2022-07-01T15:00:01Z", "customerVendorAccount": "123-456", "ein": "123456789", "email": "example@example.com", "externalPaypointId": "Paypoint-100", "internalReferenceId": 123, "lastUpdated": "2022-07-01T15:00:01Z", "locationCode": "LOC123", "mcc": "7777", "name1": "Herman's Coatings", "name2": "Herman's Coating Supply Company, LLC", "parentOrgName": "PropertyManager Pro", "paymentMethod": { "method": "managed" }, "paypointDbaname": "Sunshine Gutters", "paypointEntryname": "d193cf9a46", "paypointLegalname": "Sunshine Services, LLC", "phone": "212-555-1234", "remitAddress1": "123 Walnut Street", "remitAddress2": "Suite 900", "remitCity": "Miami", "remitCountry": "US", "remitState": "FL", "remitZip": "31113", "state": "GA", "summary": { "inTransitBills": 123, "inTransitBillsAmount": 123, "overdueBills": 123, "overdueBillsAmount": 123, "paidBills": 123, "paidBillsAmount": 123, "pendingBills": 123, "pendingBillsAmount": 123, "totalBills": 123, "totalBillsAmount": 123 }, "vendorId": 1, "vendorNumber": "1234", "vendorStatus": 1, "zip": "31113" } }, "accountingField1": "MyInternalId", "accountingField2": "MyInternalId", "billDate": "2025-07-01", "billItems": [ { "itemCost": 5, "itemCommodityCode": "010", "itemDescription": "Deposit for materials.", "itemMode": 0, "itemProductCode": "M-DEPOSIT", "itemProductName": "Materials deposit", "itemQty": 1, "itemTaxAmount": 7, "itemTaxRate": 0.075, "itemTotalAmount": 123, "itemUnitOfMeasure": "SqFt" } ], "billNumber": "ABC-123", "comments": "Deposit for materials", "dueDate": "2025-07-01", "endDate": "2025-07-01", "frequency": "monthly", "mode": 0, "netAmount": "netAmount", "status": -99, "terms": "NET30", "vendor": { "AdditionalData": "AdditionalData", "address1": "123 Ocean Drive", "address2": "Suite 400", "billingData": { "accountNumber": "1XXXXXX3123", "bankAccountFunction": 0, "bankAccountHolderName": "Gruzya Adventure Outfitters LLC", "bankAccountHolderType": "Business", "bankName": "Country Bank", "id": 123, "routingAccount": "123123123", "typeAccount": "Checking" }, "city": "Miami", "contacts": [ { "contactEmail": "herman@hermanscoatings.com", "contactName": "Herman Martinez", "contactPhone": "3055550000", "contactTitle": "Owner" } ], "country": "US", "customerVendorAccount": "A-37622", "ein": "XXXX6789", "email": "contact@hermanscoatings.com", "internalReferenceId": 123, "locationCode": "MIA123", "mcc": "7777", "name1": "Herman's Coatings and Masonry", "paymentMethod": "vcard", "phone": "5555555555", "remitAddress1": "123 Walnut Street", "remitAddress2": "Suite 900", "remitCity": "Miami", "remitCountry": "US", "remitState": "FL", "remitZip": "31113", "state": "FL", "vendorId": 1, "vendorNumber": "1234", "vendorStatus": 1, "zip": "33139" } }, "responseText": "Success" } ``` **SDK Code** ```python Successful response example for GET bill by ID. import requests url = "https://api-sandbox.payabli.com/api/Bill/285" headers = {"requestToken": ""} response = requests.get(url, headers=headers) print(response.json()) ``` ```javascript Successful response example for GET bill by ID. const url = 'https://api-sandbox.payabli.com/api/Bill/285'; const options = {method: 'GET', headers: {requestToken: ''}}; try { const response = await fetch(url, options); const data = await response.json(); console.log(data); } catch (error) { console.error(error); } ``` ```go Successful response example for GET bill by ID. package main import ( "fmt" "net/http" "io" ) func main() { url := "https://api-sandbox.payabli.com/api/Bill/285" req, _ := http.NewRequest("GET", url, nil) req.Header.Add("requestToken", "") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := io.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) } ``` ```ruby Successful response example for GET bill by ID. require 'uri' require 'net/http' url = URI("https://api-sandbox.payabli.com/api/Bill/285") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true request = Net::HTTP::Get.new(url) request["requestToken"] = '' response = http.request(request) puts response.read_body ``` ```java Successful response example for GET bill by ID. import com.mashape.unirest.http.HttpResponse; import com.mashape.unirest.http.Unirest; HttpResponse response = Unirest.get("https://api-sandbox.payabli.com/api/Bill/285") .header("requestToken", "") .asString(); ``` ```php Successful response example for GET bill by ID. request('GET', 'https://api-sandbox.payabli.com/api/Bill/285', [ 'headers' => [ 'requestToken' => '', ], ]); echo $response->getBody(); ``` ```csharp Successful response example for GET bill by ID. using RestSharp; var client = new RestClient("https://api-sandbox.payabli.com/api/Bill/285"); var request = new RestRequest(Method.GET); request.AddHeader("requestToken", ""); IRestResponse response = client.Execute(request); ``` ```swift Successful response example for GET bill by ID. import Foundation let headers = ["requestToken": ""] let request = NSMutableURLRequest(url: NSURL(string: "https://api-sandbox.payabli.com/api/Bill/285")! as URL, cachePolicy: .useProtocolCachePolicy, timeoutInterval: 10.0) request.httpMethod = "GET" request.allHTTPHeaderFields = headers let session = URLSession.shared let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in if (error != nil) { print(error as Any) } else { let httpResponse = response as? HTTPURLResponse print(httpResponse) } }) dataTask.resume() ``` > If you're a software company, you're a payments company™