Skip to content

Latest commit

 

History

History
85 lines (48 loc) · 2.21 KB

InvoicesApi.md

File metadata and controls

85 lines (48 loc) · 2.21 KB

\InvoicesApi

All URIs are relative to https://api.domeneshop.no/v0

Method HTTP request Description
FindInvoiceByNumber Get /invoices/{invoiceId} Find invoice by invoice number
GetInvoices Get /invoices List invoices

FindInvoiceByNumber

Invoice FindInvoiceByNumber(ctx, invoiceId)

Find invoice by invoice number

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
invoiceId int32 An invoice number

Return type

Invoice

Authorization

basicAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetInvoices

[]Invoice GetInvoices(ctx, optional)

List invoices

List invoices for your account. Only invoices from the past 3 years are returned.

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
optional *GetInvoicesOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a GetInvoicesOpts struct

Name Type Description Notes
status optional.Interface of Status Only return invoices with this status

Return type

[]Invoice

Authorization

basicAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]