Tài liệu tham khảo API

agency-invoicing

Có 32 điểm cuối trong khu vực này. Mỗi điểm cuối có một trang riêng với các tham số, phản hồi và yêu cầu mà quý vị có thể thực hiện.

Tất cả tài liệu dành cho nhà phát triển →

Phương thứcĐường dẫnChức năngQuyền
GET/v1/agency-invoicing/blocksSaved reusable text — footers, notes and payment terms.agency.invoicing.view
POST/v1/agency-invoicing/blocksSave a reusable text block.agency.invoicing.manage
DELETE/v1/agency-invoicing/blocks/{blockId}Delete a saved text block.agency.invoicing.manage
PATCH/v1/agency-invoicing/blocks/{blockId}Change a saved text block.agency.invoicing.manage
GET/v1/agency-invoicing/clientsThe clients you invoice.agency.invoicing.view
POST/v1/agency-invoicing/clientsSave a client.agency.invoicing.manage
DELETE/v1/agency-invoicing/clients/{clientId}Archive a client.agency.invoicing.manage
GET/v1/agency-invoicing/clients/{clientId}One client, with their whole invoice history.agency.invoicing.view
PATCH/v1/agency-invoicing/clients/{clientId}Change a client's details.agency.invoicing.manage
GET/v1/agency-invoicing/gatewayCan you collect online, and through which of your own accounts?agency.invoicing.view
GET/v1/agency-invoicing/invoicesYour invoices.agency.invoicing.view
POST/v1/agency-invoicing/invoicesStart a draft invoice.agency.invoicing.manage
DELETE/v1/agency-invoicing/invoices/{invoiceId}Delete a draft.agency.invoicing.manage
GET/v1/agency-invoicing/invoices/{invoiceId}One invoice, with its lines, payments and payment link.agency.invoicing.view
PATCH/v1/agency-invoicing/invoices/{invoiceId}Edit a draft invoice.agency.invoicing.manage
POST/v1/agency-invoicing/invoices/{invoiceId}/issueGive the invoice its number and freeze it.agency.invoicing.manage
POST/v1/agency-invoicing/invoices/{invoiceId}/paymentsRecord money received — mark it paid or part-paid.agency.invoicing.manage
GET/v1/agency-invoicing/invoices/{invoiceId}/pdfA short-lived download URL for the invoice PDF.agency.invoicing.view
POST/v1/agency-invoicing/invoices/{invoiceId}/sendEmail the invoice to your client, with the PDF attached.agency.invoicing.manage
POST/v1/agency-invoicing/invoices/{invoiceId}/voidVoid an invoice.agency.invoicing.manage
DELETE/v1/agency-invoicing/logoTake the logo off future invoices.agency.invoicing.manage
POST/v1/agency-invoicing/logoUpload the logo your invoices carry.agency.invoicing.manage
GET/v1/agency-invoicing/portal-labelsThe payment pages' labels in one language, with no invoice. Unauthenticated.Không có khóa API
GET/v1/agency-invoicing/portal/{token}The invoice, for the person paying it. Unauthenticated.Không có khóa API
POST/v1/agency-invoicing/portal/{token}/checkoutStart a payment on the AGENCY's own gateway. Unauthenticated.Không có khóa API
POST/v1/agency-invoicing/previewTotal a set of lines without saving anything.agency.invoicing.view
GET/v1/agency-invoicing/profileYour agency's invoicing identity — what an invoice says it is FROM.agency.invoicing.view
PATCH/v1/agency-invoicing/profileChange your invoicing identity or defaults.agency.invoicing.manage
GET/v1/agency-invoicing/tax-ratesThe tax rates you charge — VAT, GST, a sales tax, or zero-rated.agency.invoicing.view
POST/v1/agency-invoicing/tax-ratesAdd a tax rate.agency.invoicing.manage
DELETE/v1/agency-invoicing/tax-rates/{rateId}Archive a tax rate.agency.invoicing.manage
PATCH/v1/agency-invoicing/tax-rates/{rateId}Change a tax rate.agency.invoicing.manage