API reference
On this page
181 endpoints. Base URL: https://api.billos.co.il/v1.
Businesses
One business per end user. Every other path is nested under its id.
/accountant/desk/businesses/{bid}POSTA link that brings a client to BillOS/accountant/invite-linkGETWho a client link comes from/accountant/invite-link/previewGETThe accountant's desk/accountant/deskGETList your businesses/businessesPOSTCreate a business/businessesGETRead a business/businesses/{bid}PATCHUpdate a business/businesses/{bid}POSTDeactivate a business/businesses/{bid}/deactivatePOSTReactivate a business/businesses/{bid}/reactivateGETWho has access to a business/businesses/{bid}/accessPOSTShare a business with a person/businesses/{bid}/accessGETThe periodic report to the accountant/businesses/{bid}/accountant-reportPUTSet the periodic report/businesses/{bid}/accountant-reportDELETEStop the periodic report/businesses/{bid}/accountant-reportPOSTSend the report now/businesses/{bid}/accountant-report/sendGETReports sent by email on a schedule/businesses/{bid}/report-schedulesPUTSchedule a report/businesses/{bid}/report-schedules/{report}DELETEStop a scheduled report/businesses/{bid}/report-schedules/{report}POSTSend a scheduled report now/businesses/{bid}/report-schedules/{report}/sendDELETERemove a person's access/businesses/{bid}/access/{id}GETList branding themes/businesses/{bid}/branding-themesPOSTCreate a branding theme/businesses/{bid}/branding-themesGETRead a branding theme/businesses/{bid}/branding-themes/{tid}PATCHUpdate or archive a branding theme/businesses/{bid}/branding-themes/{tid}GETList certificates and licences/businesses/{bid}/business-documentsPOSTUpload a certificate or licence/businesses/{bid}/business-documentsGETRead a certificate or licence/businesses/{bid}/business-documents/{id}PATCHUpdate a certificate or licence/businesses/{bid}/business-documents/{id}DELETEDelete a certificate or licence/businesses/{bid}/business-documents/{id}POSTRead the file again/businesses/{bid}/business-documents/{id}/rereadGETDownload the file/businesses/{bid}/business-documents/{id}/fileGETRead the document series/businesses/{bid}/numberingPOSTSet where a series starts/businesses/{bid}/numberingGETList your API keys/keysPATCHPin a key to your servers/keys/{id}GETYour API usage/usageGETYour recent requests/requestsGETOne request by its id/requests/{requestId}GETYour errors, grouped by reason/errorsGETYour traffic as a series/trafficParties
Saved customers. Optional: a document may carry an inline party instead.
/businesses/{bid}/partiesPOSTCreate a party/businesses/{bid}/partiesPATCHUpdate a party/businesses/{bid}/parties/{id}DELETEDelete a party/businesses/{bid}/parties/{id}POSTRecord digital-document consent/businesses/{bid}/parties/{id}/consentGETThe account a party's cheques are drawn on/businesses/{bid}/parties/{id}/cheque-accountGETList a party's contacts/businesses/{bid}/parties/{id}/contactsPOSTAdd a contact to a party/businesses/{bid}/parties/{id}/contactsPATCHUpdate a contact/businesses/{bid}/parties/{id}/contacts/{cid}DELETEDelete a contact/businesses/{bid}/parties/{id}/contacts/{cid}POSTFind a party or create it/businesses/{bid}/parties/find-or-createDocuments
The tax documents themselves: draft, issue, correct, print.
/businesses/{bid}/fx-rateGETList documents/businesses/{bid}/documentsPOSTCreate a draft/businesses/{bid}/documentsGETRead a document/businesses/{bid}/documents/{id}PATCHUpdate a draft/businesses/{bid}/documents/{id}DELETEDelete a draft/businesses/{bid}/documents/{id}POSTIssue a document/businesses/{bid}/documents/{id}/issuePOSTCheck a draft without issuing it/businesses/{bid}/documents/{id}/validatePOSTVoid a proforma or a goods document/businesses/{bid}/documents/{id}/voidPOSTCorrect with a credit note, in full or in part/businesses/{bid}/documents/{id}/credit-notePOSTMatch an issued receipt to an invoice/businesses/{bid}/documents/{id}/settlementsDELETEUndo a later allocation/businesses/{bid}/documents/{id}/settlements/{sid}GETOpen items (חובות פתוחים)/businesses/{bid}/receivablesPOSTPreview a draft as PDF/businesses/{bid}/documents/{id}/previewPOSTDownload the PDF, or print on a receipt printer/businesses/{bid}/documents/{id}/printsGETList recurring plans/businesses/{bid}/recurringPOSTCreate a recurring document plan/businesses/{bid}/recurringGETRead a recurring plan/businesses/{bid}/recurring/{id}PATCHUpdate a recurring plan/businesses/{bid}/recurring/{id}DELETEDelete a recurring plan/businesses/{bid}/recurring/{id}POSTRun a plan now/businesses/{bid}/recurring/{id}/runGETList the archive/businesses/{bid}/legacy-documentsPOSTImport a document from your previous software/businesses/{bid}/legacy-documentsGETRead one archived document/businesses/{bid}/legacy-documents/{id}POSTRecord a payment of an imported debt/businesses/{bid}/legacy-documents/{id}/settlePOSTClose an imported debt by hand/businesses/{bid}/legacy-documents/{id}/closePOSTReopen a debt closed by hand/businesses/{bid}/legacy-documents/{id}/reopenGETDownload the original file/businesses/{bid}/legacy-documents/{id}/filePUTAttach the original file/businesses/{bid}/legacy-documents/{id}/filePOSTGet the public link/businesses/{bid}/documents/{id}/sharePOSTEmail the document link/businesses/{bid}/documents/{id}/emailQuotes
הצעת מחיר: the offer before the sale. Not a tax document: no statutory number, freely editable, in no export. It carries its own customer-facing page where the offer is accepted, and becomes a draft document when it is.
/businesses/{bid}/quotesPOSTCreate a quote/businesses/{bid}/quotesGETRead a quote/businesses/{bid}/quotes/{id}PATCHUpdate a quote/businesses/{bid}/quotes/{id}DELETEDelete a quote/businesses/{bid}/quotes/{id}POSTSend a quote/businesses/{bid}/quotes/{id}/sendPOSTPreview a quote as PDF/businesses/{bid}/quotes/{id}/previewGETPreview the customer's page/businesses/{bid}/quotes/{id}/pagePOSTRecord the customer's answer/businesses/{bid}/quotes/{id}/answerPOSTWithdraw a quote/businesses/{bid}/quotes/{id}/cancelPOSTReopen a quote/businesses/{bid}/quotes/{id}/reopenPOSTOpen a document from a quote/businesses/{bid}/quotes/{id}/convertPOSTEmail a quote/businesses/{bid}/quotes/{id}/emailPayments
Clearing: the business takes card payments on its own terminal. A payment link pays an invoice or stands alone, and once paid it issues its own receipt and closes what it paid. The money goes from the card company to the business, never through BillOS.
/businesses/{bid}/payment-terminalPOSTOpen a card terminal/businesses/{bid}/payment-terminalPATCHTerminal settings/businesses/{bid}/payment-terminalPOSTPay the terminal's setup fee/businesses/{bid}/payment-terminal/setupPOSTThe forms were sent/businesses/{bid}/payment-terminal/forms-donePOSTConnect a terminal the business already has/businesses/{bid}/payment-terminal/connectPOSTMove a sandbox terminal to a stage/businesses/{bid}/payment-terminal/simulateGETList payment links/businesses/{bid}/payment-requestsPOSTCreate a payment link/businesses/{bid}/payment-requestsGETRead a payment link/businesses/{bid}/payment-requests/{id}POSTCancel a payment link/businesses/{bid}/payment-requests/{id}/cancelPOSTConfirm an unverified payment/businesses/{bid}/payment-requests/{id}/confirmPOSTRefund a paid payment link/businesses/{bid}/payment-requests/{id}/refundGETList standing orders/businesses/{bid}/standing-ordersPOSTOpen a standing order on a card/businesses/{bid}/standing-ordersGETRead a standing order/businesses/{bid}/standing-orders/{id}GETThe charges of a standing order/businesses/{bid}/standing-orders/{id}/chargesPOSTPause a standing order/businesses/{bid}/standing-orders/{id}/pausePOSTResume a standing order/businesses/{bid}/standing-orders/{id}/resumePOSTCancel a standing order/businesses/{bid}/standing-orders/{id}/cancelPOSTEmail a payment link/businesses/{bid}/payment-requests/{id}/emailPOSTA payment link for an invoice/businesses/{bid}/documents/{id}/payment-requestCalendar
Appointments, the service catalog that prices them, and the road from a visit to the draft document that bills it. Off until the business owner turns it on.
/businesses/{bid}/quotes/{id}/appointmentGETRead the calendar settings/businesses/{bid}/calendarPUTTurn the calendar on or off and save its settings/businesses/{bid}/calendarGETList the service catalog/businesses/{bid}/servicesPOSTAdd a service/businesses/{bid}/servicesPATCHEdit or hide a service/businesses/{bid}/services/{id}GETList appointments in a window/businesses/{bid}/appointmentsPOSTBook an appointment/businesses/{bid}/appointmentsGETRead an appointment/businesses/{bid}/appointments/{id}PATCHMove or edit an appointment/businesses/{bid}/appointments/{id}DELETEDelete an appointment/businesses/{bid}/appointments/{id}POSTMark it done/businesses/{bid}/appointments/{id}/donePOSTCancel it/businesses/{bid}/appointments/{id}/cancelPOSTMark that the customer did not come/businesses/{bid}/appointments/{id}/no-showPOSTPut it back on the calendar/businesses/{bid}/appointments/{id}/reopenPOSTOpen the draft document that bills it/businesses/{bid}/appointments/{id}/documentPOSTNo document needed/businesses/{bid}/appointments/{id}/skip-billingDELETEUndo "no document needed"/businesses/{bid}/appointments/{id}/skip-billingPOSTA link that adds the appointment to the customer's calendar/businesses/{bid}/appointments/{id}/inviteExpenses
The purchase side of the ledger, including receipt OCR.
/businesses/{bid}/expensesPOSTCreate an expense/businesses/{bid}/expensesPOSTCreate and record in one call/businesses/{bid}/expenses/recordGETRead an expense/businesses/{bid}/expenses/{id}PATCHUpdate a draft expense/businesses/{bid}/expenses/{id}DELETEDiscard a draft/businesses/{bid}/expenses/{id}POSTRecord an expense/businesses/{bid}/expenses/{id}/recordPUTMark an expense paid or waiting/businesses/{bid}/expenses/{id}/paymentDELETEClear an expense's payment mark/businesses/{bid}/expenses/{id}/paymentPOSTCorrect with a storno/businesses/{bid}/expenses/{id}/correctionPOSTOpen a draft from a receipt photo/businesses/{bid}/expenses/ocrExports & Reports
מבנה אחיד, continuity, management reports, backups, file downloads.
/businesses/{bid}/exports/openfrmtPOSTGenerate the detailed VAT return (PCN874)/businesses/{bid}/exports/pcn874GETEvery document of a period as one zip/businesses/{bid}/exports/documentsPOSTGenerate the MOVEIN file for Hashavshevet (חשבשבת)/businesses/{bid}/exports/moveinGETWhat the MOVEIN file would carry/businesses/{bid}/exports/movein/previewGETThe MOVEIN settings/businesses/{bid}/exports/movein/settingsPUTSave the MOVEIN settings/businesses/{bid}/exports/movein/settingsGETThe customers and suppliers of a period, with their card numbers/businesses/{bid}/exports/movein/partiesGETThe VAT return figures for a period/businesses/{bid}/reports/vatGETThe expected income-tax advance (מקדמות צפויות) for a period/businesses/{bid}/reports/advancesGETNumbering-continuity report/businesses/{bid}/reports/continuityGETThe documents list as CSV/businesses/{bid}/reports/documentsGETManagement report/businesses/{bid}/reports/{kind}POSTInitiated backup/businesses/{bid}/backupPOSTBatched receipt thumbnails/businesses/{bid}/files/thumbsGETDownload a file/businesses/{bid}/files/{id}Webhooks
Events pushed to your URL: the trigger side of Make/Zapier-style automations. Signed, retried with backoff, testable.
/webhooksPOSTCreate a webhook endpoint/webhooksPATCHUpdate a webhook endpoint/webhooks/{id}DELETEDelete a webhook endpoint/webhooks/{id}GETList recent deliveries/webhooks/{id}/deliveriesPOSTSend a delivery again/webhooks/{id}/deliveries/{did}/redeliverPOSTReplay a time range/webhooks/{id}/replayGETThe event log/eventsGETRead one event and its deliveries/events/{id}POSTSend a test event now/webhooks/{id}/testTax Authority
חשבוניות ישראל: connecting a business to רשות המסים so its documents get a מספר הקצאה. The owner consents on the authority's own page; BillOS holds the authorization and you see its status.
/businesses/{bid}/itaDELETERemove the connection/businesses/{bid}/itaPOSTStart a consent/businesses/{bid}/ita/connectPOSTMove a sandbox connection in time/businesses/{bid}/ita/simulateSandbox
Fixtures for a test key: something to look at before you have written a line.