Skip to main content

Invoice

Script: View Invoice QBO PDF (FmId)


Description

Refresh the PDF from QBO and display it in a new Window

FileMaker Script Folder Path

/Application Modules/LedgerLink/LedgerLink API/Public/Invoice/View Invoice QBO PDF (FmId)

Parameters

TypeNameDescriptionOptionalDefault
stringfmIdthe FileMaker Record Id

Success Return

[
{
"type": "object",
"name": "error",
"description": "",
"optional": false,
"default": ""
},
{
"type": "number",
"name": "error.errorCode",
"description": "will be 0",
"optional": false,
"default": ""
}
]

Error Return

[
{
"type": "object",
"name": "error",
"description": "",
"optional": false,
"default": ""
},
{
"type": "number",
"name": "error.errorCode",
"description": "some non-zero number",
"optional": false,
"default": ""
}
]
Meta Data
  • Modification Count: 22
  • TimeStamp: 2020-05-25 23:36:58

Description

gets a sharable link to pay the QBO Invoice Online. This is the same link that qbo sends with its emails./rNote: the link doesn't work in Sandbox accounts

FileMaker Script Folder Path

/Application Modules/LedgerLink/LedgerLink API/Public/Invoice/Get InvoiceLink ( FmId )

Parameters

TypeNameDescriptionOptionalDefault
stringfmIdthe FileMaker Record Id

Success Return

[
{
"type": "object",
"name": "result",
"description": "",
"optional": false,
"default": ""
},
{
"type": "string",
"name": "result.link",
"description": "",
"optional": false,
"default": ""
}
]

Error Return

[
{
"type": "object",
"name": "error",
"description": "",
"optional": false,
"default": ""
},
{
"type": "number",
"name": "error.errorCode",
"description": "some non-zero number",
"optional": false,
"default": ""
}
]
Meta Data
  • Modification Count: 27
  • TimeStamp: 2020-05-25 23:36:58

Script: Get PDF Invoice (FmId)


Description

gets the invoice as PDF

FileMaker Script Folder Path

/Application Modules/LedgerLink/LedgerLink API/Public/Invoice/Get PDF Invoice (FmId)

Parameters

TypeNameDescriptionOptionalDefault
stringfmIdthe FileMaker Record Id

Success Return

[
{
"type": "object",
"name": "response",
"description": "",
"optional": false,
"default": ""
},
{
"type": "number",
"name": "response.errorCode",
"description": "= 0",
"optional": false,
"default": ""
},
{
"type": "...",
"name": "",
"description": "",
"optional": false,
"default": ""
}
]

Error Return

[
{
"type": "object",
"name": "error",
"description": "",
"optional": false,
"default": ""
},
{
"type": "number",
"name": "error.errorCode",
"description": "<> 0",
"optional": false,
"default": ""
}
]
Meta Data
  • Modification Count: 15
  • TimeStamp: 2020-05-25 23:36:58

Script: Refresh PDF Invoice (FmId)


Description

Refresh the QBO Invoice PDF from QBO and store it in the FileMaker Invoice Record

FileMaker Script Folder Path

/Application Modules/LedgerLink/LedgerLink API/Public/Invoice/Refresh PDF Invoice (FmId)

Parameters

TypeNameDescriptionOptionalDefault
stringfmIdthe FileMaker Record Id

Success Return

[
{
"type": "object",
"name": "response",
"description": "",
"optional": false,
"default": ""
},
{
"type": "number",
"name": "response.errorCode",
"description": "= 0",
"optional": false,
"default": ""
},
{
"type": "...",
"name": "",
"description": "",
"optional": false,
"default": ""
}
]

Error Return

[
{
"type": "object",
"name": "error",
"description": "",
"optional": false,
"default": ""
},
{
"type": "number",
"name": "error.errorCode",
"description": "<> 0",
"optional": false,
"default": ""
}
]
Meta Data
  • Modification Count: 24
  • TimeStamp: 2020-06-05 14:05:48

Script: Delete Invoice ( FmId )


Description

Deletes an Invoice

FileMaker Script Folder Path

/Application Modules/LedgerLink/LedgerLink API/Public/Invoice/Delete Invoice ( FmId )

Parameters

TypeNameDescriptionOptionalDefault
stringfmId

Success Return

[
{
"type": "object",
"name": "error",
"description": "",
"optional": false,
"default": ""
},
{
"type": "number",
"name": "error.errorCode",
"description": "= 0",
"optional": false,
"default": ""
}
]

Error Return

[
{
"type": "object",
"name": "error",
"description": "",
"optional": false,
"default": ""
},
{
"type": "number",
"name": "error.errorCode",
"description": "<> 0",
"optional": false,
"default": ""
}
]
Meta Data
  • Modification Count: 72
  • TimeStamp: 2021-06-16 09:11:58

Script: Refresh Invoice From QBO ( FmId )


Description

Pull data from QBO back to FileMaker for this invoice

FileMaker Script Folder Path

/Application Modules/LedgerLink/LedgerLink API/Public/Invoice/Refresh Invoice From QBO ( FmId )

Parameters

TypeNameDescriptionOptionalDefault
stringFmIdthe primary Id of the Invoice to Get From QBO

Success Return

none given

Error Return

none given

Meta Data
  • Modification Count: 20
  • TimeStamp: 2020-05-25 23:36:57

Script: Send Email Invoice Through QBO( FmId )


Description

Send the invoice through QBO. This is equivalent to send through the QBO Send interface.

FileMaker Script Folder Path

/Application Modules/LedgerLink/LedgerLink API/Public/Invoice/Send Email Invoice Through QBO( FmId )

Parameters

TypeNameDescriptionOptionalDefault
stringfmId

Success Return

[
{
"type": "object",
"name": "error",
"description": "",
"optional": false,
"default": ""
},
{
"type": "number",
"name": "error.errorCode",
"description": "= 0",
"optional": false,
"default": ""
}
]

Error Return

[
{
"type": "object",
"name": "error",
"description": "",
"optional": false,
"default": ""
},
{
"type": "number",
"name": "error.errorCode",
"description": "<> 0",
"optional": false,
"default": ""
}
]
Meta Data
  • Modification Count: 81
  • TimeStamp: 2020-05-25 23:36:58

Script: Send Invoice to QBO ( FmId )


Description

Sends a FileMaker invoice directly to QBO outside a full sync. First it checks to see if Items and Customers have been sent, and sends them if required. You'll want to use this script when you want to send just one invoice.

FileMaker Script Folder Path

/Application Modules/LedgerLink/LedgerLink API/Public/Invoice/Send Invoice to QBO ( FmId )

Parameters

TypeNameDescriptionOptionalDefault
stringfmIdthe FileMaker Primary Record Id

Success Return

[
{
"type": "object",
"name": "error",
"description": "",
"optional": false,
"default": ""
},
{
"type": "number",
"name": "error.errorCode",
"description": "= 0",
"optional": false,
"default": ""
}
]

Error Return

[
{
"type": "object",
"name": "error",
"description": "",
"optional": false,
"default": ""
},
{
"type": "number",
"name": "error.errorCode",
"description": "<> 0",
"optional": false,
"default": ""
}
]
Meta Data
  • Modification Count: 78
  • TimeStamp: 2021-07-26 07:09:52

Script: Send Invoice Email With PDF (FmId)


Description

Emails the QBO Invoice PDF from QBO as an attachment with a payment link/rUses Email Method specified in Settings

FileMaker Script Folder Path

/Application Modules/LedgerLink/LedgerLink API/Public/Invoice/Send Invoice Email With PDF (FmId)

Parameters

TypeNameDescriptionOptionalDefault
stringfmIdthe FileMaker Record Id of the Invoice

Success Return

[
{
"type": "object",
"name": "response",
"description": "",
"optional": false,
"default": ""
},
{
"type": "number",
"name": "response.errorCode",
"description": "= 0",
"optional": false,
"default": ""
},
{
"type": "...",
"name": "",
"description": "",
"optional": false,
"default": ""
}
]

Error Return

[
{
"type": "object",
"name": "error",
"description": "",
"optional": false,
"default": ""
},
{
"type": "number",
"name": "error.errorCode",
"description": "<> 0",
"optional": false,
"default": ""
}
]
Meta Data
  • Modification Count: 137
  • TimeStamp: 2020-05-26 19:34:28