Documentation Index
Fetch the complete documentation index at: https://docs.getbeed.com/llms.txt
Use this file to discover all available pages before exploring further.
Base URL
The base URL for all API requests is:https://services.getbeed.com/api
Endpoints
POST /external/extraction/new
Headers
x-api-key(required): API Key (structure:<key>:<secret>)
Parameters
type(required): Type of document (INVOICE,RECEIPT)
Form data
file(required): Binary file (image/pdf)
Example
Request
Success response
Response fields
Receipt
merchant_name: Name of the merchantmerchant_address: Address of the merchanttransaction_date: Date of the transactiontransaction_time: Time of the transactionsub_total: Subtotal of the transactiontotal: Total amount of the transactionline_items: List of items in the transactiontotal_price: Total price of the itemdescription: Description of the itemquantity: Quantity of the itemprice: Price of the itemproduct_code: Product code of the itemquantity_unit: Quantity unit of the item
Invoice
billing_address: Address of the billingbilling_address_recipient: Recipient of the billing addresscustomer_name: Name of the customerinvoice_date: Date of the invoiceinvoice_id: ID of the invoiceinvoice_total: Total amount of the invoicepayment_term: Payment term of the invoicevendor_address: Address of the vendorvendor_address_recipient: Recipient of the vendor addressvendor_name: Name of the vendordue_date: Due date of the invoicesub_total: Subtotal of the invoiceprevious_unpaid_balance: Previous unpaid balancetotal_tax: Total tax of the invoiceamount_due: Amount due of the invoicepo_number: PO number of the invoiceline_items: List of items in the invoiceamount: Amount of the itemdate: Date of the itemdescription: Description of the itemquantity: Quantity of the itemproduct_code: Product code of the itemtax: Tax of the itemtax_rate: Tax rate of the itemunit: Unit of the itemunit_price: Unit price of the item
Errors
This API uses the following error codes:400 Bad Request: The request was malformed or missing required parameters.401 Unauthorized: The API key provided was invalid or missing.404 Not Found: The requested resource was not found.500 Internal Server Error: An unexpected error occurred on the server.