Sha256: 75f4874149e6d750b76d611724cc757d0733e54e6913e1a39866f5210dbd58eb

Contents?: true

Size: 1.61 KB

Versions: 9

Compression:

Stored size: 1.61 KB

Contents

# Invoice

## Example Invoice Object

```
{
  "amount": "",
  "balance": "",
  "created_at": "2000-01-01 01:00:00 UTC",
  "currency": "USD",
  "download_uri": "https://url...",
  "id": 1,
  "invoice_line_items": [

  ],
  "method": "paypal",
  "payment_line_items": [

  ],
  "payment_reversed_at": "2000-01-01 01:00:00 UTC",
  "payment_type": "",
  "site_name": "My Site",
  "type": "invoice",
  "updated_at": "2000-01-01 01:00:00 UTC"
}
```

* `amount` (float): Line item amount
* `balance` (float): Line item balance
* `created_at` (date-time): Line item created at
* `currency` (string): Line item currency
* `download_uri` (string): Line item download uri
* `id` (int64): Line item Id
* `invoice_line_items` (array): Associated invoice line items
* `method` (string): Line item payment method
* `payment_line_items` (array): Associated payment line items
* `payment_reversed_at` (date-time): Date/time payment was reversed if applicable
* `payment_type` (string): Type of payment if applicable
* `site_name` (string): Site name this line item is for
* `type` (string): Type of line item, either payment or invoice
* `updated_at` (date-time): Line item updated at


---

## List Invoices

```
Files::Invoice.list(
  page: 1, 
  per_page: 1
)
```

### Parameters

* `page` (int64): Current page number.
* `per_page` (int64): Number of records to show per page.  (Max: 10,000, 1,000 or less is recommended).
* `action` (string): Deprecated: If set to `count` returns a count of matching records rather than the records themselves.


---

## Show Invoice

```
Files::Invoice.find(id)
```

### Parameters

* `id` (int64): Required - Invoice ID.

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
files.com-1.0.15 docs/invoice.md
files.com-1.0.14 docs/invoice.md
files.com-1.0.13 docs/invoice.md
files.com-1.0.12 docs/invoice.md
files.com-1.0.11 docs/invoice.md
files.com-1.0.10 docs/invoice.md
files.com-1.0.9 docs/invoice.md
files.com-1.0.8 docs/invoice.md
files.com-1.0.7 docs/invoice.md